diff options
| author | 2024-10-09 14:53:50 -0400 | |
|---|---|---|
| committer | 2024-10-09 18:59:31 +0000 | |
| commit | 655874ff0d41b7308ae3d62cf5e096730ca28e4c (patch) | |
| tree | 18c9d9a8e719aacdf6ef59c02f22dde348916de8 /api/api.go | |
| parent | dc9afc230b00767a9f75e05f2ab42e5e1c52f2de (diff) | |
Ignore dismiss requests if we're already going away.
These requests can come in if the activity we're unlocking to calls dismissKeyguard in onCreate/onResume. Activities that expect to sometimes launch over the lockscreen may do this (such as NewsActivity from Assistant). This should be a no-op, since we're already dismissing, but this was resulting in some activity launch animation state being set and never cleared, ending up on a black screen.
Test: manual with app that dismisses onResume
Fixes: 361832875
Flag: EXEMPT bugfix
Change-Id: Ibfc23643fe03a0f98fc69b2dea37e612b82d89ce
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions