diff options
author | Andrei Stingaceanu <stg@google.com> | 2015-11-26 15:26:28 +0000 |
---|---|---|
committer | Andrei Stingaceanu <stg@google.com> | 2015-12-16 18:14:14 +0000 |
commit | 1e2839188fb49575b86646d3aadb355c81ef9cc5 (patch) | |
tree | 7d891672e43cb5162b7e7c99a3a68e91f8431227 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 53129f1c21fc1e404f8e1d5772954710e6442dd8 (diff) |
Wire call to suspend a package
Adds APIs in DevicePolicyManager and PackageManager for allowing
a device admin to suspend a package. PackageManagerService sets
or unsets a new PackageUserState 'suspended' setting. Terminal
command to suspend/unsuspend has been added via
PackageManagerShellCommand (as root).
Next steps:
* use the new 'suspended' setting for denying access to start app
(probably in ActivityStackSupervisor)
* broadcast a PACKAGE_(UN)SUSPENDED intent for launchers to pick up
* remove app from recents (go further and kill it if it is running)
* erase existing notifications for this app
Bug: 22776576
Change-Id: I718b3498f6a53cc0c6fdfb6d15031e53ddca4353
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions