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

Commit 988016a4 authored by lijilou's avatar lijilou
Browse files

Ignore null action in NotificationAttentionHelper.

Test: Manual.
Bug: 376164979
Change-Id: I3040fb002d8021b49701868618c17c31a3d0d2fb
parent 56b26cfc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1597,6 +1597,9 @@ public final class NotificationAttentionHelper {
        @Override
        public void onReceive(Context context, Intent intent) {
            String action = intent.getAction();
            if (action == null) {
                return;
            }

            if (action.equals(Intent.ACTION_SCREEN_ON)) {
                // Keep track of screen on/off state, but do not turn off the notification light