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

Commit eb63c6de authored by Roman Birg's avatar Roman Birg Committed by Steve Kondik
Browse files

NotificationManager: always restore identity on notification error



Change-Id: I3fb369c34098c366c3c943da0d7c7c64127387c8
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 978eefa8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -630,9 +630,10 @@ public class NotificationManagerService extends SystemService {
                        "Bad notification posted from package " + pkg
                        + ": " + message);
            } catch (RemoteException e) {
            }
            } finally {
                Binder.restoreCallingIdentity(ident);
            }
        }

        @Override
        public void onNotificationVisibilityChanged(NotificationVisibility[] newlyVisibleKeys,