Skip to content
Commit da2fc254 authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix pointer location apply wrong insets in foldable device

Uses LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS to let the pointer location
window could be allowed to extend into the cutout areas so we could
draw the trace points on whole screen.

This CL would also apply the waterfall insets in pointer location view,
so we could layout the label properly when apply such cutout.

Bug: 193206093
Test: atest DisplayPolicyLayoutTests
Test: atest DisplayPolicyInsetTests
Change-Id: I62f0de44820d154383f92632fdd1c86fceaae10c
parent 5dbecb2f
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