Skip to content
Commit 4f83ff47 authored by Evan Rosky's avatar Evan Rosky
Browse files

Use keyguard state directly instead of trying to remember it

When updating the divider, this was using the last-remembered
hidden state of the dividerview. The only user of hidden state
was keyguard. Sometimes, split-screen would be dismissed
before keyguard was dismissed. In this situation, the divider
state wouldn't be updated properly. So, instead of trying
to use the potentially incorrect state, always just check the
keyguard directly to determine hidden state.

Bug: 161170237
Test: put 2 apps in splitscreen, lock screen, open emergency,
      then unlock, go to splitscreen again, re-lock and see
      no divider bar.
Change-Id: I470be161e6c712111549959b0f4471867d08a276
parent c2322518
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment