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

Commit e553fe8a authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Updating AIDL interface and removing unused methods" into tm-qpr-dev

parents 6b32ce07 97ae16e8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -963,7 +963,6 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
                new ActiveGestureLog.CompoundString("on gesture started (animate=false)"));
        mStateCallback.setStateOnUiThread(STATE_GESTURE_STARTED);
        mGestureStarted = true;
        SystemUiProxy.INSTANCE.get(mContext).notifySwipeUpGestureStarted();
    }

    /**
+0 −11
Original line number Diff line number Diff line
@@ -343,17 +343,6 @@ public class SystemUiProxy implements ISystemUiProxy {
        }
    }

    @Override
    public void notifySwipeUpGestureStarted() {
        if (mSystemUiProxy != null) {
            try {
                mSystemUiProxy.notifySwipeUpGestureStarted();
            } catch (RemoteException e) {
                Log.w(TAG, "Failed call notifySwipeUpGestureStarted", e);
            }
        }
    }

    @Override
    public void notifyPrioritizedRotation(int rotation) {
        if (mSystemUiProxy != null) {
+4 −10
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ import android.util.Log;
import android.view.Choreographer;
import android.view.InputEvent;
import android.view.MotionEvent;
import android.view.SurfaceControl;
import android.view.accessibility.AccessibilityManager;

import androidx.annotation.BinderThread;
@@ -226,12 +227,6 @@ public class TouchInteractionService extends Service
            }
        }

        @BinderThread
        @Override
        public void onTip(int actionType, int viewType) {
            // Please delete this method from the interface
        }

        @BinderThread
        @Override
        public void onAssistantAvailable(boolean available) {
@@ -250,10 +245,9 @@ public class TouchInteractionService extends Service
            });
        }

        @BinderThread
        public void onBackAction(boolean completed, int downX, int downY, boolean isButton,
                boolean gestureSwipeLeft) {
            // Remove this method from the interface
        @Override
        public void onNavigationBarSurface(SurfaceControl surface) {
            // TODO: implement
        }

        @BinderThread