| commit | f509803cad6652c79871bb0a7b509ba2d1054b67 | [log] [tgz] |
|---|---|---|
| author | Tyler Freeman <fuego@google.com> | Tue Aug 29 13:20:02 2023 +0000 |
| committer | Tyler Freeman <fuego@google.com> | Tue Aug 29 13:20:02 2023 +0000 |
| tree | 96889fed05a682e6b93b4498c826b03935947180 | |
| parent | 28d0aabf7dc41dd6ea8d974f1b8a635d1412a16c [diff] |
fix(magnifier): avoid crash when smashing magnifier shortcut button repeatedly This avoids a race condition where we start receiving events and trying to send them to the input filter before it's been installed. Fix: 290271948 Test: manual: 1. Turn on magnification shortcut button 2. Tap it repeatedly quickly for like 30 seconds 3. Should not crash. Change-Id: I24f0eafb2479ac7427ba28077e45ba26a9127cc8