From d5c545b45ac938dd358f0eb3af40a574a6e96a09 Mon Sep 17 00:00:00 2001 From: Angus Kong Date: Wed, 16 May 2012 19:15:56 -0700 Subject: Support Panorama preview. The panorama preview doesn't consider display rotation. bug:6305152 Change-Id: I6b87c18ed8eadf1b2bf5e64437c5b290d111cbba --- src/com/android/gallery3d/app/PhotoPage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/gallery3d/app/PhotoPage.java') diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index 493e4aaf4..595e35bb7 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -213,7 +213,8 @@ public class PhotoPage extends ActivityState implements } PhotoDataAdapter pda = new PhotoDataAdapter( mActivity, mPhotoView, mMediaSet, itemPath, mCurrentIndex, - mAppBridge == null ? -1 : 0); + mAppBridge == null ? -1 : 0, + mAppBridge == null ? false : mAppBridge.isPanorama()); mModel = pda; mPhotoView.setModel(mModel); -- cgit v1.2.3