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

Commit 8c3588b1 authored by Adrian Roos's avatar Adrian Roos
Browse files

Restrict InputMethodManager @UnsupportedAppUsage on sInstance to <= VIC

Bug: 116157766
Test: n/a
Flag: EXEMPT UnsupportedAppUsage cannot be flagged
Change-Id: I0c6d55cab1a4b33fc304f0a8ed6d980837042c03
parent 77a55d9f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -391,7 +391,8 @@ public final class InputMethodManager {
     */
    @Deprecated
    @GuardedBy("sLock")
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.VANILLA_ICE_CREAM,
            publicAlternatives = "Use {@code Context#getSystemService(InputMethodManager.class)}.")
    static InputMethodManager sInstance;

    /**