Revert "Revert "Use system-api lib to get badged, shadowed icons(2/n)""
This reverts commit 94b8055f1c
.
Reason for revert: Revert this cl and fix broken test cases.
Change-Id: I61a190b4beba8db2fe2faab45e5dd6921dc681ec
Fix: 149112222
Fix: 149090275
Test: Run all Setting robo tests
This commit is contained in:
@@ -29,7 +29,6 @@ import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.IconDrawableFactory;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
@@ -147,7 +146,7 @@ public class EntityHeaderController {
|
||||
* accessibility purposes.
|
||||
*/
|
||||
public EntityHeaderController setIcon(ApplicationsState.AppEntry appEntry) {
|
||||
mIcon = IconDrawableFactory.newInstance(mAppContext).getBadgedIcon(appEntry.info);
|
||||
mIcon = Utils.getBadgedIcon(mAppContext, appEntry.info);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user