Merge "Don't allow HUNs during dozing fullscreen intents" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-30 21:10:30 +00:00
committed by Android (Google) Code Review

View File

@@ -336,6 +336,14 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
return false;
}
}
if (entry.hasJustLaunchedFullScreenIntent()) {
if (DEBUG_HEADS_UP) {
Log.d(TAG, "No alerting: recent fullscreen: " + sbn.getKey());
}
return false;
}
return true;
}
@@ -365,13 +373,6 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
return false;
}
if (entry.hasJustLaunchedFullScreenIntent()) {
if (DEBUG_HEADS_UP) {
Log.d(TAG, "No alerting: recent fullscreen: " + sbn.getKey());
}
return false;
}
return true;
}