Do not scale down taskbar all apps icons.

Test: Manual
Bug: 204696617
Change-Id: I2ede15d8beaef65661984fe63bd99d0e7e726774
This commit is contained in:
Brian Isganitis
2022-01-28 16:25:13 -05:00
parent 9e80fb355c
commit 25b2ac8527
2 changed files with 30 additions and 19 deletions

View File

@@ -234,6 +234,7 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
mDeviceProfile.updateIconSize(1, resources);
float iconScale = taskbarIconSize / mDeviceProfile.iconSizePx;
mDeviceProfile.updateIconSize(iconScale, resources);
mDeviceProfile.updateAllAppsIconSize(1, resources); // Leave all apps unscaled.
}
/** Creates LayoutParams for adding a view directly to WindowManager as a new window */