1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

Pebble: do not use platform dir for pbz(firmware) files, even basalt has its files in / for fw files

This commit is contained in:
Andreas Shimokawa 2015-08-14 17:32:06 +02:00
parent f5fbb08696
commit f659e34efc

View File

@ -59,7 +59,7 @@ public class PBWReader {
public PBWReader(Uri uri, Context context, String platform) {
String platformDir = "";
if (!platform.equals("aplite")) {
if (!uri.toString().endsWith(".pbz") && platform.equals("basalt")) {
platformDir = platform + "/";
}