diff options
author | Jeff Sharkey <jsharkey@android.com> | 2019-03-19 14:36:18 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2019-03-19 14:50:07 -0600 |
commit | c7aa8d5a419fe00bbe7dba95059633d2e3813e07 (patch) | |
tree | f3acae055225b84aaac7056482b9ee3f6a4cde2c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 417059b13ef2d7c0bec2278fe1c58ce975bf99c5 (diff) |
Recover from app-op corruption bug.
We had been using OP_LEGACY_STORAGE as a signal that a package had
been installed before isolated storage had been enabled on the
device, but a recent regression lost all those values.
Thus, this logic attempts to recover that by saying: if no apps on
the device currently hold OP_LEGACY_STORAGE, and apps had been
installed or updated before the feature flag was enabled, then
grant the op to any apps installed before the flag was enabled.
Bug: 128872367, 128914416
Test: manual
Change-Id: I36fc9d6a5d4b48abb41f985208d3b286781d63dd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions