HID: Send Connection change broadcast to all users
Issue Description: Steps: 1) Create a sub-user and switch to it. 2) Connected to a HID device via BT(Keyboard BKB50). 3) Check the BT icon on the status bar. Actual Result: At step 3, BT icon shows the device is not connected. Expected Result: At step 3, BT icon shows the device is connected. Root Cause: SystemUI can't receive the broadcast of HID connection state change in sub-user. Fix: Use sendBroadcastAsUser() instead of sendBroadcast() for connection change. Test: Tested that BT icon shows connected after HID connection. Bug: 62683719 Change-Id: I9eeac34dd31c7a4acb15d71b8bf8eb4cf97680a2
Loading
Please register or sign in to comment