OSDN Git Service

Add constants to adjust Vending input and output buffer sizes.
authorJasperln <jasperln@google.com>
Mon, 17 Aug 2009 20:29:11 +0000 (13:29 -0700)
committerJasperln <jasperln@google.com>
Mon, 17 Aug 2009 20:29:11 +0000 (13:29 -0700)
- Needed for Bug: 2058060

core/java/android/provider/Settings.java

index 9a9ddc9..4a4d2de 100644 (file)
@@ -2973,6 +2973,18 @@ public final class Settings {
                 "vending_pd_resend_frequency_ms";
 
         /**
+         * Size of buffer in bytes for Vending to use when reading cache files.
+         */
+        public static final String VENDING_DISK_INPUT_BUFFER_BYTES =
+                "vending_disk_input_buffer_bytes";
+
+        /**
+         * Size of buffer in bytes for Vending to use when writing cache files.
+         */
+        public static final String VENDING_DISK_OUTPUT_BUFFER_BYTES =
+                "vending_disk_output_buffer_bytes";
+
+        /**
          * Frequency in milliseconds at which we should cycle through the promoted applications
          * on the home screen or the categories page.
          */