1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 12:26:48 +01:00

Huawei: Enable emoji for HarmonyOS watches

This commit is contained in:
José Rebelo 2024-10-13 17:53:30 +01:00 committed by José Rebelo
parent 80967ce42b
commit 1f4987ab98
8 changed files with 48 additions and 0 deletions

View File

@ -38,4 +38,10 @@ public class HuaweiWatch3Coordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watch3;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -43,4 +43,10 @@ public class HuaweiWatch4ProCoordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watch4pro;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -38,4 +38,10 @@ public class HuaweiWatchGT3Coordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgt3;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -43,4 +43,10 @@ public class HuaweiWatchGT4Coordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgt4;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -38,4 +38,10 @@ public class HuaweiWatchGT5Coordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgt5;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -38,4 +38,10 @@ public class HuaweiWatchGTCyberCoordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgtcyber;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -38,4 +38,10 @@ public class HuaweiWatchGTRunnerCoordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgtrunner;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}

View File

@ -43,4 +43,10 @@ public class HuaweiWatchUltimateCoordinator extends HuaweiBRCoordinator {
public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchultimate;
}
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
}