Remove the duplicated skip lock screen setting
Fix: 187366696 Test: robotests Change-Id: I063ef7c1a43e16aee6d141389896cadecfd3738f
This commit is contained in:
@@ -48,6 +48,7 @@ public class ShadowUtils {
|
||||
private static ArraySet<String> sResultLinks = new ArraySet<>();
|
||||
private static boolean sIsBatteryPresent;
|
||||
private static boolean sIsPageTransitionEnabled;
|
||||
private static boolean sIsMultipleBiometricsSupported;
|
||||
|
||||
@Implementation
|
||||
protected static int enforceSameOwner(Context context, int userId) {
|
||||
@@ -71,6 +72,7 @@ public class ShadowUtils {
|
||||
sResultLinks = new ArraySet<>();
|
||||
sIsBatteryPresent = true;
|
||||
sIsPageTransitionEnabled = true;
|
||||
sIsMultipleBiometricsSupported = false;
|
||||
}
|
||||
|
||||
public static void setIsDemoUser(boolean isDemoUser) {
|
||||
@@ -177,4 +179,13 @@ public class ShadowUtils {
|
||||
public static void setIsPageTransitionEnabled(boolean isPageTransitionEnabled) {
|
||||
sIsPageTransitionEnabled = isPageTransitionEnabled;
|
||||
}
|
||||
|
||||
@Implementation
|
||||
protected static boolean isMultipleBiometricsSupported(Context context) {
|
||||
return sIsMultipleBiometricsSupported;
|
||||
}
|
||||
|
||||
public static void setIsMultipleBiometricsSupported(boolean isMultipleBiometricsSupported) {
|
||||
sIsMultipleBiometricsSupported = isMultipleBiometricsSupported;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user