summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2019-04-18 12:08:30 +0800
committerHai Zhang <zhanghai@google.com>2019-04-18 12:12:09 +0800
commit22ce5e5d83e619837fe7db7bba8380b656a73805 (patch)
treed73d5cfe9eae88f9192eae6ac0ab42be2418758f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent30550e1f3edcca22b4e491ea0a9b10687358964b (diff)
Run performInitialGrantsIfNecessaryAsync() on main thread.
performInitialGrantsIfNecessaryAsync() is already made asynchronous, so it is no longer necessary to post it to a thread pool. After this change both this method and onRemoveUser() can run on the main thread, so that we won't run into a race condition with a destroyed user state. Bug: 130738316 Test: presubmit Change-Id: I9f6e4d9badddf5396c5a9aee683b67739c82884a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions