mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Do not theme icons when the original view is not themed.
Fixes bug where animations uses themed icons in All Apps, where the icons are not themed. We want the DragView themed since all valid drop locations will have it appear themed. Bug: 215650713 Test: open/close an app from All Apps Change-Id: I9969ce4921831dd12858ed9b0fe64379e9e3b188
This commit is contained in:
@@ -216,7 +216,8 @@ public abstract class DragView<T extends Context & ActivityContext> extends Fram
|
||||
Object[] outObj = new Object[1];
|
||||
int w = mWidth;
|
||||
int h = mHeight;
|
||||
Drawable dr = Utilities.getFullDrawable(mActivity, info, w, h, outObj);
|
||||
Drawable dr = Utilities.getFullDrawable(mActivity, info, w, h,
|
||||
true /* shouldThemeIcon */, outObj);
|
||||
|
||||
if (dr instanceof AdaptiveIconDrawable) {
|
||||
int blurMargin = (int) mActivity.getResources()
|
||||
|
||||
Reference in New Issue
Block a user