Skip to content
Commit 37568ad4 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Replicates bounds calculation to SysUI package

This new PipBoundsHandler class handles bounds calculation for PiP on
Phone and other form factors, it keeps tracking variant state changes
originated from Window Manager and is the source of truth for PiP window
bounds.

What's next
- Wire the state changes from WM to PipBoundsHandler
- Switch to PipBoundsHandler for bounds calculation on entering PiP
- Deprecate the bounds calculation in PinnedStackController

Bug: 139015142
Test: N/A
Change-Id: I305fe8daa8a2b6eaf955843aea121226f99f8e1e
parent b63ff32f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment