summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-04-27 09:33:40 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2015-04-27 17:49:35 +0000
commit8de348095f0967ffaa09d2448dc1ccff72a4e284 (patch)
treee139bcbfd7e2db5436059a3dcd508dd4155f4a32 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6ab47fc111a8c5eb814b9bbea7ebd0ae429fa709 (diff)
DO NOT MERGE Do not clean up global/system settings on package unintalls.
Legacy apps can write their own entries in the system settings and when they get uninstalled these are hanging around forever polluting the settings table. We keep track of which settings an app added and when the app is uninstalled we drop its custom entries. The trouble was that we did the same thing for global and secure settings with no explicit list of platform defined settings. Hence, if say a test signed by the platform certificate touches platform defined global or secure settings and is then uninstalled, we would drop the platform defined entries portentially crippling the system. bug:20113160 Change-Id: Ia21694f6326ad4a1795c4666027b366e26c05a23 (cherry picked from commit b128540dc741c424d4f652419686882b7a3bfa06)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions