diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index 159b93eb12dda..2c30d29d8da26 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -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.