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

Commit b8f261a3 authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Revert "Fix launcher crash loop."

This reverts commit fabee838.

Reason for revert: Allow crash to continue on master

Change-Id: I474ff193de6b1ce728c3c053b61a4e3764e1a256
parent 41e240cb
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -261,14 +261,7 @@ public abstract class BaseIconCache {
        // (e.g. fallback icon, default icon). So we drop here since there's no point in caching
        // an empty entry.
        if (entry.bitmap.isNullOrLowRes()) return;

        CharSequence entryTitle = cachingLogic.getLabel(object);
        if (entryTitle == null) {
            Log.d(TAG, "No label returned from caching logic instance: " + cachingLogic);
            return;
        }
        entry.title = entryTitle;

        entry.title = cachingLogic.getLabel(object);
        entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user);
        if (cachingLogic.addToMemCache()) mCache.put(key, entry);