diff options
| author | 2023-05-03 21:41:30 +0000 | |
|---|---|---|
| committer | 2023-05-09 20:58:28 +0000 | |
| commit | 59845d242f52708e5ae3cd8123b5bb5b81683665 (patch) | |
| tree | d8ebbb5b7225746625fce8790f1592ada7898d27 /libs/androidfw/StringPool.cpp | |
| parent | ae828a782f6b62fcfd5532b050ef74c866132468 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions