summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2020-08-25 18:03:18 -0700
committerHongwei Wang <hwwang@google.com>2020-08-26 16:06:31 -0700
commita2673cdfd40db7e2f0f587df66502fdfa29333e3 (patch)
tree3fd8651ab3dbf1892ea0a60cb7a1c585487decd5 /tools/aapt2/java/JavaClassGenerator.cpp
parent128ad1be220ec834aa2b4b78ab5c24def9c29891 (diff)
[DO NOT MERGE] Sync app requested orientation on PiP exit
When exiting PiP to fullscreen, SysUI compares the initial rotation with the screen rotation and skips the animation if they are different, with the intention that the app should get back to its state prior to PiP. This generally works well except that app may request setRequestedOrientation after entering PiP and the initial rotation SysUI gets in onTaskAppeared would be obsoleted. This is fixed in this CL by - Adding a requestedOrientation field in TaskInfo to pass this information to SysUI, in both onTaskAppeared and onTaskInfoChanged callbacks - Sync with the requested orientation as well as display rotation on PiP exit. Moves also the information we need into PipWindowConfigurationCompact Video: http://rcll/aaaaaabFQoRHlzixHdtY/gOPXfx5KO9krmzeor49DgG Bug: 163218295 Test: See video Change-Id: Idd0b9412dfdfd6fd293a800cded7c7a6b94cafde
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions