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

Commit b29c6071 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix bug in DPM#setDrawable" into tm-dev am: e629b8ac

parents 4a649744 e629b8ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -141,11 +141,11 @@ class DeviceManagementResourcesProvider {
            String drawableId, String drawableSource, String drawableStyle,
            ParcelableResource updatableResource) {
        synchronized (mLock) {
            Map<String, Map<String, ParcelableResource>> drawablesForId =
                    mUpdatedDrawablesForSource.get(drawableId);
            if (!mUpdatedDrawablesForSource.containsKey(drawableId)) {
                mUpdatedDrawablesForSource.put(drawableId, new HashMap<>());
            }
            Map<String, Map<String, ParcelableResource>> drawablesForId =
                    mUpdatedDrawablesForSource.get(drawableId);
            if (!drawablesForId.containsKey(drawableSource)) {
                mUpdatedDrawablesForSource.get(drawableId).put(drawableSource, new HashMap<>());
            }