summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBookatz <bookatz@google.com>2019-11-25 15:31:39 -0800
committerBookatz <bookatz@google.com>2019-11-25 15:59:57 -0800
commit0274a6ed570a089739858977e5930f16e1dc0e76 (patch)
treee055aa91c4a03d203a86cff813cdcc177ece1d3b /tools/aapt2/java/JavaClassGenerator.cpp
parentfe407f7afdfa62bce57ba20d0d35257bd436a7a6 (diff)
Allow UserSystemPackageInstaller to ignore OTAs
This cl provides a temporary workaround for a bug. During OTAs, the UserSystemPackageInstaller goes through all the system packages and installs them on a user if the package is whitelisted (or if the feature is no longer being enforced). This ensures that if a package becomes whitelisted during an OTA, it will be installed on the user, even if that package had not been whitelisted at the time the user was created. This is currently causing ManagedProvisioning to accidently allow non-required system packages to be installed during OTAs. We therefore add a mode to this feature to allow ignoring OTAs, thereby temporarily avoiding this bug. Bug: 143200798 (temporary workaround) Test: atest UserSystemPackageInstallerTest Change-Id: I0a8a44f89c13f5772df57a6cfeea6f484d53d9ae
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions