commit | be26707695e3cf4785e716b9814a067d50cd1123 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Thu Apr 05 15:38:34 2018 -0700 |
committer | Tracy Zhou <tracyzhou@google.com> | Thu Apr 05 17:36:29 2018 -0700 |
tree | 6a3dcaaca6bff2fb25b65463c333f93e02bb0d06 | |
parent | 13f92ccc960a7d08791af8c0f15dc2e0b4d2c09a [diff] |
Fix "Screen is pinned" dialog not showing completely in multi-window mode. Fixes: 73513388 Test: manual test Change-Id: Iaa3e30399b7f12de2c6071cbe35c7bdff92f64a0
diff --git a/packages/SystemUI/src/com/android/systemui/recents/ScreenPinningRequest.java b/packages/SystemUI/src/com/android/systemui/recents/ScreenPinningRequest.java index 3dd6e35..bfbba7c 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/ScreenPinningRequest.java +++ b/packages/SystemUI/src/com/android/systemui/recents/ScreenPinningRequest.java
@@ -107,7 +107,7 @@ final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT, - WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL, + WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, PixelFormat.TRANSLUCENT);