diff options
author | Chris Li <lihongyu@google.com> | 2020-09-09 12:31:27 -0700 |
---|---|---|
committer | Chris Li <lihongyu@google.com> | 2020-09-21 13:37:40 -0700 |
commit | bbe25f59ba77f3dd3b86938a681b8d266198eb1e (patch) | |
tree | 700f1b83990a42ab9606a4822226bfba61941e26 /libs/androidfw/CursorWindow.cpp | |
parent | bea4447250a5cfc5637aaa25e932f3671acf8c73 (diff) |
Only allow TaskDisplayArea to specify orientation if it is focused
(1/n Orientation on DisplayAreaGroup)
Record the last focused TDA and only allow it to specify orientation
if it is the last focused one on the logical display, so that when
there are multiple TDAs, we only respect the TDA with focus.
Bug: 155431879
Test: manual: test with fixed-orientation app
Test: atest WmTests:TaskRecordTests
Test: atest WmTests:TaskDisplayAreaTests
Change-Id: Ia574550368ce45a6e2c2f81b543adcfa4cf01ba1
Diffstat (limited to 'libs/androidfw/CursorWindow.cpp')
0 files changed, 0 insertions, 0 deletions