diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-09-12 17:46:54 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-09-12 17:46:54 +0000 |
commit | 6cf36810aad480346f3d228a6d988867946cd2fe (patch) | |
tree | 9aef993659c7fa0bfabfc7657b7583d3a2da16c5 /android | |
parent | a9944012946fc28d28ba4fc95c2841e428acb65a (diff) | |
download | rockbox-6cf36810aad480346f3d228a6d988867946cd2fe.tar.gz rockbox-6cf36810aad480346f3d228a6d988867946cd2fe.zip |
Android: Use an explicit 8k buffer for unzipping libmisc.so to remove a warning in logcat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android')
-rw-r--r-- | android/src/org/rockbox/RockboxService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/src/org/rockbox/RockboxService.java b/android/src/org/rockbox/RockboxService.java index 6dc69b3404..40f75783d5 100644 --- a/android/src/org/rockbox/RockboxService.java +++ b/android/src/org/rockbox/RockboxService.java @@ -91,7 +91,7 @@ public class RockboxService extends Service private void startservice() { fb = new RockboxFramebuffer(this); - final int BUFFER = 2048; + final int BUFFER = 8*1024; /* the following block unzips libmisc.so, which contains the files * we ship, such as themes. It's needed to put it into a .so file * because there's no other way to ship files and have access @@ -124,7 +124,7 @@ public class RockboxService extends Service } continue; } - is = new BufferedInputStream(zipfile.getInputStream(entry)); + is = new BufferedInputStream(zipfile.getInputStream(entry), BUFFER); int count; byte data[] = new byte[BUFFER]; folder = new File(new File(entry.getName()).getParent()); |