[FRP] Theme interstitials for lock screen setup
Use the setup wizard theme for EncryptionInterstital and RedactionInterstitial as they will show during the lock screen setup as part of setup wizard. Bug: 18482708 Change-Id: I65c8924952345a4e17fcf4ffb7d68df53244c5d7
This commit is contained in:
@@ -386,6 +386,10 @@ public class ChooseLockPattern extends SettingsActivity {
|
||||
mDone = false;
|
||||
}
|
||||
|
||||
protected Intent getRedactionInterstitialIntent(Context context) {
|
||||
return RedactionInterstitial.createStartIntent(context);
|
||||
}
|
||||
|
||||
public void onClick(View v) {
|
||||
if (v == mFooterLeftButton) {
|
||||
if (mUiStage.leftMode == LeftButtonMode.Retry) {
|
||||
@@ -562,7 +566,7 @@ public class ChooseLockPattern extends SettingsActivity {
|
||||
getActivity().finish();
|
||||
mDone = true;
|
||||
if (!wasSecureBefore) {
|
||||
startActivity(RedactionInterstitial.createStartIntent(getActivity()));
|
||||
startActivity(getRedactionInterstitialIntent(getActivity()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user