Expose summary so we can use it in Settings UI
Test: ondevice Bug: 278919696 Change-Id: Id46692905c12b1e71e5a7b6b3c731e0718875e4d
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user