Skip to content
Commit 020607df authored by Garfield Tan's avatar Garfield Tan
Browse files

Fix ActivityManagerManifestLayoutTests#testMinimalSizeDocked.

There are 2 bugs causing it to fail. The first one is we refactored the
code so that the way of getting bounds before resizing stopped to work
so we need to explicitly pass previous bounds into
adjustForMinimalTaskDimension(). The second one is getDisplayedBounds()
is not adjusted for minimal task dimension but used to calculate
containing frame.

Bug: 120794631
Test: atest ActivityManagerManifestLayoutTests#testMinimalSizeDocked &
go/wm-smoke.
Change-Id: I5fd9ea17506bbe292b7b68464894d000ddce034e
parent 3e24ffd2
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