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

Skip to content
Commit 0cb6ebe9 authored by Chen Chen's avatar Chen Chen
Browse files

HeadsetPhoneState: Synchronize constructor with phone state listening functions.

Bug: 241871296

The bug is that mSignalStrengthUpdateRequest is null when bt calls mTelephonyManager.clearSignalStrengthUpdateRequest(mSignalStrengthUpdateRequest).

mSignalStrengthUpdateRequest is created at constructor. So the only explanation is that there is a race condition between the constructor and stopListenForPhoneState() who calls clearSignalStrengthUpdateRequest();

Test: atest BluetoothInstrumentationTests
Change-Id: I0d456a4a7981e1befe291d2045b926a4da4b6bf5
parent 624e50d9
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