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

Commit abaa4ad8 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Make sure tap detector is valid before trying to initialize.

Bug: 25879224
Change-Id: Iefebeec9a0c75fe25d4e2476b797a003670b047a
parent fc6e25ef
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7385,10 +7385,12 @@ public class WindowManagerService extends IWindowManager.Stub
            if (displayContent != null) {
                mAnimator.addDisplayLocked(displayId);
                displayContent.initializeDisplayBaseInfo();
                if (displayContent.mTapDetector != null) {
                    displayContent.mTapDetector.init();
                }
            }
        }
    }

    public void systemReady() {
        mPolicy.systemReady();