summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Aaron Liu <aaronjli@google.com> 2023-03-30 13:55:33 -0700
committer Aaron Liu <aaronjli@google.com> 2023-03-30 13:55:33 -0700
commitcb6dfdf83b4fbbd430572bb2973bba6e4342c2e0 (patch)
tree2b616a4fc56c084301f03740de6cdd93c3dfc5fd /tests/DynamicCodeLoggerIntegrationTests/src
parentc23d114f09bfdf5c92c0463e874c1c4dd69cc9ab (diff)
Ensure that setVisibility is the
first operation that is done when isShowing state is collected. Before, visibility is set to VISIBLE after view is inflated. I think there is a race condition happening here where when isShowing is set to false, visible is set to INVISIBLE before view inflation has completed and then view is set to VISIBLE. Fixes: 274608304 Test: I was able to reproduce the bug by longpressing the lock icon and tapping the arrow icon in the notifications at the same time. The unscrimmed bouncer would show ~1/60 times. After the change, I can no longer repro. Change-Id: I539598ff83344ec92fdf0afaddd9c5a374d343ac
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions