diff options
author | Suprabh Shukla <suprabh@google.com> | 2018-04-10 15:04:51 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2018-04-10 17:34:12 -0700 |
commit | 96212bca06842f223a0e9e377e2c00a2008c96a2 (patch) | |
tree | b97f1ad3d63d6a863eb02b6c25de1c68ae2d17e2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 65317bac02e993d1313a1958a8497ff5f2a2ecd5 (diff) |
Review of suspend/unsuspend APIs
Clarified the package extras bundle returned from
getSuspendedPackageAppExtras.
Moved the bundle arg to the last in LauncherApps.onPackagesSuspended and
clarified the contents of the Bundle.
isPackageSuspended(String) now throws a NameNotFoundException if the
package is not found.
Also, removed a permission check from isPackageSuspendedForUser.
Test: builds, boots, existing tests:
atest com.android.server.pm.SuspendPackagesTest
Bug: 77518983, 77517955, 77507744, 77801528
Change-Id: I06b5f69f8f8a079c206863cb6122e90be58366cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions