Skip to content

Commit 6b32b42

Browse files
committed
[smarcet] - #14815
* fixed null pointer exception
1 parent f6dae9c commit 6b32b42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/java/org/openstack/android/summit/modules/push_notifications_inbox/user_interface/PushPushNotificationsListFragment.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ public boolean onOptionsItemSelected(MenuItem item) {
130130
default:
131131
break;
132132
}
133-
searchView.setOnQueryTextListener(queryTextListener);
133+
if (searchView != null) {
134+
searchView.setOnQueryTextListener(queryTextListener);
135+
}
134136
return super.onOptionsItemSelected(item);
135137
}
136138

0 commit comments

Comments
 (0)