Skip to content
Commit 55d7c407 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Notify fixed rotation transformed insets state

- Use the corresponding insets state in notifyInsetsChanged and
  notifyInsetsControlChanged.
- Move duplicated logic from addWindow and getWindowInsets to
  getLayoutHint and make it fixed-rotation-transform aware.
- Get navigation bar position by display frames for calculating
  insets frame, so it isn't always associated to real display.

Fix: 146415226
Test: atest DisplayPolicyLayoutTests

Change-Id: I581d8c234063ad399cb453f53fccc176089a020b
parent f416c7f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment