[flexiglass] Respond to falsing detections.
When falsing occurs, the FalsingManager invokes its
FalsingBeliefListeners.
This CL adds a FalsingBeliefListener for Flexiglass and changes to the
Lockscreen scene when falsing happens.
Fix: 326323853
Test: unit test added
Test: manually verified that triggering falsing while not on the
lockscreen (bouncer, shade) returns to the lockscreen. Did this by
issuing many small zig-zag swipes and observing the logcat messages from
FalsingManager to make sure I see it print "Triggering False Event
(Threshold: 0.9)"
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: Iad72fde6490809ebe8a7ccaf53449dc6e9b03403
4 files changed