SetupWizard: Advance if account exists

Change-Id: I8ab1c1b4f25c31d7c97f568b923724743cd3c322
This commit is contained in:
cretin45 2015-01-23 21:19:15 -08:00
parent b7e0ddb233
commit 0d39727f84

View File

@ -79,8 +79,10 @@ public class CyanogenServicesPage extends SetupPage {
if (!SetupWizardUtils.accountExists(mContext, if (!SetupWizardUtils.accountExists(mContext,
mContext.getString(R.string.cm_account_type))) { mContext.getString(R.string.cm_account_type))) {
launchCyanogenAccountSetup(context); launchCyanogenAccountSetup(context);
}
super.doLoadAction(context, action); super.doLoadAction(context, action);
} else {
getCallbacks().onNextPage();
}
} }
} }