SetupWizard: Refactor page completed to hidden

Change-Id: Ia5e84c52a711767e539adcc3b1a2fdc5d5a27b13
This commit is contained in:
cretin45
2015-01-28 21:32:50 -08:00
parent c3d44b4b83
commit f76ee499de
5 changed files with 15 additions and 15 deletions

View File

@@ -87,7 +87,7 @@ public class GmsAccountPage extends SetupPage {
if (requestCode == SetupWizardApp.REQUEST_CODE_SETUP_GMS) {
if (resultCode == Activity.RESULT_OK || resultCode == Activity.RESULT_FIRST_USER) {
if (SetupWizardUtils.accountExists(mContext, SetupWizardApp.ACCOUNT_TYPE_GMS)) {
setCompleted(true);
setHidden(true);
}
getCallbacks().onNextPage();
} else if (resultCode == Activity.RESULT_CANCELED) {