summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-10-24 00:02:07 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-10-24 00:02:07 +0800
commit5bbf36c7bc0e3bd833e9b7f2292477d8a6fedf17 (patch)
tree37c987e05b9e80b3ee0251cfe0b1a45d7a883210 /libs/androidfw/misc.cpp
parentc9d20f37276dbdedbe6579f2e0be02eece55996f (diff)
Allow runtime-opaque activity to provide unspecified orientation
If the activity changes to occlude parent (opaque), the other activities behind it will be invisible. So it is fine to respect the requested orientation. It still preserves the behavior that when an opaque changes to translucent, it won't lose the ability to keep its unspecified orientation. So the orientation won't be changed by the activity behind during a scene transition that toggles opaque. Fix: 305222629 Test: ActivityRecordTests#testGetOrientation, testShouldStartWhenMakeClientActive Change-Id: I66b15daf70f0ef281a2cce471e52a29181bcf556
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions