mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 18:57:36 +01:00
Zepp OS: Fix automatic default values for byte list preferences
This commit is contained in:
parent
5e6480ad19
commit
6c94ecce2e
@ -1069,7 +1069,7 @@ public class DeviceSpecificSettingsFragment extends PreferenceFragmentCompat imp
|
||||
} else if (preference instanceof PreferenceScreen) {
|
||||
// Ignoring
|
||||
} else {
|
||||
LOG.warn("Unknown preference class {}, ignoring", preference.getClass());
|
||||
LOG.warn("Unknown preference class {} for {}, ignoring", preference.getClass(), key);
|
||||
}
|
||||
|
||||
if (getPreferenceKeysWithSummary().contains(key)) {
|
||||
|
@ -1080,7 +1080,7 @@ public class ZeppOsConfigService extends AbstractZeppOsService {
|
||||
if (includesConstraints) {
|
||||
prefs.put(
|
||||
getPrefPossibleValuesKey(configArg.getPrefKey()),
|
||||
decodeByteValues(possibleValues, decoder)
|
||||
String.join(",", decodeByteValues(possibleValues, decoder))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user