OSDN Git Service
(root)
/
android-x86
/
packages-apps-Gallery2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d99b96
)
Do not show action bar on camera.
author
Wu-cheng Li
<wuchengli@google.com>
Mon, 30 Apr 2012 10:36:22 +0000
(18:36 +0800)
committer
Wu-cheng Li
<wuchengli@google.com>
Mon, 30 Apr 2012 10:39:13 +0000
(18:39 +0800)
bug:
6411406
Change-Id: I4fbb95c9913046b4d5b1cfa4ede10490d156ed3f
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
c9977b9
..
afa56c9
100644
(file)
--- a/
src/com/android/gallery3d/app/PhotoPage.java
+++ b/
src/com/android/gallery3d/app/PhotoPage.java
@@
-574,8
+574,8
@@
public class PhotoPage extends ActivityState implements
}
MediaItem item = mModel.getCurrentMediaItem();
- if (item == null) {
- // item is not ready, ignore
+ if (item == null
|| item == mScreenNailItem
) {
+ // item is not ready
or it is camera preview
, ignore
return;
}