diff options
| author | 2023-04-06 21:31:43 +0800 | |
|---|---|---|
| committer | 2023-04-06 22:41:40 +0800 | |
| commit | 3c32253a71e217c53b8901f59667f19113644ffb (patch) | |
| tree | aba1f4467c9170f84232c6165b260f17605b7cd5 /opengl/java/android | |
| parent | ebba175110415567ac3cc51c013291c1f27278b8 (diff) | |
Compute config based on original override for inherited letterbox
In shell transition, the relative display rotation between parent
will be used as the transform of surface (see WindowContainer
#updateSurfacePosition). Anyway, the original full config contains
too many unrelated non-undefined config fields, which may not be
needed to be the override.
By updating requested override configuration of transparent activity
directly, it won't mis-request unnecessary override fields. Such
as inconsistent max bounds can also be fixed by the way.
Fix: 276711259
Test: SizeCompatTests#testApplyStrategyToTranslucentActivities \
RetainsWindowConfigurationProperties
Test: adb shell wm set-letterbox-style \
--isTranslucentLetterboxingEnabled 1
adb shell cmd window set-ignore-orientation-request 1
Launch a fixed orientation opaque activity and then
a translucent activity in the same task. Rotate display.
Change-Id: Iae4347036f98de345d7d8a367ceb5121974d39f7
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions