Merge changes from topic "desktop-windowing-flags" into tm-qpr-dev

* changes:
  SysUI flags to support desktop windowing proto
  Update flag constant for caption on shell
This commit is contained in:
TreeHugger Robot
2022-08-09 01:44:18 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 1 deletions

View File

@@ -276,7 +276,7 @@ public final class ViewRootImpl implements ViewParent,
* @hide
*/
public static final boolean CAPTION_ON_SHELL =
SystemProperties.getBoolean("persist.debug.caption_on_shell", false);
SystemProperties.getBoolean("persist.wm.debug.caption_on_shell", false);
/**
* Whether the client should compute the window frame on its own.

View File

@@ -207,6 +207,14 @@ public class Flags {
public static final SysPropBooleanFlag HIDE_NAVBAR_WINDOW =
new SysPropBooleanFlag(1103, "persist.wm.debug.hide_navbar_window", false);
@Keep
public static final SysPropBooleanFlag WM_DESKTOP_WINDOWING =
new SysPropBooleanFlag(1104, "persist.wm.debug.desktop_mode", false);
@Keep
public static final SysPropBooleanFlag WM_CAPTION_ON_SHELL =
new SysPropBooleanFlag(1105, "persist.wm.debug.caption_on_shell", false);
// 1200 - predictive back
@Keep
public static final SysPropBooleanFlag WM_ENABLE_PREDICTIVE_BACK = new SysPropBooleanFlag(