diff options
author | George Mount <mount@google.com> | 2013-08-06 16:07:17 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2013-08-07 07:55:49 -0700 |
commit | d1763a30cb0191e926467dc529e252b545ec9a9f (patch) | |
tree | 23c5866bcb207f00e3d2253dff10a04ba5f5bdb0 /src/com/android/gallery3d/app/AbstractGalleryActivity.java | |
parent | 43d50328a2dcd3ab22821ce5d20715ad206dca1c (diff) | |
download | android_packages_apps_Gallery2-d1763a30cb0191e926467dc529e252b545ec9a9f.tar.gz android_packages_apps_Gallery2-d1763a30cb0191e926467dc529e252b545ec9a9f.tar.bz2 android_packages_apps_Gallery2-d1763a30cb0191e926467dc529e252b545ec9a9f.zip |
Move PanoramaViewHelper out of LightCycleHelper
PanoramaViewHelper can be used outside of LightCycle panorama
picture creation.
Change-Id: I40bb357385fa311f9115dffaa143119cfcb5f45f
Diffstat (limited to 'src/com/android/gallery3d/app/AbstractGalleryActivity.java')
-rw-r--r-- | src/com/android/gallery3d/app/AbstractGalleryActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java index ac39aa560..c4367c06d 100644 --- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java +++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java @@ -42,7 +42,7 @@ import com.android.gallery3d.data.DataManager; import com.android.gallery3d.data.MediaItem; import com.android.gallery3d.ui.GLRoot; import com.android.gallery3d.ui.GLRootView; -import com.android.gallery3d.util.LightCycleHelper.PanoramaViewHelper; +import com.android.gallery3d.util.PanoramaViewHelper; import com.android.gallery3d.util.ThreadPool; import com.android.photos.data.GalleryBitmapPool; @@ -311,10 +311,12 @@ public class AbstractGalleryActivity extends Activity implements GalleryContext private BatchService mBatchService; private boolean mBatchServiceIsBound = false; private ServiceConnection mBatchServiceConnection = new ServiceConnection() { + @Override public void onServiceConnected(ComponentName className, IBinder service) { mBatchService = ((BatchService.LocalBinder)service).getService(); } + @Override public void onServiceDisconnected(ComponentName className) { mBatchService = null; } |