Loading services/java/com/android/server/power/ShutdownThread.java +6 −3 Original line number Diff line number Diff line Loading @@ -556,10 +556,13 @@ public final class ShutdownThread extends Thread { if (MSimTelephonyManager.getDefault().isMultiSimEnabled()) { final ITelephonyMSim mphone = ITelephonyMSim.Stub.asInterface( ServiceManager.checkService("phone_msim")); radioOff = true; if (mphone != null) { for (int i = 0; i < MSimTelephonyManager.getDefault(). getPhoneCount(); i++) { radioOff = radioOff && !mphone.isRadioOn(i); } } } else { radioOff = !phone.isRadioOn(); } Loading Loading
services/java/com/android/server/power/ShutdownThread.java +6 −3 Original line number Diff line number Diff line Loading @@ -556,10 +556,13 @@ public final class ShutdownThread extends Thread { if (MSimTelephonyManager.getDefault().isMultiSimEnabled()) { final ITelephonyMSim mphone = ITelephonyMSim.Stub.asInterface( ServiceManager.checkService("phone_msim")); radioOff = true; if (mphone != null) { for (int i = 0; i < MSimTelephonyManager.getDefault(). getPhoneCount(); i++) { radioOff = radioOff && !mphone.isRadioOn(i); } } } else { radioOff = !phone.isRadioOn(); } Loading