Skip to content
Commit aa4bf788 authored by Chris Li's avatar Chris Li
Browse files

Fix locked second screen on boot

Before, when hid and showed a different keyguard presentation, the
onDismissListener would remove the newly added one, which caused the
later presentation existence check to return the incorrect value. Now,
we add a check to only remove the dismissed presentation.

Bug: 152253158
Test: MultiDisplayKeyguardTests#testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock
      MultiDisplayKeyguardTests#testUnlockScreen_decoredSystemDisplayChanged_dismissesKeyguardOnUnlock
Change-Id: I9dabc15e1228cc9417ed24981b332b8f1af818c8
parent c2ba1873
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment