Loading src/com/android/bluetooth/hfp/HeadsetPhoneState.java +6 −0 Original line number Diff line number Diff line Loading @@ -269,6 +269,12 @@ public class HeadsetPhoneState { @Override public void onSubscriptionsChanged() { synchronized (mDeviceEventMap) { int simState = mTelephonyManager.getSimState(); if (simState != TelephonyManager.SIM_STATE_READY) { mCindSignal = 0; mCindService = HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; sendDeviceStateChanged(); } stopListenForPhoneState(); startListenForPhoneState(); } Loading Loading
src/com/android/bluetooth/hfp/HeadsetPhoneState.java +6 −0 Original line number Diff line number Diff line Loading @@ -269,6 +269,12 @@ public class HeadsetPhoneState { @Override public void onSubscriptionsChanged() { synchronized (mDeviceEventMap) { int simState = mTelephonyManager.getSimState(); if (simState != TelephonyManager.SIM_STATE_READY) { mCindSignal = 0; mCindService = HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; sendDeviceStateChanged(); } stopListenForPhoneState(); startListenForPhoneState(); } Loading