diff options
author | cretin45 <cretin45@gmail.com> | 2015-03-19 09:46:17 -0700 |
---|---|---|
committer | Ed Carrigan <cretin45@gmail.com> | 2015-04-01 02:01:32 +0000 |
commit | d0389e4e6ec9bfaaf2e95b5c2c2afde029fd4571 (patch) | |
tree | 6cde55479671d81abccf2d0e5d63bd83adbbd1ac /src/com/cyanogenmod/setupwizard/ui | |
parent | dbc1ceb8ca97143a0067c2b97ca14a68fb789f69 (diff) | |
download | packages_apps_SetupWizard-d0389e4e6ec9bfaaf2e95b5c2c2afde029fd4571.zip packages_apps_SetupWizard-d0389e4e6ec9bfaaf2e95b5c2c2afde029fd4571.tar.gz packages_apps_SetupWizard-d0389e4e6ec9bfaaf2e95b5c2c2afde029fd4571.tar.bz2 |
SetupWizard: Fix regression, only init pages once
Change-Id: I1207cb3975daa752a66eb8e9e40635f9a8009509
(cherry picked from commit 83be05d6ecf435be562f397e98e0ad61e5974ecd)
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/ui')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/ui/SetupPageFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/ui/SetupPageFragment.java b/src/com/cyanogenmod/setupwizard/ui/SetupPageFragment.java index 3c85f5a..93b349c 100644 --- a/src/com/cyanogenmod/setupwizard/ui/SetupPageFragment.java +++ b/src/com/cyanogenmod/setupwizard/ui/SetupPageFragment.java @@ -58,6 +58,7 @@ public abstract class SetupPageFragment extends Fragment { mRootView = inflater.inflate(getLayoutResource(), container, false); mTitleView = (TextView) mRootView.findViewById(android.R.id.title); mHeaderView = (ViewGroup ) mRootView.findViewById(R.id.header); + initializePage(); return mRootView; } @@ -83,7 +84,6 @@ public abstract class SetupPageFragment extends Fragment { if (mTitleView != null) { mTitleView.setText(mPage.getTitleResId()); } - initializePage(); mCallbacks.onPageLoaded(mPage); getActivity().startPostponedEnterTransition(); } |