diff options
author | Sascha Haeberling <haeberling@google.com> | 2012-10-15 18:28:42 -0700 |
---|---|---|
committer | Sascha Haeberling <haeberling@google.com> | 2012-10-17 11:22:03 -0700 |
commit | c635f76f2155525b2bcca5cfdd1320d16a865876 (patch) | |
tree | 3e83860a382b4657818827c4477c2f328ff057a5 /src_pd | |
parent | 7fc37252be8d12de906a9c68224f553f80c8ef52 (diff) | |
download | android_packages_apps_Snap-c635f76f2155525b2bcca5cfdd1320d16a865876.tar.gz android_packages_apps_Snap-c635f76f2155525b2bcca5cfdd1320d16a865876.tar.bz2 android_packages_apps_Snap-c635f76f2155525b2bcca5cfdd1320d16a865876.zip |
Adds GMS Core PanoramaClient to Gallery
Bug: 7319099
Also updates the API call to LightCycleHelper.
This depends on http://go/ag/#/c/239523/
Change-Id: Ie951e44e3a474599d1da6fea52609fbb9f8dc9bc
Diffstat (limited to 'src_pd')
-rw-r--r-- | src_pd/com/android/gallery3d/util/LightCycleHelper.java | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java index 995eac8b1..6ebd9eca2 100644 --- a/src_pd/com/android/gallery3d/util/LightCycleHelper.java +++ b/src_pd/com/android/gallery3d/util/LightCycleHelper.java @@ -17,7 +17,6 @@ package com.android.gallery3d.util; import android.app.Activity; -import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.net.Uri; @@ -39,6 +38,29 @@ public class LightCycleHelper { } } + public static class PanoramaViewHelper { + + public PanoramaViewHelper(Activity activity) { + /* Do nothing */ + } + + public void onStart() { + /* Do nothing */ + } + + public void onCreate() { + /* Do nothing */ + } + + public void onStop() { + /* Do nothing */ + } + + public void showPanorama(Uri uri) { + /* Do nothing */ + } + } + public static void setupCaptureIntent(Context context, Intent it, String outputDir) { /* Do nothing */ } @@ -47,10 +69,6 @@ public class LightCycleHelper { return false; } - public static void viewPanorama(Activity activity, Uri uri) { - /* Do nothing */ - } - public static PanoramaMetadata getPanoramaMetadata(Context context, Uri uri) { return null; } |