diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-06-01 19:33:32 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-06-02 13:03:16 +0800 |
commit | b653f90f33c6f9e6b48dfab018dece9dd021a476 (patch) | |
tree | a9001c78ac9fb1bcffa30952b67284cae586c191 /src/com/android/camera/MenuHelper.java | |
parent | 565664f274abbe19b3a04962711d33868541a3da (diff) | |
download | LegacyCamera-b653f90f33c6f9e6b48dfab018dece9dd021a476.zip LegacyCamera-b653f90f33c6f9e6b48dfab018dece9dd021a476.tar.gz LegacyCamera-b653f90f33c6f9e6b48dfab018dece9dd021a476.tar.bz2 |
Issue 1860338: Remove the video size check for "share".
So the receiving end applications can queue the video to MediaUploader.
This is basically a revert of perforce CL 137817.
Diffstat (limited to 'src/com/android/camera/MenuHelper.java')
-rw-r--r-- | src/com/android/camera/MenuHelper.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/android/camera/MenuHelper.java b/src/com/android/camera/MenuHelper.java index 81c9404..2a9254f 100644 --- a/src/com/android/camera/MenuHelper.java +++ b/src/com/android/camera/MenuHelper.java @@ -88,8 +88,6 @@ public class MenuHelper { public static final int MENU_VIDEO_PLAY = 23; public static final int MENU_VIDEO_SHARE = 24; - private static final long SHARE_FILE_LENGTH_LIMIT = 3L * 1024L * 1024L; - public static final int NO_STORAGE_ERROR = -1; public static final int CANNOT_STAT_ERROR = -2; public static final String EMPTY_STRING = ""; @@ -595,13 +593,6 @@ public class MenuHelper { onInvoke.run(new MenuCallback() { public void run(Uri u, IImage image) { if (image == null) return; - if (!isImage && getImageFileSize(image) - > SHARE_FILE_LENGTH_LIMIT) { - Toast.makeText(activity, - R.string.too_large_to_attach, - Toast.LENGTH_LONG).show(); - return; - } Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND); |