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

Skip to content
Commit c25781b4 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Ensure onAcceptFailed is processed on the handler thread.

onAcceptFailed was invoked from an external thread,
leading to concurrent access to mServerSockets.
This resulted in a race condition and potential NPE.

This change dispatches onAcceptFailed handling to
the mHandlerThread to prevent race conditions.

Bug: 396306579
Bug: 380817240
Test: atest BluetoothInstrumentationTests
Change-Id: Id13940f6ee3ae33c88185cc2e011ac46212a1baf
parent 38ebd31f
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