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

Commit 188336b3 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...

Merge \\\"Show sign-in to network notification to all users, not just owner.\\\" into nyc-dev am: 78452db2 am: 1339a632
am: 428d357e

Change-Id: I3895d869e5b881b82310a4efc235f41f1176d44c
parents 6e79c919 428d357e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3569,14 +3569,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();