[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:
Shawn Lin
2024-12-20 05:37:39 +00:00
parent 12a64f350e
commit d6df87cca6
4 changed files with 121 additions and 6 deletions

View File

@@ -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();
}
/**