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

Commit 596f93a9 authored by Becca Hughes's avatar Becca Hughes Committed by Automerger Merge Worker
Browse files

Merge "Expose summary so we can use it in Settings UI" into udc-dev am: 87067a09 am: 8ecc0864

parents 58e14e89 8ecc0864
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.settingslib.applications;

import android.app.AppGlobals;
import android.annotation.Nullable;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.ApplicationInfo;
@@ -94,6 +95,10 @@ public class DefaultAppInfo extends CandidateInfo {

    }

    public @Nullable String getSummary() {
        return this.summary;
    }

    @Override
    public Drawable loadIcon() {
        final IconDrawableFactory factory = IconDrawableFactory.newInstance(mContext);