0463e0e17014d95e024dd33af1700ce96ce1e38d
The case is like: (A,B,C are activities from top to bottom)
A orientation=unspecified, dialog style(!fillsParent)
B orientation=landscape, entering pip mode
C orientation=portrait, the activity that decides screen orientation
The non-opaque activity won't decide screen orientation, that causes
to miss the proper timing to trigger fixed rotation when the previous
top is switching from fullscreen to pip with screen orientation change.
This makes the callback order of PipTaskOrganizer still follows first
onFixedRotationStarted and then onTaskAppeared. So the PiP won't stay
in a stale state with wrong bounds or alpha.
Bug: 204844178
Test: 1. Launch Chrome and play video in fullscreen landscape.
2. Enable auto-rotation, put device in landscape.
3. adb shell am start -a android.intent.action.VIEW
Chrome should enter PiP correctly.
Change-Id: I34250bb879898059568bc3b3b6b4da88fea75f57
…
…
…
…
…
…
…
…
…
…
…
…
Merge "Mark screen decorations as trusted overlays" into rvc-dev am:
bb3f22df9a am: 5448bd7ed3 am: f159de0dcf am: 603e4d74fd
…
…
…
…
…
…
Merge "Add config to detect e-call call based on dialed sim emerg # list." into sc-qpr1-dev am:
8a7e825938
…
…
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%