Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8bd6954 authored by András Kurucz's avatar András Kurucz
Browse files

[Flexiglass] Correct NSSL#drawBounds for the horizontal padding of the NSSL

The received bounds from the placeholder are relative to the window, but NSSL.setDrawBounds
expects a rect that's relativet to the NSSL itself. This CL offsets these bounds in case the
NSSL has some horizontal margins e.g. in floating DualShade.

Bug: 417965077
Test: check the box drawn by the debug lines in all shade modes
Flag: com.android.systemui.scene_container
Change-Id: I925513e56c95ebe3a3c08bddf6ea34ffcb6e8317
parent 4294ec5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment