commit | cc63685b7353917456d7d3e8df3a6cd6596add7d | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue Mar 21 10:20:20 2017 -0700 |
committer | gitbuildkicker <android-build@google.com> | Tue Mar 21 13:59:40 2017 -0700 |
tree | 6115251b7fe863711f0ff278c8ed4cdf8e9e7a9f | |
parent | a2256b49c5c1769a421f4c2bac7654103445781d [diff] |
Prevent updating aspect ratio unless it is different. - The old check of the bounds assumed there was no expanded state, so when a PiP activity tries to set the aspect ratio from a a menu action, it will cause an animation to the normal bounds again. Bug: 36462497 Test: Set aspect ratio in pip action handler Change-Id: Iba5e9571a3024c8369c2a24d32c2d8f34831ede4 (cherry picked from commit c95ff8433a40eafa422fdf56b782350153f605dd)