Merge "Fix magnification cutout while performing back gesture" into sc-v2-dev am: 7834387feb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16375741 Change-Id: Ia79e92363bf248ec5c25f26df2d4f68ac70b1772
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package com.android.systemui.navigationbar.gestural;
|
||||
|
||||
import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION;
|
||||
|
||||
import static com.android.systemui.classifier.Classifier.BACK_GESTURE;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
@@ -548,7 +550,8 @@ public class EdgeBackGestureHandler extends CurrentUserTracker
|
||||
layoutParams.accessibilityTitle = mContext.getString(R.string.nav_bar_edge_panel);
|
||||
layoutParams.windowAnimations = 0;
|
||||
layoutParams.privateFlags |=
|
||||
WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS;
|
||||
(WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS
|
||||
| PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION);
|
||||
layoutParams.setTitle(TAG + mContext.getDisplayId());
|
||||
layoutParams.setFitInsetsTypes(0 /* types */);
|
||||
layoutParams.setTrustedOverlay();
|
||||
|
||||
Reference in New Issue
Block a user