diff options
author | Winson Chung <winsonc@google.com> | 2017-05-22 11:14:22 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2017-05-30 16:36:48 +0000 |
commit | a71febe2aaa2796cde538aa21c3e2ff006e7d3f3 (patch) | |
tree | a5754799da9f822509b52ecaf3e03b099444c419 /rs/java/android/renderscript/ProgramRaster.java | |
parent | aa051df3b6c72a8d696611bd73b882cc37fc5eca (diff) |
Fix issue with aspect ratio not applying correctly when PIP is expanded
- The current code always used the default min edge size to calculate the
PIP bounds when the aspect ratio changes, so if a PIP app sets the aspect
ratio in response to the an action, the bounds would be resized down
incorrectly.
- This CL fixes the issue with current aspect ratio not being initialized
correctly, and also ensures that SystemUI always updates the min edge
size when expanding the PIP.
Bug: 38324839
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: go/wm-smoke
Change-Id: Ida0f68b2f8f93f9bf1915dda8762a156704d4709
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions