Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4a76c5f0 authored by Julia Tuttle's avatar Julia Tuttle
Browse files

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
parent df75bbb3
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