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
Loading
Please register or sign in to comment