summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2020-03-23 17:00:51 +0000
committerPavel Grafov <pgrafov@google.com>2020-03-24 12:28:07 +0000
commit97bb33b93c6fe7eda2029be0496f451b40f2adc0 (patch)
tree5528838a911dddea7b8b67376544428663cf00cb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5562d464c6cab06544294bbc823df89d30579bbf (diff)
Suspend newly installed apps when personal apps are suspended
Also make use of PackageManager.getUnsuspendablePackages() which already takes care of launcher and dialer packages and some other critical apps, like package verifier, package [un-]installer, etc. For newly installed packages it PackageManager.getUnsuspendableApps() seems to be sufficient since that app won't be critical for the functioning of the device. Test: Test: atest OrgOwnedProfileOwnerTest#testPersonalAppsSuspensionInstalledApp Bug: 149394138 Change-Id: Ic3196dbfdd5c506e708563d305a42494391dc878
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions