Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Gallery2
Commits
fc3651d3
Commit
fc3651d3
authored
12 years ago
by
Wu-cheng Li
Browse files
Options
Download
Email Patches
Plain Diff
Hide grid view menu item in secure album.
bug:7200451 Change-Id: I23b6fbc48aac46e9b25b159416bc9f64a357d038
parent
7a0b5fec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/com/android/gallery3d/app/PhotoPage.java
src/com/android/gallery3d/app/PhotoPage.java
+1
-1
No files found.
src/com/android/gallery3d/app/PhotoPage.java
View file @
fc3651d3
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment