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

Skip to content
Commit 859fb5f6 authored by Sravan voleti's avatar Sravan voleti
Browse files

HID: Fix the potential NPE in HidHostService jni callback

Add mutex-based protection mechanism to the HID JNI layer to avoid a race condition
during graceful cleaning up of the Bluetooth HID Interface when Bluetooth
is disabled, and native upcalls like connection_state_callback().

Bug: 130843208
Test: perfomed BT on and off use case not seen NPE.

Change-Id: Idec03ba93415ef8335093e310142933cecb2b85c
parent 123d59a7
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