commit | 289aee901e677c22ab8563876ed154851b499b1c | [log] [tgz] |
---|---|---|
author | Justin Ghan <justinghan@google.com> | Wed Feb 08 12:57:36 2023 -0800 |
committer | Justin Ghan <justinghan@google.com> | Wed Feb 08 13:07:07 2023 -0800 |
tree | 0b4c0272d461d0e7aed7ca8cbbdb7b81192474c3 | |
parent | 19b45e99d3fda1206bd5d041cc27d71b29154e53 [diff] |
Fix cursor position after delete gesture Deleting text inside a selection causes the selection to be updated asynchronously, so setting the cursor position synchronously after the deletion could get overwritten by the asynchronous update. This is fixed by setting the cursor position before deleting the text. Bug: 266984004 Test: tested manually Change-Id: I8801cc0bc9d0a3acd7952e2a88691f480c58d453