diff options
| author | 2020-02-13 13:17:45 +0000 | |
|---|---|---|
| committer | 2020-02-13 13:17:45 +0000 | |
| commit | 13c9a90696fb6fdb38a11f43c1f7f0848199a25b (patch) | |
| tree | 4905b0e4c5f6e559f749ffa839809d2dac99da45 | |
| parent | 925c65863136c6b23aa09fa77ba480709d2920e7 (diff) | |
Revert "Revert "Revert "Enable insets flag for IME"""
This reverts commit 925c65863136c6b23aa09fa77ba480709d2920e7.
Reason for revert: Causing WindowManager pre-submits to fail.
Change-Id: I11dfc87e7fb2741b237688865eeefbd9e29dc981
| -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 2c30d29d8da2..159b93eb12dd 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -222,26 +222,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 |