Control SystemUI behavior for rest to unlock using a device specific flag
Not all SideFPS sensor supported will support rest to unlock
Bug: 317164917
Test: all unit tests pass
Flag: ACONFIG com.android.systemui.rest_to_unlock TEAMFOOD
Change-Id: I4c92f8ae676e571b63474c7a1216c463227b283d
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
index 5c362b2..10f7c4d 100644
--- a/packages/SystemUI/res/values/config.xml
+++ b/packages/SystemUI/res/values/config.xml
@@ -962,6 +962,9 @@
<!-- Whether to show bottom sheets edge to edge -->
<bool name="config_edgeToEdgeBottomSheetDialog">true</bool>
+ <!-- Device specific config that controls whether rest to unlock feature is supported. -->
+ <bool name="config_restToUnlockSupported">false</bool>
+
<!--
Time in milliseconds the user has to touch the side FPS sensor to successfully authenticate when
the screen is turned off with AOD not enabled.