Moving InvariantDeviceProfile to Dagger

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: Ia99ee031e96c5e6069a56fe90a262a533dd8665a
This commit is contained in:
Sunny Goyal committed 2025-02-11 15:22:18 -08:00
1 parent 0d9c54fc51
commit 5bca45a739
24 files changed
+255 -252

No files matched your search

@@ -68,7 +68,10 @@ public class DeviceGridState implements Comparable<DeviceGridState> {
}
public DeviceGridState(Context context) {
LauncherPrefs lp = LauncherPrefs.get(context);
this(LauncherPrefs.get(context));
}
public DeviceGridState(LauncherPrefs lp) {
mGridSizeString = lp.get(WORKSPACE_SIZE);
mNumHotseat = lp.get(HOTSEAT_COUNT);
mDeviceType = lp.get(DEVICE_TYPE);