From: kenstir Date: Fri, 25 Oct 2013 21:42:44 +0000 (-0400) Subject: Construct BufferedInputStream with explicit 8k buffer to avoid android logcat warning. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c0643448bd8c211f075d74d178eb9f77d4f7d491;p=working%2FEvergreen.git Construct BufferedInputStream with explicit 8k buffer to avoid android logcat warning. --- diff --git a/Open-ILS/src/Android/src/org/evergreen/android/globals/Utils.java b/Open-ILS/src/Android/src/org/evergreen/android/globals/Utils.java index e7d0358f60..214059a38b 100644 --- a/Open-ILS/src/Android/src/org/evergreen/android/globals/Utils.java +++ b/Open-ILS/src/Android/src/org/evergreen/android/globals/Utils.java @@ -185,7 +185,7 @@ public class Utils { InputStream is = conn.getInputStream(); // get the image from the // URLConnection conn using // InputStream is - BufferedInputStream bis = new BufferedInputStream(is); // create a + BufferedInputStream bis = new BufferedInputStream(is, 8*1024); // create a // BufferedInputStream // called bis // from is