Merge "Add a util method of creating Icon with Drawable"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7646786cd3
@@ -90,7 +90,7 @@ public class ContextualWifiSlice extends WifiSlice {
|
||||
}
|
||||
|
||||
d.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN));
|
||||
return IconCompat.createWithBitmap(Utils.drawableToBitmap(d));
|
||||
return Utils.createIconWithDrawable(d);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user