Update flag constant for caption on shell
System properties under persist.debug namespace can't be modified by SystemUI. aosp/I5808bf92dbba37e9e6da5559f8e0a5fdac016bf3 introduced a new namespace, persist.wm.debug that can be used for system properties that can be overridden from SystemUI. Move captions_on_shell to this namespace so we can update this flag from SystemUI to simplify enabling it on devices. Bug: 241464028 Test: build succeeds Change-Id: Ifcf54b6dfa70ca52dfb51fb2f7f2e67d0568566a
This commit is contained in:
@@ -276,7 +276,7 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
public static final boolean CAPTION_ON_SHELL =
|
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.
|
* Whether the client should compute the window frame on its own.
|
||||||
|
|||||||
Reference in New Issue
Block a user