Loading services/core/java/com/android/server/notification/NotificationAttentionHelper.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -1597,6 +1597,9 @@ public final class NotificationAttentionHelper { @Override @Override public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) { String action = intent.getAction(); String action = intent.getAction(); if (action == null) { return; } if (action.equals(Intent.ACTION_SCREEN_ON)) { if (action.equals(Intent.ACTION_SCREEN_ON)) { // Keep track of screen on/off state, but do not turn off the notification light // Keep track of screen on/off state, but do not turn off the notification light Loading Loading
services/core/java/com/android/server/notification/NotificationAttentionHelper.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -1597,6 +1597,9 @@ public final class NotificationAttentionHelper { @Override @Override public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) { String action = intent.getAction(); String action = intent.getAction(); if (action == null) { return; } if (action.equals(Intent.ACTION_SCREEN_ON)) { if (action.equals(Intent.ACTION_SCREEN_ON)) { // Keep track of screen on/off state, but do not turn off the notification light // Keep track of screen on/off state, but do not turn off the notification light Loading