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

Commit 4d82f97a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore null action in NotificationAttentionHelper." into main am: c4c0175e am: fc905d6c

parents 15e8025b fc905d6c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1690,6 +1690,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