Fix clock being clipped in lockscreen after opening notification shade and unlocking

It happens when topClippingBounds is not set correctly until keyguard
finishes transition to GONE state, because in topClippingBounds in
KeyguardInteractor, we only emit topClippingBounds when it's set in
repository by filtering out GONE is finished in sampleFilter. We need to
reapply topClippingBounds when the change of GONE state is detected to
avoid keyguard being wrongly clipped.

Bug: 348596582
Flag: com.android.systemui.migrate_clocks_to_blueprint
Test: manually test with the steps in the bug description, observe clock
is not clipped / disappears after the change

Change-Id: I459a2ad86e0bd68f903ee46f65f8c66a184b0a45
1 file changed