Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfaadb90 authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Fix certain setting writes being incorrectly skipped." into cm-10.2

parents 016f7fb3 84b751e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1179,7 +1179,7 @@ public class SettingsProvider extends ContentProvider {
            if (cache == null) return false;
            synchronized (cache) {
                Bundle bundle = cache.get(name);
                if (bundle == null) return false;
                if (bundle == null || bundle == TOO_LARGE_TO_CACHE_MARKER) return false;
                String oldValue = bundle.getPairValue();
                if (oldValue == null && value == null) return true;
                if ((oldValue == null) != (value == null)) return false;