Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a73132f8 authored by Paul Jensen's avatar Paul Jensen Committed by android-build-merger
Browse files

Merge \"Show sign-in to network notification to all users, not just owner.\" into nyc-dev

am: 78452db2

Change-Id: Ic8f99cb7c7fa7ed1f40c73342840f82c56f9f90f
parents be6e44cd 78452db2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();