Disable SetupRedactionInterstitial when complete
When RedactionInterstitial is complete, there is no need to show the SetupRedactionInterstitial as optional step anymore. Disable it via package manager when RedactionInterstatial completes. Test: Manual Bug: 36696006 Change-Id: I3fd421d6a8a0d24d7ebbe8c1e688a10e00067f2f
This commit is contained in:
@@ -73,6 +73,9 @@ public class SetupChooseLockPattern extends ChooseLockPattern {
|
||||
|
||||
@Override
|
||||
protected Intent getRedactionInterstitialIntent(Context context) {
|
||||
// Setup wizard's redaction interstitial is deferred to optional step. Enable that
|
||||
// optional step if the lock screen was set up.
|
||||
SetupRedactionInterstitial.setEnabled(context, false);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user