commit | 1acf5d2fe79041f869a2fef5710b3becc3942c57 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Mon Sep 07 16:22:37 2020 +0800 |
committer | JW Wang <wangchun@google.com> | Wed Sep 09 16:25:29 2020 +0800 |
tree | 0d62ec6b8339bf85e43b26ddec0bd8ddd9fe3f7b | |
parent | 74cf2df4638836c6ce24db6dc9fbee2e0ea8f165 [diff] |
Add PackageInstallerSession#getChildSessions (1/n) Use this method to retrieve child sessions without an additional call to mStagedSessions.get(id). Note now getChildSessions[Locked] returns an empty list for a single-session. The caller should check isMultiPackage() before dealing with child sessions. Bug: 167946370 Test: atest StagedInstallTest StagedInstallInternalTest Change-Id: I186a5f16fd4107994f6426ebca9b16186f7b2cb8