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

Commit 1593652e authored by Wilson Wu's avatar Wilson Wu Committed by Android (Google) Code Review
Browse files

Merge "Add maxTargetSdk restriction to IMM fields"

parents ab1e4f04 d6ef62f5
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -549,7 +549,10 @@ public final class InputMethodManager {
     */
    @Deprecated
    @GuardedBy("mH")
    @UnsupportedAppUsage
    @UnsupportedAppUsage(trackingBug = 236937383,
            maxTargetSdk = Build.VERSION_CODES.UPSIDE_DOWN_CAKE,
            publicAlternatives = "Apps should not change behavior based on the currently connected"
                    + " IME. If absolutely needed, use {@link InputMethodInfo#getId()} instead.")
    String mCurId;

    /**
@@ -560,7 +563,9 @@ public final class InputMethodManager {
    @Deprecated
    @GuardedBy("mH")
    @Nullable
    @UnsupportedAppUsage
    @UnsupportedAppUsage(trackingBug = 236937383,
            maxTargetSdk = Build.VERSION_CODES.UPSIDE_DOWN_CAKE,
            publicAlternatives = "Use methods on {@link InputMethodManager} instead.")
    IInputMethodSession mCurMethod;

    /**