Merge "Send gesture cancellation on correct thread" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-04-04 23:22:48 +00:00
committed by Android (Google) Code Review

View File

@@ -418,12 +418,15 @@ final class RemoteInputConnectionImpl extends IRemoteInputConnection.Stub {
});
}
@Dispatching(cancellable = false)
@Override
public void cancelCancellationSignal(IBinder token) {
if (mBeamer == null) {
return;
}
mBeamer.cancel(token);
dispatch(() -> {
mBeamer.cancel(token);
});
}
@Override