diff options
author | Chia-chi Yeh <chiachi@android.com> | 2010-12-22 17:14:34 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2010-12-27 17:29:36 +0800 |
commit | d1ec4e36667086836cd243bee38aded5e1fd88b1 (patch) | |
tree | 00bd5840b29854a77104e30f54cbee2bee0d1218 /src/com/android/camera/MenuHelper.java | |
parent | 58162f953dbfb39dcbb60ce12a5e55f30a7bb8ef (diff) | |
download | LegacyCamera-d1ec4e36667086836cd243bee38aded5e1fd88b1.zip LegacyCamera-d1ec4e36667086836cd243bee38aded5e1fd88b1.tar.gz LegacyCamera-d1ec4e36667086836cd243bee38aded5e1fd88b1.tar.bz2 |
Refactoring: Reduce the dependency to the old gallery code.
Most of the functionalities will be implemented in Storage class.
Change-Id: Ibe0185978de511ead4cd91870070bdd2abce1e00
Diffstat (limited to 'src/com/android/camera/MenuHelper.java')
-rw-r--r-- | src/com/android/camera/MenuHelper.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/MenuHelper.java b/src/com/android/camera/MenuHelper.java index 239e38b..0346e9a 100644 --- a/src/com/android/camera/MenuHelper.java +++ b/src/com/android/camera/MenuHelper.java @@ -152,8 +152,7 @@ public class MenuHelper { private static void gotoGallery(Activity activity, int windowTitleId, int mediaTypes) { Uri target = Images.Media.EXTERNAL_CONTENT_URI.buildUpon() - .appendQueryParameter("bucketId", - ImageManager.CAMERA_IMAGE_BUCKET_ID).build(); + .appendQueryParameter("bucketId", Storage.BUCKET_ID).build(); Intent intent = new Intent(Intent.ACTION_VIEW, target); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.putExtra("windowTitle", activity.getString(windowTitleId)); |