Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1639966d authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

Merge "Disable search index of combine biometrics settings page when flag is on" into main

parents 56fe19d9 17707fb1
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -204,5 +204,11 @@ public class CombinedBiometricSettings extends BiometricsSettingsBase {
    }

    public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
            new CombinedBiometricSearchIndexProvider(R.xml.security_settings_combined_biometric);
            new CombinedBiometricSearchIndexProvider(R.xml.security_settings_combined_biometric) {
                @Override
                protected boolean isPageSearchEnabled(Context context) {
                    return super.isPageSearchEnabled(context)
                            && !Flags.biometricsOnboardingEducation();
                }
            };
}