[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:
Maurice Lam
2014-12-01 10:41:49 -08:00
parent 6b19fa9017
commit ecd2b7b81f
12 changed files with 280 additions and 9 deletions

View File

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