[Biometric Onboarding & Edu] move screen lock settings to choose lock
- Hide gear menu in LockScreenSafetySource - Move screen lock settings to ChooseLockGeneric Bug: 370940762 Test: atest ScreenLockPreferenceDetailsUtilsTest Flag: com.android.settings.flags.biometrics_onboarding_education Change-Id: I07c7bb16ecc2ea6e7cd64a4e1d6bf4f493c5b951
This commit is contained in:
@@ -92,7 +92,8 @@ public class ScreenLockPreferenceDetailsUtils {
|
||||
* Returns whether the Gear Menu should be shown.
|
||||
*/
|
||||
public boolean shouldShowGearMenu() {
|
||||
return isLockPatternSecure();
|
||||
return !com.android.settings.flags.Flags.biometricsOnboardingEducation()
|
||||
&& isLockPatternSecure();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user