summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChris Li <lihongyu@google.com>2020-11-12 14:02:16 -0800
committerChris Li <lihongyu@google.com>2020-12-02 19:11:14 -0800
commit6d2ef5a0953ae1c275fc63a5c2a103fd5e69355f (patch)
tree8cc7ebd495ae13bd074ae4198179b8dc98ed48a1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta86113f65b7b4a329f144d90d74405437f814233 (diff)
Only update lastFocusedTaskDisplayArea if it handles orientation request
Before, when there are two DAGs, where one respects orientation request, and one doesn't, the orientation request from the former DAG may be ignored if the later DAG gets the focus. Now, when the focus changed, we should only update to the new TDA if it handles orientation change, otherwise we should still use the orientation from the previous focused TDA. Bug: 155431879 Test: manual: test with dual display where only one DAG respect request Test: atest WmTests:TaskDisplayAreaTests Test: atest WmTests:DisplayAreaTest Change-Id: I1d38980347e65b5b729acd3457035e4d4b7cd1c0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions