Skip to content
Commit 6d2ef5a0 authored by Chris Li's avatar Chris Li
Browse files

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
parent a86113f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment