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

Commit 52c79fff authored by Cosmin Băieș's avatar Cosmin Băieș Committed by Android (Google) Code Review
Browse files

Merge "Make isImeNavigationBarShownForTesting TestApi" into main

parents 00119e71 71355876
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1999,6 +1999,7 @@ package android.inputmethodservice {
  }

  @UiContext public class InputMethodService extends android.inputmethodservice.AbstractInputMethodService {
    method public final boolean isImeNavigationBarShownForTesting();
    field public static final long DISALLOW_INPUT_METHOD_INTERFACE_OVERRIDE = 148086656L; // 0x8d39f80L
    field public static final long FINISH_INPUT_NO_FALLBACK_CONNECTION = 156215187L; // 0x94fa793L
  }
+3 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ import android.annotation.IntDef;
import android.annotation.MainThread;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SuppressLint;
import android.annotation.TestApi;
import android.annotation.UiContext;
import android.app.ActivityManager;
@@ -4368,6 +4369,8 @@ public class InputMethodService extends AbstractInputMethodService {
     *
     * @hide
     */
    @SuppressLint("UnflaggedApi") // @TestApi without associated feature.
    @TestApi
    @VisibleForTesting
    public final boolean isImeNavigationBarShownForTesting() {
        return mNavigationBarController.isShown();