mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
When selecting grid size to use for desktop, size breakpoints are compared to the display dimensions with "stable" device density. Expose the scale factor that needs to be applied to dimensions provided in spec via DisplayController::Info, so it can be more easily faked in tests. Bug: 375643744 Test: atest DeviceProfileDumpTest Flag: com.android.launcher3.enable_scalability_for_desktop_experience Change-Id: I836430cc052f72c0f89b6cdd5ab5309a3482d94e