Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86ed94a1 authored by Tarandeep Singh's avatar Tarandeep Singh
Browse files

Enable IME Insets flag

Brave new world! Flips the flag to enable new Insets for IME only.
Flip it and let it roll :D

Bug: 111084606
Test: atest CtsWindowManagerDeviceTestCases -- --module-arg
 CtsWindowManagerDeviceTestCases:include-annotation:android.platform.test.annotations.Presubmit
 --module-arg CtsWindowManagerDeviceTestCases:exclude-annotation:androidx.test.filters.FlakyTest
 atest android.view android.inputmethod android.inputmethodservice com.android.server.wm
Change-Id: I6d2b3086a21dee5865e50766be571edfd56de489
parent 93ea15a5
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -192,26 +192,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