File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
src/com/android/settings/password/generate Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,17 @@ class ConfirmGeneratedLockPassFragment : BaseLockPasswordGenerationFragment(
9494 passwordEntry?.setText(" " )
9595
9696 if (! wasSecureBefore) {
97- if (WizardManagerHelper .isAnySetupWizard(activity!! .intent)) {
97+ // if (WizardManagerHelper.isAnySetupWizard(activity!!.intent)) {
9898 // Setup wizard's redaction interstitial is deferred to optional step. Enable that
9999 // optional step if the lock screen was set up.
100- SetupRedactionInterstitial .setEnabled(context, true )
101- } else {
102- startActivity(RedactionInterstitial .createStartIntent(activity, mUserId))
103- }
100+ // SetupRedactionInterstitial.setEnabled(context, true)
101+ // } else {
102+ // Always show lock screen notification RedactionInterstitial, even if in SetupWizard.
103+ // Current SetupWizard2 doesn't call the optional component
104+ // If we use the Settings app's LOCK_SCREEN_REDACTION intent inside of SetupWizard, can
105+ // uncomment this check
106+ startActivity(RedactionInterstitial .createStartIntent(activity, mUserId))
107+ // }
104108 }
105109
106110 layout?.announceForAccessibility(getString(R .string.accessibility_setup_password_complete))
You can’t perform that action at this time.
0 commit comments