Merge "Fix for SysUi overrides being applied on non-fullscreen VIS windows." into sc-dev am: 9c44e61f74

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14843812

Change-Id: Iba21529de516047443919c27b06348289fe37beb
This commit is contained in:
TreeHugger Robot
2021-06-19 15:09:18 +00:00
committed by Automerger Merge Worker

View File

@@ -1771,7 +1771,7 @@ public class DisplayPolicy {
}
// Voice interaction overrides both top fullscreen and top docked.
if (affectsSystemUi && attrs.type == TYPE_VOICE_INTERACTION) {
if (affectsSystemUi && attrs.type == TYPE_VOICE_INTERACTION && attrs.isFullscreen()) {
if (mTopFullscreenOpaqueWindowState == null) {
mTopFullscreenOpaqueWindowState = win;
if (mTopFullscreenOpaqueOrDimmingWindowState == null) {