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

Commit 843d7085 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Import EnforcePermission in IMMS"

parents 8bb765de d3cbe81e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ import android.annotation.AnyThread;
import android.annotation.BinderThread;
import android.annotation.ColorInt;
import android.annotation.DrawableRes;
import android.annotation.EnforcePermission;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
@@ -4280,7 +4281,7 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
        });
    }

    @android.annotation.EnforcePermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW)
    @EnforcePermission(Manifest.permission.INTERNAL_SYSTEM_WINDOW)
    @Override
    public void removeImeSurface() {
        mHandler.obtainMessage(MSG_REMOVE_IME_SURFACE).sendToTarget();