Add transitions between glanceable hub and gone state

Further adjustments may be needed so the behavior of glanceable hub
when exiting keyguard, such as closing when unlocking normally, but
staying open when entering edit mode. This change just ensures
KeyguardState remains accurate regardless of the scenario.

Bug: 319721010
Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT
Test: atest KeyguardTransitionScenariosTest
Change-Id: I3c80f2a9a173c5e363673d7f836ec864d4c96bf8
3 files changed