summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYabin Huang <yabinh@google.com>2021-06-03 19:12:28 -0700
committerYabin Huang <yabinh@google.com>2021-06-11 18:16:29 +0000
commit27be1ccfeb899ff4899968a4de3244724a193205 (patch)
treeae9ec79afadc57f126738d7edf3aee08c2822874 /tools/aapt2/java/JavaClassGenerator.cpp
parent3ff294cd82071a609d6e1ab4456c8040d0e4e580 (diff)
Fix LegacyGlobalActions broadcast receiver
By default CLOSE_SYSTEM_DIALOGS broadcast is sent only for current user. Current user is user 10 on devices with headless system user enabled. LegacyGlobalActions broadcast receiver is registered with system user (user 0), so the broadcast is not received. It is proposed to use registerReceiverAsUser with UserHandle.ALL when registering receiver to be able to receive broadcast. Fixes: 182842046 Test: atest CtsAccessibilityServiceTestCases Change-Id: I10405769ba6426c7bbcd31e09e1cd4c99585665b Merged-In: I10405769ba6426c7bbcd31e09e1cd4c99585665b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions