summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-03-17 13:58:26 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-03-17 14:04:25 -0700
commit57080c360c7dc36fd6094f143b31f3cad36f4998 (patch)
tree82676f015e93cba551ed5fe6708e2cfa47bb318d /src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java
parent744827989c78d85bb7874cefc606b39d8647c351 (diff)
downloadpackages_apps_SetupWizard-57080c360c7dc36fd6094f143b31f3cad36f4998.zip
packages_apps_SetupWizard-57080c360c7dc36fd6094f143b31f3cad36f4998.tar.gz
packages_apps_SetupWizard-57080c360c7dc36fd6094f143b31f3cad36f4998.tar.bz2
SetupWizard: Restore last page on setup wizard death.
Since the restore process (or any external setup wizard process) can take a long time to finish execution, save the current page and restore it on recreation when necessary. Change-Id: I575cf58047eb307c95408a0955dd7e5b50a62107 TICKET: CYNGNOS-2233
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java b/src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java
index 6b4982b..338c838 100644
--- a/src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java
+++ b/src/com/cyanogenmod/setupwizard/setup/SetupDataCallbacks.java
@@ -26,5 +26,6 @@ public interface SetupDataCallbacks {
boolean isCurrentPage(Page page);
Page getPage(String key);
Page getPage(int key);
+ void setCurrentPage(String key);
void addFinishRunnable(Runnable runnable);
}