summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-04-21 12:20:56 -0700
committerRoman Birg <roman@cyngn.com>2016-04-25 09:00:59 -0700
commitaf828584aed38eb47632722850246e0cdf4050cd (patch)
tree77c5bb819616182694e8935bef8c70c60fc3f608
parentfccccda7879d397ed8d8508d23d09a0ef417b1df (diff)
downloadpackages_apps_SetupWizard-af828584aed38eb47632722850246e0cdf4050cd.zip
packages_apps_SetupWizard-af828584aed38eb47632722850246e0cdf4050cd.tar.gz
packages_apps_SetupWizard-af828584aed38eb47632722850246e0cdf4050cd.tar.bz2
SetupWizard: GMS page controls the next step
Ticket: CYNGNOS-2533 Change-Id: Icf7dc1de653d18ac60ddfa52dddbe9412dbc8eda Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java b/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
index 1be40da..eebf3f5 100644
--- a/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
@@ -156,6 +156,13 @@ public class GmsAccountPage extends SetupPage {
}
@Override
+ public boolean doNextAction() {
+ final boolean canSkip = canSkip();
+ // return true to force this page to handle the next action.
+ return !canSkip;
+ }
+
+ @Override
public void onFinishSetup() {
}