am ee6e3354: am 86e1b966: Fix ordering bug

* commit 'ee6e3354484233de65da431f0e2abbcd695d7dca':
  Fix ordering bug
This commit is contained in:
Dave Burke
2012-10-30 21:53:16 -07:00
committed by Android Git Automerger

View File

@@ -146,6 +146,8 @@ public class KeyguardHostView extends KeyguardViewBase {
@Override
protected void onFinishInflate() {
mViewStateManager = new KeyguardViewStateManager();
// Grab instances of and make any necessary changes to the main layouts. Create
// view state manager and wire up necessary listeners / callbacks.
mAppWidgetContainer = (KeyguardWidgetPager) findViewById(R.id.app_widget_container);
@@ -157,7 +159,6 @@ public class KeyguardHostView extends KeyguardViewBase {
addWidgetsFromSettings();
mSwitchPageRunnable.run();
mViewStateManager = new KeyguardViewStateManager();
SlidingChallengeLayout slider =
(SlidingChallengeLayout) findViewById(R.id.sliding_layout);
if (slider != null) {