diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-05-03 14:51:24 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-05-03 21:54:13 +0800 |
commit | 0cadae1c718e5e448f70b459cbafb0aa5a63504a (patch) | |
tree | 815c5ffd685e67cc14b49683b81314b493973a33 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 285e3754084cfa88abb9629a6f4f07c8cc3bb809 (diff) |
Avoid intermediate orientation change
The onDescendantOrientationChanged in Task was used for reporting
requested orientation takes affect after display windowing mode
is changed. But when calling WMS#setWindowingMode, it will call
DC#reconfigureDisplayLocked that also updates orientation from
display so the task orientation can still propagate to display.
So just remove the invocation of onDescendantOrientationChanged
from task's config change. That prevents from reporting
intermediate orientation change when re-parenting multiple tasks
from multi-window to fullscreen.
Bug: 186657559
Test: TaskTests#testTaskOrientationOnDisplayWindowingModeChange
Change-Id: Ie722a4384829c2dab4ee4c35de6ffbbb4a0e4655
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions