1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 14:02:56 +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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watch3; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watch4pro; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgt3; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgt4; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgt5; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgtcyber; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchgtrunner; 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() { public int getDeviceNameResource() {
return R.string.devicetype_huawei_watchultimate; return R.string.devicetype_huawei_watchultimate;
} }
@Override
public boolean supportsUnicodeEmojis() {
// HarmonyOS watch
return true;
}
} }