Cancellable gesture should always have cancellation token
With the current CancellableHandwritingGesture, cancellationToken is only attached at the time of writeToParcel. However if editor is in same process as IME (i.e. IME contains the editor), writeToParcel will never be called and token will never be set. This change refactors code to not unbeam if we didn't beam cancellation Token. Bug: 280268494 Test: atest InputConnectionEndToEndTest InsertModeGestureTest Change-Id: Idb9292fa087d98395d778dd3cd4a528554909ffc
Loading
Please register or sign in to comment