diff options
| author | 2022-08-19 15:26:29 -0700 | |
|---|---|---|
| committer | 2022-08-22 15:16:44 -0700 | |
| commit | 630185ed36e0bb17fb0edc48d959d4a81f0599df (patch) | |
| tree | 7f699df5fe08fe737a9c4c093ef3a39e7a3e1c98 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 4fd8012b648af8fbcef2b111cf4e7658a5a54908 (diff) | |
Affordances no longer clickable when invisible.
This CL fixes a bug where the user can click on the invisible (alpha =
0) quick affordances on the lock-screen. The reason they were clickable
was because the affordance views are fully faded-out, not truly invisible
or gone.
The approach taken is simply to make the views not clickable as soon as
they start being faded out.
Fix: 241830987
Test: manually verified that the buttons are no longer clickable when
the screen is locked and the notifications shade is pulled down (which
is how the manual test failed) and added unit tests for the view-model.
Change-Id: Ic8f6305cef2b544fc468290cd56fc381c48e0877
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions