Loading src/com/android/bluetooth/hfp/HeadsetPhoneState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -244,7 +244,7 @@ public class HeadsetPhoneState { return (mNumActive >= 1); return (mNumActive >= 1); } } private void sendDeviceStateChanged() { private synchronized void sendDeviceStateChanged() { int service = int service = mIsSimStateLoaded ? mCindService : HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; mIsSimStateLoaded ? mCindService : HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; // When out of service, send signal strength as 0. Some devices don't // When out of service, send signal strength as 0. Some devices don't Loading Loading
src/com/android/bluetooth/hfp/HeadsetPhoneState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -244,7 +244,7 @@ public class HeadsetPhoneState { return (mNumActive >= 1); return (mNumActive >= 1); } } private void sendDeviceStateChanged() { private synchronized void sendDeviceStateChanged() { int service = int service = mIsSimStateLoaded ? mCindService : HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; mIsSimStateLoaded ? mCindService : HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; // When out of service, send signal strength as 0. Some devices don't // When out of service, send signal strength as 0. Some devices don't Loading