SetupWizard: Advance if account exists
Change-Id: I8ab1c1b4f25c31d7c97f568b923724743cd3c322
This commit is contained in:
@@ -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);
|
||||||
|
} else {
|
||||||
|
getCallbacks().onNextPage();
|
||||||
}
|
}
|
||||||
super.doLoadAction(context, action);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user