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

Commit 4271b705 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

Extract native methods and add unit tests for HID Device

* Isolated JNI native interface in a separate class
HidDeviceNativeInterface so that is can be mocked
when testing HidDeviceService
* Add singleton setter and getter for HidDeviceService
* Use BluetoothDevice object instead of address in HidDeviceService
* Add unit tests for HID Device service

Test: HID Device unit test passes; SL4A test passes
Bug: 69045106
Change-Id: I28cffe1fa1469199d98062b5b52b136697b4cb91
parent 12d89a2e
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