diff options
author | likaid <likaid@codeaurora.org> | 2015-06-26 16:52:12 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-07-23 12:30:41 -0700 |
commit | 54093355ff331581253bc88268fc588836050b95 (patch) | |
tree | 0df56bdb366272fd18bdb66d4f47c50149e11221 /src/com/android/camera/MediaSaveService.java | |
parent | c28dbaf74ea7627cbea47537049b972dde6bdc4a (diff) | |
download | android_packages_apps_Snap-54093355ff331581253bc88268fc588836050b95.tar.gz android_packages_apps_Snap-54093355ff331581253bc88268fc588836050b95.tar.bz2 android_packages_apps_Snap-54093355ff331581253bc88268fc588836050b95.zip |
SnapdragonCamera: Enlarge the saving queue size to 60M
The picture would not be saved if the saving queue is full. Currently,
the queue is very easy to reach 50M during continuous shot with the
13M pixel pictures, that caused many pictures lost during continuous
shot.
Change the saving queue max size to 60M will avoid this issue,
mean while change the LOW_STORAGE_THRESHOLD_BYTES as the same value.
CRs-Fixed: 851554
Change-Id: Ib93f05404371872f2b82d489378c01a6122ccb6b
Diffstat (limited to 'src/com/android/camera/MediaSaveService.java')
-rw-r--r-- | src/com/android/camera/MediaSaveService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/MediaSaveService.java b/src/com/android/camera/MediaSaveService.java index c19dcd498..889f41dd8 100644 --- a/src/com/android/camera/MediaSaveService.java +++ b/src/com/android/camera/MediaSaveService.java @@ -40,7 +40,7 @@ public class MediaSaveService extends Service { public static final String VIDEO_BASE_URI = "content://media/external/video/media"; // The memory limit for unsaved image is 50MB. - private static final int SAVE_TASK_MEMORY_LIMIT = 50 * 1024 * 1024; + private static final int SAVE_TASK_MEMORY_LIMIT = 60 * 1024 * 1024; private static final String TAG = "CAM_" + MediaSaveService.class.getSimpleName(); private final IBinder mBinder = new LocalBinder(); |