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
Loading
Please register or sign in to comment