SetupWizard: Fix double advance after adding account
Change-Id: I039f0c290c4ef539df16374cb1e6f2e7b49e41cd
This commit is contained in:
@@ -76,7 +76,10 @@ public class CyanogenServicesPage extends SetupPage {
|
||||
if (action == Page.ACTION_PREVIOUS) {
|
||||
getCallbacks().onPreviousPage();
|
||||
} else {
|
||||
launchCyanogenAccountSetup(context);
|
||||
if (!SetupWizardUtils.accountExists(mContext,
|
||||
mContext.getString(R.string.cm_account_type))) {
|
||||
launchCyanogenAccountSetup(context);
|
||||
}
|
||||
super.doLoadAction(context, action);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user