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: I4393458982fea30df1a4be86b6fe17db9ab7da16
This commit is contained in:
@@ -1858,7 +1858,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) {
|
||||
|
||||
Reference in New Issue
Block a user