Skip to content
Commit a87880f1 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Fix SysUI dialog width

This CL fixes the code that sets the dialog width such that:
 1. Dialogs don't match their parent width on phones in landscape.
 2. We take the background insets into consideration, so that the
    actual dialog size is exactly what we want it to be.

Before this CL, we wouldn't take the background insets into
consideration and therefore a 504dp width dialog was actually
504dp - 2 x 16dp = 472dp.

Bug: 203389579
Test: Manual
Change-Id: Ic66b043fe57ea7d493831e2b7d0e42a62362fd6f
parent 69affba9
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