From 3792c63619edc8a8fc5be91f08bd41582202db0b Mon Sep 17 00:00:00 2001 From: pelya Date: Thu, 17 Oct 2013 21:27:09 +0300 Subject: [PATCH] Fixed slow startup due to screen keyboard init code --- project/java/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/java/Settings.java b/project/java/Settings.java index 5a7720876..f3520d3b4 100644 --- a/project/java/Settings.java +++ b/project/java/Settings.java @@ -592,7 +592,7 @@ class Settings static byte [] loadRaw(Activity p, int res) { byte [] buf = new byte[65536 * 2]; - byte [] a = new byte[65536 * 4 * 10]; // We need 2363516 bytes for the Sun theme + byte [] a = new byte[1048576 * 5]; // We need 5Mb buffer for Keen theme, and this Java code is inefficient int written = 0; try{ InputStream is = new GZIPInputStream(p.getResources().openRawResource(res));