Merge "Move logic for stable scale factor to DisplayController" into main

This commit is contained in:
Treehugger Robot
2025-06-05 10:48:23 -07:00
committed by Android (Google) Code Review
5 changed files with 70 additions and 20 deletions

View File

@@ -202,7 +202,7 @@ public class TaskViewSimulatorTest {
Context configurationContext = app.createConfigurationContext(configuration);
DisplayController.Info info = new Info(
configurationContext, false, wmProxy, perDisplayBoundsCache);
configurationContext, false, wmProxy, perDisplayBoundsCache, mDensityDpi);
when(mockController.getInfo()).thenReturn(info);
mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(app)