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

Commit 97ae16e8 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Updating AIDL interface and removing unused methods

Bug: 193244407
Test: Presubmit
Change-Id: If87ef08e16e541921cde4e7a15a675b07c388fef
parent b9bced07
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -951,7 +951,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
@@ -346,17 +346,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
@@ -60,6 +60,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;
@@ -230,12 +231,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) {
@@ -254,10 +249,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