summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2020-06-08 11:14:58 -0400
committerFabian Kozynski <kozynski@google.com>2020-06-11 16:28:07 +0000
commite771b7529ed5352e8a38cf6338e44c8df3cbdf62 (patch)
tree3aa2c905e5c9026a7a5c512806dfbc984277948a /tools/aapt2/java/JavaClassGenerator.cpp
parentef24e2121dbd4eb56bdfa1e4e588e77af6bd28c3 (diff)
[DO NOT MERGE] Fix BroadcastDispatcher registering with CURRENT
When a BroadcastReceiver is registered with UserHandle.CURRENT, the current user should be obtained. This has to be cached in order to not call ActivityManager every time. As it is done in the initializer the initial value caching will happen before any other BroadcastReceiver is actually registered. The caching and updating is all done in the background thread. Also, remove unnecessary dependency. Test: manual Test: atest BroadcastDispatcher Fixes: 158298581 Change-Id: Idfd2dc65f9079c57e971250aa7b0aef222da5af5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions