summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java b/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
index 877f9ac..9bcce42 100644
--- a/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
@@ -124,9 +124,11 @@ public class GmsAccountPage extends SetupPage {
} else {
handleResult(requestCode, resultCode);
}
- } else if (requestCode == SetupWizardApp.REQUEST_CODE_RESTORE_GMS) {
+ } else {
+ if (requestCode == SetupWizardApp.REQUEST_CODE_RESTORE_GMS) {
+ setHidden(true);
+ }
handleResult(requestCode, resultCode);
- setHidden(true);
}
return true;
}