Skip to content

Commit a78bdd9

Browse files
Jim MillerAndroid (Google) Code Review
authored andcommitted
Merge "Fix 6578735: don't crash system ui when there's no search activity" into jb-dev
2 parents 6c66e98 + 8ea8a29 commit a78bdd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/SystemUI/src/com/android/systemui/SearchPanelView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ private void startAssistActivity() {
110110
mBar.animateCollapse(CommandQueue.FLAG_EXCLUDE_SEARCH_PANEL);
111111
// Launch Assist
112112
Intent intent = getAssistIntent();
113+
if (intent == null) return;
113114
try {
114115
ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
115116
R.anim.search_launch_enter, R.anim.search_launch_exit);

0 commit comments

Comments
 (0)