mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 18:57:36 +01:00
Merge branch 'upstream_master' into black_whitelist_for_notifications
This commit is contained in:
commit
c5358bcbdf
@ -59,7 +59,7 @@ public class No1F1Coordinator extends AbstractDeviceCoordinator {
|
||||
@Override
|
||||
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
||||
String name = candidate.getDevice().getName();
|
||||
if (name != null && name.startsWith("X-RUN")) {
|
||||
if (name != null && (name.startsWith("X-RUN") || name.startsWith("MH30"))) {
|
||||
return DeviceType.NO1F1;
|
||||
}
|
||||
|
||||
|
@ -608,4 +608,5 @@
|
||||
<string name="ok">Akzeptieren</string>
|
||||
|
||||
<string name="mi3_night_mode_sunset">Bei Sonnenuntergang</string>
|
||||
<string name="pref_rtl_max_line_length">Maximale Zeilenlänge von rechts nach links</string>
|
||||
</resources>
|
||||
|
@ -120,6 +120,7 @@ public class DeviceCommunicationServiceTestCase extends TestBase {
|
||||
public void testRtlSupport() {
|
||||
SharedPreferences settings = GBApplication.getPrefs().getPreferences();
|
||||
SharedPreferences.Editor editor = settings.edit();
|
||||
editor.putBoolean("transliteration", false);
|
||||
editor.putBoolean(GBPrefs.RTL_SUPPORT, true);
|
||||
editor.commit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user