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/Storage.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/Storage.java')
-rw-r--r-- | src/com/android/camera/Storage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/Storage.java b/src/com/android/camera/Storage.java index 372571a80..6239494dc 100644 --- a/src/com/android/camera/Storage.java +++ b/src/com/android/camera/Storage.java @@ -53,7 +53,7 @@ public class Storage { public static final long UNAVAILABLE = -1L; public static final long PREPARING = -2L; public static final long UNKNOWN_SIZE = -3L; - public static final long LOW_STORAGE_THRESHOLD_BYTES = 50000000; + public static final long LOW_STORAGE_THRESHOLD_BYTES = 60 * 1024 * 1024; private static boolean sSaveSDCard = false; |