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

This commit is contained in:
Sunny Goyal
2022-11-02 16:43:23 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 22 deletions

View File

@@ -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();
}
/**

View File

@@ -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) {

View File

@@ -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