Fix bug where FloatingIconView did not use IconShape normalization scale.
This fix allows for a clean tradeoff between the FIV and the original icon in all icon shapes. Bug: 130292844 Change-Id: Ief2eec2673161e0f9d32d8710713a1f01880040d
This commit is contained in:
@@ -441,7 +441,8 @@ public class FloatingIconView extends View implements
|
||||
}
|
||||
|
||||
if (!isFolderIcon) {
|
||||
mStartRevealRect.inset(mBlurSizeOutline, mBlurSizeOutline);
|
||||
Utilities.scaleRectAboutCenter(mStartRevealRect,
|
||||
IconShape.getNormalizationScale());
|
||||
}
|
||||
|
||||
float aspectRatio = mLauncher.getDeviceProfile().aspectRatio;
|
||||
|
||||
Reference in New Issue
Block a user