FalsingCollectorImpl: use Interactors under Flexiglass
The FalsingCollectorImpl needs to know whether the keyguard is showing and whether it's occluded so it knows when it doesn't need to do anything and when it should be registering for sensor updates. When Flexiglass is disabled, the source of truth for these signals is KeyguardStateController. When Flexiglass is enabled, the KeyguardStateController doesn't update, and the correct sources of truth for these signals are two different Interactors -- but we're still using KeyguardStateController right now. Therefore, modify FalsingCollectorImpl to use those Interactors when Flexiglass is enabled. Bug: 330492016 Fixes: 340255580 Test: atest FalsingCollectorImplTest Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: Ib1845853b26dd72470a35a42fa282f30e6375968
Loading
Please register or sign in to comment