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

Skip to content
Commit 5fed27a9 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

HID Device Service: check whether the caller is the registered app

* Checks whether the methods in HID Device service is called by the
registered app. Only the registered app can invoke methods in HID
Device service through binder interface.
* Use Binder.getCallingUid() instead of
BluetoothHidDeviceAppConfiguration to verify the caller.
* Fix HID Device unit tests.

Bug: 63384609
Test: Use 2 HID Device apps. Register one app. Send_report with the
unregistered app

Change-Id: I5cf1509000517ce349112c7bccb2dbe22920c838
parent 7c00bc59
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