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

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

Merge "Rename IInputMethodManager#reportPerceptible" into sc-dev

parents d055f6d8 f18e567b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -581,7 +581,7 @@ public final class InputMethodManager {
     */
    public void reportPerceptible(IBinder windowToken, boolean perceptible) {
        try {
            mService.reportPerceptible(windowToken, perceptible);
            mService.reportPerceptibleAsync(windowToken, perceptible);
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ interface IInputMethodManager {
    oneway void reportActivityView(in IInputMethodClient parentClient, int childDisplayId,
            in float[] matrixValues, in IVoidResultCallback resultCallback);

    oneway void reportPerceptible(in IBinder windowToken, boolean perceptible);
    oneway void reportPerceptibleAsync(in IBinder windowToken, boolean perceptible);
    /** Remove the IME surface. Requires INTERNAL_SYSTEM_WINDOW permission. */
    oneway void removeImeSurface(in IVoidResultCallback resultCallback);
    /** Remove the IME surface. Requires passing the currently focused window. */
+1 −1
Original line number Diff line number Diff line
@@ -3177,7 +3177,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub

    @BinderThread
    @Override
    public void reportPerceptible(IBinder windowToken, boolean perceptible) {
    public void reportPerceptibleAsync(IBinder windowToken, boolean perceptible) {
        Objects.requireNonNull(windowToken, "windowToken must not be null");
        int uid = Binder.getCallingUid();
        synchronized (mMethodMap) {
+1 −1
Original line number Diff line number Diff line
@@ -1840,7 +1840,7 @@ public final class MultiClientInputMethodManagerService {

        @BinderThread
        @Override
        public void reportPerceptible(IBinder windowClient, boolean perceptible) {
        public void reportPerceptibleAsync(IBinder windowClient, boolean perceptible) {
            reportNotSupported();
        }