[coastguard skipped] Merge sparse cherrypicks from sparse-13009785-L02100030009347264 into 25Q1-release.
COASTGUARD_SKIP: I9e6b0f39017765f0cd6aa295932aa40962a92f9e
COASTGUARD_SKIP: I737c47c7df87e11608672a4e16eb3e9fd645e487
Change-Id: I16b0a420a8e22f17b3770e36fac0a6d07340eaed
diff --git a/quickstep/src/com/android/quickstep/TouchInteractionService.java b/quickstep/src/com/android/quickstep/TouchInteractionService.java
index 6c7fb2a..c8e53ab 100644
--- a/quickstep/src/com/android/quickstep/TouchInteractionService.java
+++ b/quickstep/src/com/android/quickstep/TouchInteractionService.java
@@ -48,9 +48,7 @@
import android.hardware.input.InputManager;
import android.os.Bundle;
import android.os.IBinder;
-import android.os.IRemoteCallback;
import android.os.Looper;
-import android.os.RemoteException;
import android.os.SystemClock;
import android.os.Trace;
import android.util.ArraySet;
@@ -402,20 +400,6 @@
taskbarManager.onNavigationBarLumaSamplingEnabled(displayId, enable));
}
- @Override
- public void onUnbind(IRemoteCallback reply) {
- // Run everything in the same main thread block to ensure the cleanup happens before
- // sending the reply.
- MAIN_EXECUTOR.execute(() -> {
- executeForTaskbarManager(TaskbarManager::destroy);
- try {
- reply.sendResult(null);
- } catch (RemoteException e) {
- Log.w(TAG, "onUnbind: Failed to reply to OverviewProxyService", e);
- }
- });
- }
-
private void executeForTouchInteractionService(
@NonNull Consumer<TouchInteractionService> tisConsumer) {
TouchInteractionService tis = mTis.get();