Skip to content

Commit 3c416df

Browse files
mikejurkaAndroid (Google) Code Review
authored andcommitted
Merge "Fix crash on boot" into jb-mr1-lockscreen-dev
2 parents 162fc8e + 536f067 commit 3c416df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ private int getWidgetPosition(int id) {
146146

147147
@Override
148148
protected void onFinishInflate() {
149+
mViewStateManager = new KeyguardViewStateManager();
150+
149151
// Grab instances of and make any necessary changes to the main layouts. Create
150152
// view state manager and wire up necessary listeners / callbacks.
151153
mAppWidgetContainer = (KeyguardWidgetPager) findViewById(R.id.app_widget_container);

0 commit comments

Comments
 (0)