summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-07-30 12:45:14 -0700
committerWinson <chiuwinson@google.com>2020-07-30 13:59:19 -0700
commit50fff3b2b39f57fe020b80bb8555b093e45a50d2 (patch)
tree8b4eb3669c743c5d7a006f34de947f7072f8cfd3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf6f77de370701684ae897904f3cb716ec0b33d16 (diff)
Rebuild actor map if it's queried before onSystemReady
If a package is installed shortly after initial boot, it's possible to query app filtering before the onSystemReady callback. Instead of throwing an exception, this makes it just rebuild the map on demand. This may result in a slight delay with the first initial query, but that will be the extent of the performance impact. Scanning should still prevent querying until the mapping is ready, which avoids large rebuliding costs. Effectively the map is ready to be built in this edge case, but the callback isn't instant. Bug: 161816449 Test: atest com.android.server.om.OverlayReferenceMapperTests Change-Id: I1c815cdc037e297198294b1517805ffebc759e3a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions