Merge "Send gesture cancellation on correct thread" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2e0f3af103
@@ -418,12 +418,15 @@ final class RemoteInputConnectionImpl extends IRemoteInputConnection.Stub {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Dispatching(cancellable = false)
|
||||||
@Override
|
@Override
|
||||||
public void cancelCancellationSignal(IBinder token) {
|
public void cancelCancellationSignal(IBinder token) {
|
||||||
if (mBeamer == null) {
|
if (mBeamer == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mBeamer.cancel(token);
|
dispatch(() -> {
|
||||||
|
mBeamer.cancel(token);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user