Commit fc3651d3 authored by Wu-cheng Li's avatar Wu-cheng Li
Browse files

Hide grid view menu item in secure album.

bug:7200451
Change-Id: I23b6fbc48aac46e9b25b159416bc9f64a357d038
parent 7a0b5fec
......@@ -1075,7 +1075,7 @@ public class PhotoPage extends ActivityState implements
Menu menu = mActionBar.getMenu();
if (menu == null) return;
MenuItem item = menu.findItem(R.id.action_grid);
if (item != null) item.setVisible(enabled);
if (item != null) item.setVisible((mSecureAlbum == null) && enabled);
}
public void onFilmModeChanged(boolean enabled) {
......
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