summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-01-30 10:52:47 -0800
committercretin45 <cretin45@gmail.com>2015-01-30 10:52:47 -0800
commite39d98bdb3d0a735fced80df36bee39c08ee398b (patch)
tree2c1019ca2fe716e5db744dced9df451c5f5f43a0 /src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java
parent645354b463af20a848093062da9be963e61a3884 (diff)
downloadpackages_apps_SetupWizard-e39d98bdb3d0a735fced80df36bee39c08ee398b.zip
packages_apps_SetupWizard-e39d98bdb3d0a735fced80df36bee39c08ee398b.tar.gz
packages_apps_SetupWizard-e39d98bdb3d0a735fced80df36bee39c08ee398b.tar.bz2
SetupWizard. Let each page optionally handle deferred actions on finish
Change-Id: I040d8dd472cc73ee034b3dbe8177a5b2e3314918
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java b/src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java
index e0e3faf..184afba 100644
--- a/src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java
+++ b/src/com/cyanogenmod/setupwizard/setup/AbstractSetupData.java
@@ -133,6 +133,12 @@ public abstract class AbstractSetupData extends BroadcastReceiver implements Set
}
}
+ public void finishPages() {
+ for (Page page : mPageList.values()) {
+ page.onFinishSetup();
+ }
+ }
+
public Bundle save() {
Bundle bundle = new Bundle();
for (Page page : mPageList.values()) {