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

Commit c4c0175e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Ignore null action in NotificationAttentionHelper." into main

parents c20ef789 988016a4
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