commit | a87560303263c70ae7d4283c7d08733e1d82eb57 | [log] [tgz] |
---|---|---|
author | Taran Singh <tarandeep@google.com> | Tue May 23 06:40:35 2023 +0000 |
committer | Taran Singh <tarandeep@google.com> | Thu May 25 23:10:39 2023 +0000 |
tree | ce51522c30d1a42bc0da3ce873ce5ad494508e79 | |
parent | dfab3209ea3bcdbf52353ab8727c792ac189cc5a [diff] |
Report toolType on handwriting start We update last click toolType onStartInput. However, when stylus is used to start handwriting, it is a click euqivalent operation for which ViewRootImpl never receives ACTION_UP event. For a successful intiation, we should update toolType so that next startInput has that available in EditorInfo. Bug: 283701472 Test: atest StylusHandwritingTest Change-Id: Id5f08e43c24cd42b416456a6c14fed0c130554c9