File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
java/com/afwsamples/testdpc/policy/keyguard Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ abstract static class Keys {
69
69
static final String MAX_TIME_SCREEN_LOCK = "key_max_time_screen_lock" ;
70
70
static final String MAX_TIME_SCREEN_LOCK_ALL = "key_max_time_screen_lock_aggregate" ;
71
71
72
+ static final String KEYGUARD_DISABLE_FACE = "keyguard_disable_face" ;
73
+ static final String KEYGUARD_DISABLE_IRIS = "keyguard_disable_iris" ;
72
74
static final String KEYGUARD_DISABLE_FINGERPRINT = "keyguard_disable_fingerprint" ;
73
75
static final String KEYGUARD_DISABLE_REMOTE_INPUT = "keyguard_disable_remote_input" ;
74
76
static final String KEYGUARD_DISABLE_SECURE_CAMERA = "keyguard_disable_secure_camera" ;
@@ -101,9 +103,15 @@ abstract static class Keys {
101
103
KEYGUARD_FEATURES .put (Keys .KEYGUARD_DISABLE_TRUST_AGENTS ,
102
104
DevicePolicyManager .KEYGUARD_DISABLE_TRUST_AGENTS );
103
105
106
+ KEYGUARD_FEATURES .put (Keys .KEYGUARD_DISABLE_FACE ,
107
+ DevicePolicyManager .KEYGUARD_DISABLE_FACE );
108
+
104
109
KEYGUARD_FEATURES .put (Keys .KEYGUARD_DISABLE_FINGERPRINT ,
105
110
DevicePolicyManager .KEYGUARD_DISABLE_FINGERPRINT );
106
111
112
+ KEYGUARD_FEATURES .put (Keys .KEYGUARD_DISABLE_IRIS ,
113
+ DevicePolicyManager .KEYGUARD_DISABLE_IRIS );
114
+
107
115
KEYGUARD_FEATURES .put (Keys .KEYGUARD_DISABLE_REMOTE_INPUT ,
108
116
DevicePolicyManager .KEYGUARD_DISABLE_REMOTE_INPUT );
109
117
}
Original file line number Diff line number Diff line change 804
804
<string name =" keyguard_disable_secure_notifications" >Disable secure notifications</string >
805
805
<string name =" keyguard_disable_unredacted_notifications" >Disable unredacted notifications</string >
806
806
<string name =" keyguard_disable_trust_agents" >Disable trust agents</string >
807
+ <string name =" keyguard_disable_face" >Disable face unlock</string >
808
+ <string name =" keyguard_disable_iris" >Disable iris unlock</string >
807
809
<string name =" keyguard_disable_fingerprint" >Disable fingerprint</string >
808
810
<string name =" keyguard_disable_remote_input" >Disable text entry in secure keyguard screen</string >
809
811
Original file line number Diff line number Diff line change 86
86
android : key =" keyguard_disable_trust_agents"
87
87
android : title =" @string/keyguard_disable_trust_agents"
88
88
testdpc : minSdkVersion =" L" />
89
+ <com .afwsamples.testdpc.common.preference.DpcSwitchPreference
90
+ android : key =" keyguard_disable_face"
91
+ android : title =" @string/keyguard_disable_face"
92
+ testdpc : minSdkVersion =" P" />
89
93
<com .afwsamples.testdpc.common.preference.DpcSwitchPreference
90
94
android : key =" keyguard_disable_fingerprint"
91
95
android : title =" @string/keyguard_disable_fingerprint"
92
96
testdpc : minSdkVersion =" L" />
97
+ <com .afwsamples.testdpc.common.preference.DpcSwitchPreference
98
+ android : key =" keyguard_disable_iris"
99
+ android : title =" @string/keyguard_disable_iris"
100
+ testdpc : minSdkVersion =" P" />
93
101
<com .afwsamples.testdpc.common.preference.DpcSwitchPreference
94
102
android : key =" keyguard_disable_remote_input"
95
103
android : title =" @string/keyguard_disable_remote_input"
You can’t perform that action at this time.
0 commit comments