summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjovanak <jovanak@google.com>2018-10-17 10:08:20 -0700
committerjovanak <jovanak@google.com>2018-10-25 14:08:51 -0700
commit206d6e4475366a4e2de247a22a07be887520d23f (patch)
treec19ff5274beb04a7a9c034c97dc5e717e8dec99b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2a9131f76879cbb7cc572ba999428197aece7e18 (diff)
Makes LocalBluetoothManager multi-user aware.
It enables LocalBluetoothManager to receive broadcasts for a specific UserHandle, not just the one that created it, by exposing an additional create method. To pass in UserHandle different from the one returned in context.getUser(), one must have INTERACT_ACROSS_USERS_FULL permission. Should be used by singletons with adequate permissions to be able to monitor bluetooth state across all users. For monitoring the state across all users, pass in UserHandle.ALL. Change-Id: Id89d73b05bfebc2f9e8673c5610b3ff8f70dba0c Fixes: 117517726 Test: working on them
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions