mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-27 09:01:38 +01:00
Merge branch 'master' of codeberg.org:Freeyourgadget/Gadgetbridge into multi-device-support
This commit is contained in:
commit
970f178b86
@ -938,6 +938,11 @@ public class DeviceSpecificSettingsFragment extends PreferenceFragmentCompat imp
|
||||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
LOG.debug("Preference changed: {}", key);
|
||||
|
||||
if(key == null){
|
||||
LOG.warn("Preference null, ignoring");
|
||||
return;
|
||||
}
|
||||
|
||||
final Preference preference = findPreference(key);
|
||||
if (preference == null) {
|
||||
LOG.warn("Preference {} not found, ignoring", key);
|
||||
|
Loading…
Reference in New Issue
Block a user