[flexiglass] Addresses ConcurrentModificationException
KeyguardBypassRepository depended on TunerService and was hitting it
from the background thread, probably causing a concurrent modification
if another system was writing to it from a different thread.
Since TunerService is deprecated, I changed KeyguardBypassRepository to
depend on secure settings instead.
Fix: 377907594
Test: manually verified face unlock correctly skips or doesn't fix the
lockscreen basaed on the setting
Test: unit tests updated
Flag: com.android.systemui.scene_container
Change-Id: I1f2cca79c871ba4b077a764a835a63abf8ff942d
4 files changed