summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2025-01-02 11:27:09 +0000
committer Harry Cutts <hcutts@google.com> 2025-01-02 11:35:03 +0000
commit09afc2b36e9803717d706a80fefe9cefd9d098ec (patch)
treebb39396f9882f6a42a443b26c2c78bf1552cb27c /libs/androidfw/FileStream.cpp
parent49e9bfc322e66c7a274477e93a97ac1d388eb1cb (diff)
Touchpad debug view: fix crash when disabling using touchpad
When using the touchpad to toggle the "Show touchpad input" developer option off, the hideDebugView method (which sets mTouchpadDebugView to null) was running in between the mTouchpadDebugView.post call and the posted action actually running, so we need another null check within the action. Bug: 376018148 Test: with the developer option enabled, click its toggle using the touchpad that's currently being visualized Flag: com.android.hardware.input.touchpad_visualizer Change-Id: I8e2be39c05c9cab2d51b98acabf95b399d0a00a5
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions