Commit 7d40ed44 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Prevent NPE in browser menu

parent 412253ae
......@@ -155,7 +155,8 @@ public abstract class BaseBrowserFragment extends SortableFragment<BaseBrowserAd
public void onPrepareOptionsMenu(Menu menu) {
final MenuItem item = menu.findItem(;
if (item != null) item.setVisible(enableSearchOption());
protected int getLayoutId(){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment