diff options
author | Angus Kong <shkong@google.com> | 2013-06-18 16:47:57 -0700 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2013-06-26 13:45:59 -0700 |
commit | a6a6a730074e9fedd56c41cd8fa8f1212cfac108 (patch) | |
tree | 58818efb9fc3eb2d26784818d55ea338bc1a257f /src/com/android/camera/data/LocalData.java | |
parent | a6d9b6f18770fd279fa8dca994e5f92719350697 (diff) | |
download | android_packages_apps_Snap-a6a6a730074e9fedd56c41cd8fa8f1212cfac108.tar.gz android_packages_apps_Snap-a6a6a730074e9fedd56c41cd8fa8f1212cfac108.tar.bz2 android_packages_apps_Snap-a6a6a730074e9fedd56c41cd8fa8f1212cfac108.zip |
Add fullscreen mode.
1. Single tap to center a picture.
2. Double tap to fullscreen
3. In fullscreen, the next picture is on the left but the previous one
is under the current one.
Change-Id: I728da2487ea649162be4f1858a8524331c625157
Diffstat (limited to 'src/com/android/camera/data/LocalData.java')
-rw-r--r-- | src/com/android/camera/data/LocalData.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/data/LocalData.java b/src/com/android/camera/data/LocalData.java index d509dc8ac..ba861d225 100644 --- a/src/com/android/camera/data/LocalData.java +++ b/src/com/android/camera/data/LocalData.java @@ -438,7 +438,8 @@ public interface LocalData extends FilmStripView.ImageData { MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT)); } retriever.release(); - if (rotation.equals("90") || rotation.equals("270")) { + if (rotation != null + && (rotation.equals("90") || rotation.equals("270"))) { int b = d.width; d.width = d.height; d.height = b; |