diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2020-06-22 19:52:31 -0700 |
---|---|---|
committer | Darryl L Johnson <darryljohnson@google.com> | 2020-06-24 16:38:19 -0700 |
commit | b7dea9baf7e38296bee2e26b4291846864e09de5 (patch) | |
tree | 393fa809358d7871b97087191be3961bc90c1cbc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 296855fe7651cbcf3cec7743da6fa5bed58f7db1 (diff) |
Respect the orientation of a home activity in the process of launching when split-screen enabled.
The home activity in the process of launching isn't considered visible
(isVisible() returns false) since an app transition prevents the value
from being committed. This ensures that the orientation value returned
for TaskDisplayArea#getOrientation() also takes into account home
activities currently in the process of launching when split-screen is
enabled.
Fixes: 159473343
Test: Install non-resizable 3P home. Enter split screen primary with
recents on secondary, rotate device, navigate back.
Test: TaskDisplayAreaTests#testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange
Change-Id: I0b14bbe222a13ecdfc3245af2ae7db75eb374e7a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions