diff options
author | Suprabh Shukla <suprabh@google.com> | 2018-03-26 22:35:13 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2018-03-30 21:21:41 +0000 |
commit | 19b41f34a5cb29c621848e352220017b46cf66f1 (patch) | |
tree | 85456a110ea72a500138bd44fb793970508d02a7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4acd39d3dbc6f1e18bfcd0f6e979cbc835fa4113 (diff) |
Adding LauncherApps apis for suspended packages
The suspending app can provide a Bundle of information to be used by the
launcher for handling suspended packages. Added APIs:
- getSuspendedPackageLauncherExtras(String, UserHandle): To retrieve
the launcher extras for the given package and user.
- Callback#onPackagesSuspended(String[], UserHandle, Bundle): A
callback that will be invoked with the package names and the launcher
extras whenever sent packages are suspended.
Test: atest com.android.server.pm.SuspendPackagesTest
Bug: 76119578
Change-Id: I505d134809639a57c3314f994af34d576d905e74
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions