From 0d39727f843ad7be83118e07d38ac67c145cb18f Mon Sep 17 00:00:00 2001 From: cretin45 Date: Fri, 23 Jan 2015 21:19:15 -0800 Subject: [PATCH] SetupWizard: Advance if account exists Change-Id: I8ab1c1b4f25c31d7c97f568b923724743cd3c322 --- .../cyanogenmod/setupwizard/setup/CyanogenServicesPage.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenServicesPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenServicesPage.java index f6ac990..60fd0d2 100644 --- a/src/com/cyanogenmod/setupwizard/setup/CyanogenServicesPage.java +++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenServicesPage.java @@ -79,8 +79,10 @@ public class CyanogenServicesPage extends SetupPage { if (!SetupWizardUtils.accountExists(mContext, mContext.getString(R.string.cm_account_type))) { launchCyanogenAccountSetup(context); + super.doLoadAction(context, action); + } else { + getCallbacks().onNextPage(); } - super.doLoadAction(context, action); } }