summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-09-24 15:38:08 -0400
committerFabian Kozynski <kozynski@google.com>2019-09-25 14:15:30 -0400
commitff5e91f252d51637fdb1b6d639f13b724070dbf4 (patch)
treee73ef5fd4fe645a37316fe9ec28069b904611e24 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta620de30f49b5dd0b2bf062462dbe5820c5d22b8 (diff)
Convert all SCREEN_OFF receivers to BroadcastDispatcher
All broadcast receivers that filter for ACTION_SCREEN_OFF have been converted to register with BroadcastDispatcher instead of Context. In many cases this involves other Intents being covered by BroadcastDispatcher. Additionally, UserBroadcastDispatcher propagates the PendingResult so the individual receivers can access it (mostly to query getSendingUser). Test: enable logging of BroadcastQueue for ACTION_SCREEN_OFF only shows 2 receivers (user 0 and user -1) Test: Dump of BroadcastDispatcher shows all the classes registered to it Test: enable logging of UserBroadcastDispatcher Test: atest PowerUITest StatusBarTest VolumeDialogControllerImplTest SystemUIDialogTest NavigationBarFragmentTest Bug: 134566046 Change-Id: I0caa2a6b53f3f6b360bf2e8598dde29c45f1d4e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions