fix: Don't use workspace scale on allapps
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
1 parent
2fd3987d54
commit
0ee2d22f16
1 file changed
+3
-5
@@ -1305,17 +1305,15 @@ public class DeviceProfile {
|
||||
);
|
||||
updateAllAppsWithResponsiveMeasures();
|
||||
} else {
|
||||
// LC: All apps should use scale 1.0, not workspace scale
|
||||
// This ensures drawer icons are independent of workspace scaling
|
||||
//updateAllAppsIconSize(1.0f, context.getResources());
|
||||
// pE-TODO(QPR1): Investigate
|
||||
// LC: All apps should use scale 1.0, not workspace scale.
|
||||
// This ensures drawer icons are independent of workspace layout scaling.
|
||||
mAllAppsProfile = AllAppsProfile.Factory.createAllAppsProfile(
|
||||
context.getResources(),
|
||||
inv,
|
||||
mMetrics,
|
||||
mIsScalableGrid,
|
||||
mTypeIndex,
|
||||
scale,
|
||||
1f, // See comment above
|
||||
iconSizePx,
|
||||
mIconDrawablePaddingOriginalPx,
|
||||
allAppsCellHeightMultiplier
|
||||
|
||||
Reference in new issue
Block a user