Commit f5edfaf0 authored by huxiandong's avatar huxiandong Committed by Shreerag Jayakrishnan
Browse files

RESTRICT AUTOMERGE: set dialog size to small devices



On small screen devices,
the screen width is not enough for 146*density+0.25f*width

When applying this patch, the case
android.server.wm.DialogFrameTests#testMarginsArePercentagesOfContentFrame
of module CtsWindowManagerDeviceTestCases will be passed.

Bug: 140406046

Change-Id: I2ca7ab03487dac0dd807a0ef2f91b6959ba528a4
Signed-off-by: default avatarhuxiandong <huxiandong@xiaomi.com>
parent f9a2ad68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment