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

Commit 78452db2 authored by Paul Jensen's avatar Paul Jensen Committed by Android (Google) Code Review
Browse files

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

parents ac3fe8ff f8e903fe
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();