Loading services/core/java/com/android/server/ConnectivityService.java +2 −2 Original line number Diff line number Diff line Loading @@ -3552,14 +3552,14 @@ public class ConnectivityService extends IConnectivityManager.Stub .build(); try { notificationManager.notify(NOTIFICATION_ID, id, notification); notificationManager.notifyAsUser(NOTIFICATION_ID, id, notification, UserHandle.ALL); } catch (NullPointerException npe) { loge("setNotificationVisible: visible notificationManager npe=" + npe); npe.printStackTrace(); } } else { try { notificationManager.cancel(NOTIFICATION_ID, id); notificationManager.cancelAsUser(NOTIFICATION_ID, id, UserHandle.ALL); } catch (NullPointerException npe) { loge("setNotificationVisible: cancel notificationManager npe=" + npe); npe.printStackTrace(); Loading Loading
services/core/java/com/android/server/ConnectivityService.java +2 −2 Original line number Diff line number Diff line Loading @@ -3552,14 +3552,14 @@ public class ConnectivityService extends IConnectivityManager.Stub .build(); try { notificationManager.notify(NOTIFICATION_ID, id, notification); notificationManager.notifyAsUser(NOTIFICATION_ID, id, notification, UserHandle.ALL); } catch (NullPointerException npe) { loge("setNotificationVisible: visible notificationManager npe=" + npe); npe.printStackTrace(); } } else { try { notificationManager.cancel(NOTIFICATION_ID, id); notificationManager.cancelAsUser(NOTIFICATION_ID, id, UserHandle.ALL); } catch (NullPointerException npe) { loge("setNotificationVisible: cancel notificationManager npe=" + npe); npe.printStackTrace(); Loading