summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Tyler Freeman <fuego@google.com> 2023-08-29 13:20:02 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-11-30 19:18:38 +0000
commit816e991f386ac6a385d4ab0f48cd85f4dbff4acb (patch)
tree3aca21223e9a760ea60939f77aeac141a78765a4 /libs/androidfw/BackupHelpers.cpp
parent0afdfc6544f1882d5382cba1edda68f177c14100 (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. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f509803cad6652c79871bb0a7b509ba2d1054b67) Merged-In: I24f0eafb2479ac7427ba28077e45ba26a9127cc8 Change-Id: I24f0eafb2479ac7427ba28077e45ba26a9127cc8
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions