Revert "Revert "Enable insets flag for IME""
This reverts commit d01913ae83.
Reason for revert: We're ready to re-enable the flag since b/149121559 is fixed
Change-Id: I1aca81bb6c2dbb544841a2a6d17ef477cb8bdc9e
This commit is contained in:
@@ -218,13 +218,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
|
||||
@@ -243,6 +236,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_IME);
|
||||
|
||||
/**
|
||||
* 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