diff options
author | cretin45 <cretin45@gmail.com> | 2015-01-30 10:52:47 -0800 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-01-30 10:52:47 -0800 |
commit | e39d98bdb3d0a735fced80df36bee39c08ee398b (patch) | |
tree | 2c1019ca2fe716e5db744dced9df451c5f5f43a0 /src/com/cyanogenmod/setupwizard/setup/SetupPage.java | |
parent | 645354b463af20a848093062da9be963e61a3884 (diff) | |
download | packages_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/SetupPage.java')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/SetupPage.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/SetupPage.java b/src/com/cyanogenmod/setupwizard/setup/SetupPage.java index bb9ecd4..4479ab4 100644 --- a/src/com/cyanogenmod/setupwizard/setup/SetupPage.java +++ b/src/com/cyanogenmod/setupwizard/setup/SetupPage.java @@ -70,6 +70,9 @@ public abstract class SetupPage implements Page { } @Override + public void onFinishSetup() {} + + @Override public void doLoadAction(Activity context, int action) { if (context == null || context.isFinishing()) { return; } final FragmentManager fragmentManager = context.getFragmentManager(); |