mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 10:31:03 +01:00
16 lines
431 B
Java
16 lines
431 B
Java
|
package nodomain.freeyourgadget.gadgetbridge.util;
|
||
|
|
||
|
public class PebbleUtils {
|
||
|
public static String getPlatformName(String hwRev) {
|
||
|
String platformName;
|
||
|
if (hwRev.startsWith("snowy")) {
|
||
|
platformName = "basalt";
|
||
|
} else if (hwRev.startsWith("spalding")) {
|
||
|
platformName = "chalk";
|
||
|
} else {
|
||
|
platformName = "aplite";
|
||
|
}
|
||
|
return platformName;
|
||
|
}
|
||
|
}
|