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:
huxiandong <huxiandong@xiaomi.com>
Loading
Please sign in to comment