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

Commit b8dc150e authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed ServiceNameBaseResolver

It was using the wron API to remove a key from the map.

Fixes: 279444189

Test: adb shell cmd content_suggestions set default-service-enabled 42 true && adb shell cmd content_suggestions set default-service-enabled 42 false

Change-Id: I92b91c08a4f47829697f9425129572ed3eeadf89
parent f64a382e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ public abstract class ServiceNameBaseResolver implements ServiceNameResolver {
            }
            if (enabled) {
                Slog.i(TAG, "disabling default service for user " + userId);
                mDefaultServicesDisabled.removeAt(userId);
                mDefaultServicesDisabled.delete(userId);
            } else {
                Slog.i(TAG, "enabling default service for user " + userId);
                mDefaultServicesDisabled.put(userId, true);