Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 036b5f16 authored by Hemant Gupta's avatar Hemant Gupta Committed by Myles Watson
Browse files

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
parent f966f248
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment