Window Manager Flag Migration (14/n) (Flips the flag)
Fully change to the new insets mode.
Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
InsetsPolicyTest WindowStateTests CommandQueueTest
RegisterStatusBarResultTest InsetsFlagsTest
LightBarControllerTest RegisterStatusBarResultTest
ViewRootImplTest DisplayPolicyLayoutTests
DisplayPolicyInsetsTests DisplayPolicyTests
TaskSnapshotSurfaceTest
AnimatedVectorDrawableParameterizedTest
Change-Id: I2041074beb4a6fd9da189c1d9127fc0ed1999770
This commit is contained in:
committed by
Tiger Huang
parent
090ec99274
commit
2b39e764ab
@@ -219,13 +219,6 @@ public final class ViewRootImpl implements ViewParent,
|
||||
*/
|
||||
private static final String USE_NEW_INSETS_PROPERTY = "persist.debug.new_insets";
|
||||
|
||||
/**
|
||||
* @see #USE_NEW_INSETS_PROPERTY
|
||||
* @hide
|
||||
*/
|
||||
public static int sNewInsetsMode =
|
||||
SystemProperties.getInt(USE_NEW_INSETS_PROPERTY, 0);
|
||||
|
||||
/**
|
||||
* @see #USE_NEW_INSETS_PROPERTY
|
||||
* @hide
|
||||
@@ -244,6 +237,13 @@ public final class ViewRootImpl implements ViewParent,
|
||||
*/
|
||||
public static final int NEW_INSETS_MODE_FULL = 2;
|
||||
|
||||
/**
|
||||
* @see #USE_NEW_INSETS_PROPERTY
|
||||
* @hide
|
||||
*/
|
||||
public static int sNewInsetsMode =
|
||||
SystemProperties.getInt(USE_NEW_INSETS_PROPERTY, NEW_INSETS_MODE_FULL);
|
||||
|
||||
/**
|
||||
* Set this system property to true to force the view hierarchy to render
|
||||
* at 60 Hz. This can be used to measure the potential framerate.
|
||||
|
||||
Reference in New Issue
Block a user