Loading src/java/com/android/internal/telephony/uicc/UiccCard.java +9 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,15 @@ public class UiccCard { } private void onIccSwap(boolean isAdded) { boolean isHotSwapSupported = mContext.getResources().getBoolean( com.android.internal.R.bool.config_hotswapCapable); if(isHotSwapSupported) { //no need to prompt the user to reboot the device return; } synchronized (mLock) { // TODO: Here we assume the device can't handle SIM hot-swap // and has to reboot. We may want to add a property, Loading Loading
src/java/com/android/internal/telephony/uicc/UiccCard.java +9 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,15 @@ public class UiccCard { } private void onIccSwap(boolean isAdded) { boolean isHotSwapSupported = mContext.getResources().getBoolean( com.android.internal.R.bool.config_hotswapCapable); if(isHotSwapSupported) { //no need to prompt the user to reboot the device return; } synchronized (mLock) { // TODO: Here we assume the device can't handle SIM hot-swap // and has to reboot. We may want to add a property, Loading