Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 536f067c authored by Michael Jurka's avatar Michael Jurka
Browse files

Fix crash on boot

parent 1f928787
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {