Moving AllApps device profile variables to their own class

Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I6490422d04f9f0aeaadf8271d4d11172f344660a
This commit is contained in:
Sebastian Franco committed 2025-05-30 09:56:01 -07:00
1 parent ec58354bf7
commit 136295f62a
18 files changed
+395 -167

No files matched your search

+1 -1
View File
@@ -336,7 +336,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
mLauncher = Launcher.getLauncher(context);
mStateTransitionAnimation = new WorkspaceStateTransitionAnimation(mLauncher, this);
mWallpaperManager = WallpaperManager.getInstance(context);
mAllAppsIconSize = mLauncher.getDeviceProfile().allAppsIconSizePx;
mAllAppsIconSize = mLauncher.getDeviceProfile().getAllAppsProfile().getIconSizePx();
mWallpaperOffset = new WallpaperOffsetInterpolator(this);
setHapticFeedbackEnabled(false);