Merge "Get display size from DisplayController instance" into main

This commit is contained in:
Ats Jenk authored and Android (Google) Code Review committed 2024-05-09 22:58:38 +00:00
commit 8ed5d288d2
1 file changed
+2 -2
@@ -260,9 +260,9 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
new BubbleDragController(this),
new BubbleDismissController(this, mDragLayer),
new BubbleBarPinController(this, mDragLayer,
() -> getDeviceProfile().getDisplayInfo().currentSize),
() -> DisplayController.INSTANCE.get(this).getInfo().currentSize),
new BubblePinController(this, mDragLayer,
() -> getDeviceProfile().getDisplayInfo().currentSize)
() -> DisplayController.INSTANCE.get(this).getInfo().currentSize)
));
}