diff options
| author | 2019-12-18 09:03:36 +0000 | |
|---|---|---|
| committer | 2019-12-18 09:03:36 +0000 | |
| commit | f7146a989d59d8a05ae78f3ce055d3af35aa463e (patch) | |
| tree | 1ea8d19bb98bc3caad1993b43081eb49cf49a076 | |
| parent | 86ed94a13b8fc79c8eb99673ca1a62b302d8a066 (diff) | |
Revert "Enable IME Insets flag"
This reverts commit 86ed94a13b8fc79c8eb99673ca1a62b302d8a066.
Reason for revert: break wm presubmit
Change-Id: Ie9bbfa4e1293560c0605ee68f0e87d00a2b0579d
| -rw-r--r-- | core/java/android/view/ViewRootImpl.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index cd4a62578a0e..afa661e26d4c 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -192,26 +192,26 @@ public final class ViewRootImpl implements ViewParent, * @see #USE_NEW_INSETS_PROPERTY * @hide */ - public static final int NEW_INSETS_MODE_NONE = 0; + public static int sNewInsetsMode = + SystemProperties.getInt(USE_NEW_INSETS_PROPERTY, 0); /** * @see #USE_NEW_INSETS_PROPERTY * @hide */ - public static final int NEW_INSETS_MODE_IME = 1; + public static final int NEW_INSETS_MODE_NONE = 0; /** * @see #USE_NEW_INSETS_PROPERTY * @hide */ - public static final int NEW_INSETS_MODE_FULL = 2; + public static final int NEW_INSETS_MODE_IME = 1; /** * @see #USE_NEW_INSETS_PROPERTY * @hide */ - public static int sNewInsetsMode = - SystemProperties.getInt(USE_NEW_INSETS_PROPERTY, NEW_INSETS_MODE_IME); + public static final int NEW_INSETS_MODE_FULL = 2; /** * Set this system property to true to force the view hierarchy to render |