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

Commit a6b10d78 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 am: b29c6071

parents 257ac41d b29c6071
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<>());
            }