mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-17 02:44:04 +02: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;
|
||
|
}
|
||
|
}
|