diff options
author | Evan Rosky <erosky@google.com> | 2020-05-13 19:39:05 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2020-05-15 11:24:49 -0700 |
commit | 90d5b6d0ca79f180a108a325065de33be38de07b (patch) | |
tree | 3565ff9c23560730507f151bf578f926a30a325c /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 3a6ec37a71294ce59c18ce725e047967768c19ae (diff) |
Update home bounds when entering split on rotation
Sometimes the rotation call comes in before split
is fully entered. However, we already know that we
are going into split-mode, so use a partial split
check rather than the full check to determine
whether home should be updated.
Also fixes another race where the incorrect position
was used to find closest snap on rotate before that
snap was reset to middle when leaving split (due to
a previous change that sets mMinimized early).
Bug: 156491146
Test: make various attempts at entering split by
opening apps in a different orientation.
Change-Id: I380653e47dc0d07488c3ac56d39c4571d2f25f0b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions