diff options
author | George Mount <mount@google.com> | 2012-09-07 11:01:37 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-07 11:01:38 -0700 |
commit | 4badebb6c36f6dc5ae1af74d78acd1e7f2e251c9 (patch) | |
tree | adf331d88bf9aff72b3c133777f6ee34ccb284c1 /src/com/android/gallery3d/data | |
parent | 88e08dcfe74274646383a237b6306877ef74bf1f (diff) | |
parent | f10ed2d3355f808304e33cb145d0c232a787d03a (diff) | |
download | android_packages_apps_Gallery2-4badebb6c36f6dc5ae1af74d78acd1e7f2e251c9.tar.gz android_packages_apps_Gallery2-4badebb6c36f6dc5ae1af74d78acd1e7f2e251c9.tar.bz2 android_packages_apps_Gallery2-4badebb6c36f6dc5ae1af74d78acd1e7f2e251c9.zip |
Merge "Use XmpUtil to detect panorama instead of caption." into gb-ub-photos-arches
Diffstat (limited to 'src/com/android/gallery3d/data')
-rw-r--r-- | src/com/android/gallery3d/data/LocalImage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/data/LocalImage.java b/src/com/android/gallery3d/data/LocalImage.java index 299cc1f0d..b803bd256 100644 --- a/src/com/android/gallery3d/data/LocalImage.java +++ b/src/com/android/gallery3d/data/LocalImage.java @@ -241,7 +241,7 @@ public class LocalImage extends LocalMediaItem { operation |= SUPPORT_SHOW_ON_MAP; } - if (LightCycleHelper.isPanorama(caption) && + if (LightCycleHelper.isPanorama(filePath) && LightCycleHelper.hasLightCycleView( mApplication.getAndroidContext())) { operation |= SUPPORT_VIEW_PANORAMA; |