diff options
author | Hai Zhang <zhanghai@google.com> | 2020-11-06 16:42:33 -0800 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2020-11-06 17:11:03 -0800 |
commit | f9c011501fab1f9ae63c2535e91d1e7d823f5ff0 (patch) | |
tree | 1c72f1cbfc90dbb814eb9696575f992a962ecf78 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bbecd0e7e6c17f56af80318877243ac80198aa4a (diff) |
Refresh legacy permission state right before writing.
This was done for writing all the package settings, but not when
writing runtime permissions only, so we need to do the same thing
before we eventually migrate to new persistence.
This is a resubmission of ag/12960409, and this time we are only
refreshing the state before the actual disk write, instead of whenever
a write is (asynchronously) scheduled.
Bug: 171755668
Bug: 172297495
Test: manual
Test: atest MultiUserPerfTests
Change-Id: I0c69b6a28ea795c6682e28a26be4cac5b644c70b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions