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

Commit 1f0b2753 authored by Tarandeep Singh's avatar Tarandeep Singh
Browse files

Enable insets flag for IME

Test: atest CtsInputMethodTestCases WindowManagerSmokeTest
      CtsWindowManagerDeviceTestCases CtsInputMethodTestCases
      FrameworksCoreTests
Bug: 111084606
Change-Id: I34b17174cc57fdb1427749dc28664f6bb5b3abca
parent a3ada360
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -222,26 +222,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