File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
policy/src/com/android/internal/policy/impl/keyguard Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 );
@@ -157,7 +159,6 @@ protected void onFinishInflate() {
157159 addWidgetsFromSettings ();
158160 mSwitchPageRunnable .run ();
159161
160- mViewStateManager = new KeyguardViewStateManager ();
161162 SlidingChallengeLayout slider =
162163 (SlidingChallengeLayout ) findViewById (R .id .sliding_layout );
163164 if (slider != null ) {
You can’t perform that action at this time.
0 commit comments