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

Commit 8ea8a29d authored by Jim Miller's avatar Jim Miller
Browse files

Fix 6578735: don't crash system ui when there's no search activity

Because SearchPanelView tracks input even when it's not showing, it
was possible to trigger search with a gesture.

Change-Id: I60f654d279d2ff1799d8a4b69796da8c7e81f3c7
parent 38616ccc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ public class SearchPanelView extends FrameLayout implements
        mBar.animateCollapse();
        // Launch Assist
        Intent intent = getAssistIntent();
        if (intent == null) return;
        try {
            ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
                    R.anim.search_launch_enter, R.anim.search_launch_exit);