OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0fd9b
)
Do not allow panorama viewer in secure album.
author
Wu-cheng Li
<wuchengli@google.com>
Mon, 10 Sep 2012 08:17:53 +0000
(16:17 +0800)
committer
Wu-cheng Li
<wuchengli@google.com>
Mon, 10 Sep 2012 08:17:53 +0000
(16:17 +0800)
bug:
7053266
Change-Id: I5195638e03e5eb32d47b50b7b568a40cd8a222d9
src/com/android/gallery3d/app/PhotoPage.java
patch
|
blob
|
history
diff --git
a/src/com/android/gallery3d/app/PhotoPage.java
b/src/com/android/gallery3d/app/PhotoPage.java
index
df149b2
..
0dcad81
100644
(file)
--- a/
src/com/android/gallery3d/app/PhotoPage.java
+++ b/
src/com/android/gallery3d/app/PhotoPage.java
@@
-794,7
+794,7
@@
public class PhotoPage extends ActivityState implements
boolean playVideo = (mSecureAlbum == null) &&
((item.getSupportedOperations() & MediaItem.SUPPORT_PLAY) != 0);
- boolean viewPanorama =
+ boolean viewPanorama =
(mSecureAlbum == null) &&
(item.getSupportedOperations() & MediaItem.SUPPORT_VIEW_PANORAMA) != 0;
if (playVideo) {