SetupWizard: Add callback for actions to run post finish
Change-Id: Ifa62c94f61afbe33a97a66dc0acb72e303023579
This commit is contained in:
@@ -123,9 +123,14 @@ public class CyanogenSettingsPage extends SetupPage {
|
||||
|
||||
@Override
|
||||
public void onFinishSetup() {
|
||||
if (getData().containsKey(KEY_ENABLE_NAV_KEYS)) {
|
||||
writeDisableNavkeysOption(mContext, getData().getBoolean(KEY_ENABLE_NAV_KEYS));
|
||||
}
|
||||
getCallbacks().addFinishRunnable(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (getData().containsKey(KEY_ENABLE_NAV_KEYS)) {
|
||||
writeDisableNavkeysOption(mContext, getData().getBoolean(KEY_ENABLE_NAV_KEYS));
|
||||
}
|
||||
}
|
||||
});
|
||||
handleWhisperPushRegistration();
|
||||
handleEnableMetrics();
|
||||
handleDefaultThemeSetup();
|
||||
|
Reference in New Issue
Block a user