Settings UI fix for missing secure lock screen feature.

Bug: 123737250
Bug: 111072170
Bug: 111071972
Test: manual both with and without the feature flag
Test: make RunSettingsRoboTests

Change-Id: Iacefa95dce85d860633315e074cbf2772691cfdd
This commit is contained in:
Lenka Trochtova
2019-01-25 17:21:54 +01:00
parent 0d8d233a3d
commit bb8e81770b
7 changed files with 42 additions and 10 deletions

View File

@@ -31,6 +31,11 @@ public class ShadowLockPatternUtils {
private static boolean sDeviceEncryptionEnabled;
@Implementation
protected boolean hasSecureLockScreen() {
return true;
}
@Implementation
protected boolean isSecure(int id) {
return true;