diff options
| author | 2017-03-21 10:20:20 -0700 | |
|---|---|---|
| committer | 2017-03-21 18:11:46 +0000 | |
| commit | c95ff8433a40eafa422fdf56b782350153f605dd (patch) | |
| tree | 5e9683b6570e059981b83017622ebda0207c3472 /libs/hwui/ProgramCache.cpp | |
| parent | 914c4ab1ed31c99886c83d005f255b97a9a70ed5 (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
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions