1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-28 01:55:40 +02:00

Pebble: allow pbw installation with appinfo.json files up to 64k (was 8k)

Fixes DIN watchface installation
This commit is contained in:
Andreas Shimokawa 2015-12-21 22:27:17 +01:00
parent 87739d94db
commit 0c805809a5

View File

@ -186,7 +186,7 @@ public class PBWReader {
} else if (fileName.equals("appinfo.json")) {
long bytes = ze.getSize();
if (bytes > 8192) // that should be too much
if (bytes > 65536) // that should be too much
break;
ByteArrayOutputStream baos = new ByteArrayOutputStream();