Loading src/java/com/android/internal/telephony/ServiceStateTracker.java +5 −1 Original line number Diff line number Diff line Loading @@ -1306,8 +1306,11 @@ public class ServiceStateTracker extends Handler { break; case EVENT_SIM_NOT_INSERTED: if (DBG) log("EVENT_SIM_NOT_INSERTED, cancelling notifications."); if (DBG) log("EVENT_SIM_NOT_INSERTED"); cancelAllNotifications(); mMdn = null; mMin = null; mIsMinInfoReady = false; break; case EVENT_ALL_DATA_DISCONNECTED: Loading Loading @@ -3864,6 +3867,7 @@ public class ServiceStateTracker extends Handler { * removed. */ private void cancelAllNotifications() { if (DBG) log("setNotification: cancelAllNotifications"); NotificationManager notificationManager = (NotificationManager) mPhone.getContext().getSystemService(Context.NOTIFICATION_SERVICE); notificationManager.cancelAll(); Loading Loading
src/java/com/android/internal/telephony/ServiceStateTracker.java +5 −1 Original line number Diff line number Diff line Loading @@ -1306,8 +1306,11 @@ public class ServiceStateTracker extends Handler { break; case EVENT_SIM_NOT_INSERTED: if (DBG) log("EVENT_SIM_NOT_INSERTED, cancelling notifications."); if (DBG) log("EVENT_SIM_NOT_INSERTED"); cancelAllNotifications(); mMdn = null; mMin = null; mIsMinInfoReady = false; break; case EVENT_ALL_DATA_DISCONNECTED: Loading Loading @@ -3864,6 +3867,7 @@ public class ServiceStateTracker extends Handler { * removed. */ private void cancelAllNotifications() { if (DBG) log("setNotification: cancelAllNotifications"); NotificationManager notificationManager = (NotificationManager) mPhone.getContext().getSystemService(Context.NOTIFICATION_SERVICE); notificationManager.cancelAll(); Loading