From d0389e4e6ec9bfaaf2e95b5c2c2afde029fd4571 Mon Sep 17 00:00:00 2001 From: cretin45 Date: Thu, 19 Mar 2015 09:46:17 -0700 Subject: SetupWizard: Fix regression, only init pages once Change-Id: I1207cb3975daa752a66eb8e9e40635f9a8009509 (cherry picked from commit 83be05d6ecf435be562f397e98e0ad61e5974ecd) --- src/com/cyanogenmod/setupwizard/ui/SetupPageFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/cyanogenmod/setupwizard/ui') 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(); } -- cgit v1.1