commit | 7337b1515eb8b6beeabd11726fcce1f3e1e21bf6 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Thu Sep 05 15:54:36 2024 +0000 |
committer | Matt Pietal <mpietal@google.com> | Thu Sep 05 16:25:26 2024 +0000 |
tree | 03800b37cc459d440aacfd7277304bd0d2fa72ad | |
parent | 1253c74742d8df87e308315865e241ba006dab07 [diff] |
Only call dismissCallback cancel on reset if bouncer is showing There are many ways that reset() can get called, including coming out of dozing. This has the potential to remove a registered callback before the dismissal has actually occurred. The callback should only be canceled if the user has closed the bouncer. Fixes: 363091441 Test: atest StatusBarKeyguardViewManagerTest Flag: EXEMPT bugfix Change-Id: I3b8b55f7f1748433bdf7078dbf027076fc3f30b8