summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTaran Singh <tarandeep@google.com>2019-12-18 03:19:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-12-18 03:19:50 +0000
commitcd3e045b2ca6d60cc6c86a7dfdb70a025a275319 (patch)
tree10ac3c4ef7a6fea36b9f3eca51b4cf454965c90b /core
parent2bd3dc61b299aea532b2c35ccbdc1ce690f03e6f (diff)
parent86ed94a13b8fc79c8eb99673ca1a62b302d8a066 (diff)
Merge "Enable IME Insets flag"
Diffstat (limited to 'core')
-rw-r--r--core/java/android/view/ViewRootImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java
index e3f0da1bdd5c..df6f3b80d11c 100644
--- a/core/java/android/view/ViewRootImpl.java
+++ b/core/java/android/view/ViewRootImpl.java
@@ -211,26 +211,26 @@ public final class ViewRootImpl implements ViewParent,
* @see #USE_NEW_INSETS_PROPERTY
* @hide
*/
- public static int sNewInsetsMode =
- SystemProperties.getInt(USE_NEW_INSETS_PROPERTY, 0);
+ public static final int NEW_INSETS_MODE_NONE = 0;
/**
* @see #USE_NEW_INSETS_PROPERTY
* @hide
*/
- public static final int NEW_INSETS_MODE_NONE = 0;
+ public static final int NEW_INSETS_MODE_IME = 1;
/**
* @see #USE_NEW_INSETS_PROPERTY
* @hide
*/
- public static final int NEW_INSETS_MODE_IME = 1;
+ public static final int NEW_INSETS_MODE_FULL = 2;
/**
* @see #USE_NEW_INSETS_PROPERTY
* @hide
*/
- public static final int NEW_INSETS_MODE_FULL = 2;
+ 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