TreeHugger Robot
b5fc663758
Merge "Add border to indicate side stage split region" into sc-v2-dev am: a8424ea593 am: ea91f2ed70
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15048194
Change-Id: I7f776e3af2aee3c46b398e826bac014139544894
2021-06-23 06:41:35 +00:00
TreeHugger Robot
ea91f2ed70
Merge "Add border to indicate side stage split region" into sc-v2-dev am: a8424ea593
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15048194
Change-Id: I16f1f68a3017263103db711c59feb397894dbb5b
2021-06-23 06:26:59 +00:00
TreeHugger Robot
a8424ea593
Merge "Add border to indicate side stage split region" into sc-v2-dev
2021-06-23 06:04:30 +00:00
Jerry Chang
7bf62d76e8
Add border to indicate side stage split region
...
Add a view to draw border of side stage root task.
Bug: 189839391
Test: manual checks side stage border.
Change-Id: Ie0606338d6907f92c80f11c7d86dca6bf525e45d
2021-06-23 01:13:44 +00:00
Wei Sheng Shih
663698e315
Merge "Ignore exit animation when view is detached from window." into sc-dev am: a1b3ce5250 am: 1928c40953
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972767
Change-Id: Ie58807dabe33124c89008283deb5e0d10f60b0ca
2021-06-22 21:38:15 +00:00
TreeHugger Robot
6c03a0253c
Merge "Fix SysUI NPE crash during the boot/init progress" into sc-dev am: 2adcf7686d am: 134c6bf794
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15052835
Change-Id: I5790063427c6283f5c2d9e281f0dd8f22a241ac6
2021-06-22 21:35:53 +00:00
Wei Sheng Shih
1928c40953
Merge "Ignore exit animation when view is detached from window." into sc-dev am: a1b3ce5250
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972767
Change-Id: Id7862b6702fd041e7e3b231cd8a978602df4dd57
2021-06-22 15:05:06 +00:00
TreeHugger Robot
134c6bf794
Merge "Fix SysUI NPE crash during the boot/init progress" into sc-dev am: 2adcf7686d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15052835
Change-Id: Ia098df3a645253186a8fd6197e9adfe1627a06eb
2021-06-22 15:03:33 +00:00
Wei Sheng Shih
3891f0cd65
Merge "Ignore exit animation when view is detached from window." into sc-dev am: a1b3ce5250 am: 9517b68134
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972767
Change-Id: Ie48fb59811b2665514e1c723de4e6bce51015aa2
2021-06-22 11:31:03 +00:00
Wei Sheng Shih
9517b68134
Merge "Ignore exit animation when view is detached from window." into sc-dev am: a1b3ce5250
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972767
Change-Id: I26beb7d7329d5eaf38a947c784be3ada33d09289
2021-06-22 11:15:40 +00:00
Nataniel Borges
3aac256cd6
Merge "Wait for split screen apps to be visible"
2021-06-22 11:05:36 +00:00
Wei Sheng Shih
a1b3ce5250
Merge "Ignore exit animation when view is detached from window." into sc-dev
2021-06-22 11:02:59 +00:00
Nataniel Borges
4e10800bf5
Wait for split screen apps to be visible
...
Previously used a fixed timeout, which was not reliable. Now wait for both apps or for the non-resizeable one
Test: atest WMShellFlickerTests
Bug: 189997782
Change-Id: I60d79317d5d1f684b8a4a75b3f3e6ad7d1048bcd
2021-06-22 10:01:54 +02:00
TreeHugger Robot
863147b448
Merge "Fix SysUI NPE crash during the boot/init progress" into sc-dev am: 2adcf7686d am: 1a6b2ae623
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15052835
Change-Id: Ifdbbcab872fd6a5aafd5977d5fb1d7607625c336
2021-06-22 07:57:20 +00:00
TreeHugger Robot
1a6b2ae623
Merge "Fix SysUI NPE crash during the boot/init progress" into sc-dev am: 2adcf7686d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15052835
Change-Id: Iab832312eaa2af14c0c767163b2f1bc52871192c
2021-06-22 07:40:36 +00:00
TreeHugger Robot
2adcf7686d
Merge "Fix SysUI NPE crash during the boot/init progress" into sc-dev
2021-06-22 07:27:24 +00:00
Bill Lin
c4bdf37af2
Fix SysUI NPE crash during the boot/init progress
...
When Device boot and SystemUI servies starting, settings provider
may callback onChange() when OneHandedController register observer.
If the callback timing earlier han mEventCallback registered by
WMShll#initOneHanded, then the NPE will happen.
The simple fix is to add NPE check in
OneHandedController#notifyExpandNotifcation()
we can just ignore the callback during init time since the singal
is to expand notification and come from shorcut after user enable
and tap shortcut.(No need to act for the signal during boot progress.)
Test: manual reboot device and observe
Test: atest WMShellUnitTests
Bug: 191600033
Change-Id: I73849afa9904031759da304298221dbb222aeaaa
2021-06-22 11:50:46 +08:00
TreeHugger Robot
9973782b75
Merge "Register binder-depth per remote animation" into sc-v2-dev am: 859ef211a6 am: 94d585f5f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15033498
Change-Id: Id19fdc4c12993bd0d0b8870a50f40bf24b6d8f47
2021-06-22 02:40:28 +00:00
TreeHugger Robot
94d585f5f0
Merge "Register binder-depth per remote animation" into sc-v2-dev am: 859ef211a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15033498
Change-Id: Id53861aa026fa2090bd5e930217f6dea803ea1e5
2021-06-22 02:26:15 +00:00
TreeHugger Robot
859ef211a6
Merge "Register binder-depth per remote animation" into sc-v2-dev
2021-06-22 02:10:57 +00:00
TreeHugger Robot
a4624c14af
Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev am: aadedc76b6 am: 9c2c1fac7a am: be29d5070b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15002670
Change-Id: I370d60b9e2fd395b7213de033a17e6754815a9f7
2021-06-21 20:14:37 +00:00
TreeHugger Robot
403f6ceb32
Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev am: aadedc76b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15002670
Change-Id: I9fbc141b015c34d026e7f17b7d11bece5628e6f8
2021-06-21 19:57:19 +00:00
TreeHugger Robot
34a6db53ce
Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev am: aadedc76b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15002670
Change-Id: Id1edbb731b13a973fd893b68b1771302b0f1a81c
2021-06-21 19:55:41 +00:00
TreeHugger Robot
be29d5070b
Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev am: aadedc76b6 am: 9c2c1fac7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15002670
Change-Id: I59c1c299a6678309a1d7c1966602e4971cf9fbd4
2021-06-21 19:55:12 +00:00
TreeHugger Robot
9c2c1fac7a
Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev am: aadedc76b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15002670
Change-Id: I1d7ab43a93e9afdf20baf819a1e962d0513991b0
2021-06-21 19:54:31 +00:00
TreeHugger Robot
aadedc76b6
Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev
2021-06-21 16:42:36 +00:00
TreeHugger Robot
4f4afcd965
Merge "Removing remaining references of ActivityView in fw/base" into sc-dev am: dc86e26f54 am: cedbffebcf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14829810
Change-Id: Ie8633536fe19026a272b010b19b9e8c2285e22e5
2021-06-21 12:05:32 +00:00
Winson Chung
1be677d696
Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev am: 979fe90f43 am: 2725991d00
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964835
Change-Id: I1e87be6fdae6ccc80cbbf3787437066210e43fcc
2021-06-21 12:03:19 +00:00
TreeHugger Robot
dcbd027394
Merge "Fix shortcut rotate trigger swipe notification" into sc-dev am: bd1d84122b am: 6b451802c1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15017733
Change-Id: I99609bd9cbd20abf9db07fbfc5d6e128f1b78368
2021-06-21 11:58:16 +00:00
TreeHugger Robot
cedbffebcf
Merge "Removing remaining references of ActivityView in fw/base" into sc-dev am: dc86e26f54
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14829810
Change-Id: I07f5d9bd292021dcc1de2249cb844c9fdfdec630
2021-06-21 11:58:03 +00:00
Winson Chung
2725991d00
Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev am: 979fe90f43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964835
Change-Id: Id664fec0301032a52271e738442b1bf52aa96cf5
2021-06-21 11:55:56 +00:00
TreeHugger Robot
6b451802c1
Merge "Fix shortcut rotate trigger swipe notification" into sc-dev am: bd1d84122b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15017733
Change-Id: Iee804029beefa05a83b80c670c95ccab95f858ac
2021-06-21 11:49:08 +00:00
wilsonshih
84837512a1
Ignore exit animation when view is detached from window.
...
After first launched activity start remove starting window, there start
a second activity with a new task, so there will trigger a open/close
task transition while playing starting window exit animation, but since
the first launched activity is going to destory, there will goes to
clear all window for that activity.
For client side we can ignore the animation after it was detached from
window.
Bug: 190040281
Test: manual
Change-Id: Idd939feb72163d585e14db480b1e374e41597928
2021-06-21 09:37:23 +08:00
TreeHugger Robot
b93d6b3ce3
Merge "Do not skip onMovementBoundsChanged if already in PiP" into sc-dev am: 99bded1612
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983324
Change-Id: Id6c22fcd52b323e25e4cdb80531d8086a7747114
2021-06-20 20:32:59 +00:00
TreeHugger Robot
913171d5f0
Merge "Do not skip onMovementBoundsChanged if already in PiP" into sc-dev am: 99bded1612
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983324
Change-Id: I07e7e0527bb13ea35bb927bdc76399297a7f24c6
2021-06-20 20:32:09 +00:00
TreeHugger Robot
99bded1612
Merge "Do not skip onMovementBoundsChanged if already in PiP" into sc-dev
2021-06-20 20:18:16 +00:00
Hongwei Wang
6fb7cd8320
Merge "Do not skip onMovementBoundsChanged if already in PiP" into sc-v2-dev am: b346d3a64c am: 13aef6e815
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15026238
Change-Id: I5d6c1900c3826ae6185868dbca96d2dc58e1c92b
2021-06-19 17:21:54 +00:00
Hongwei Wang
13aef6e815
Merge "Do not skip onMovementBoundsChanged if already in PiP" into sc-v2-dev am: b346d3a64c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15026238
Change-Id: I8fa758907d0872931861d0c720e99383d68fa3eb
2021-06-19 17:09:45 +00:00
Evan Rosky
249a06ba04
Register binder-depth per remote animation
...
Was just clearing all registered remotes. However, not all
remotes are from the same process, so things can get messed-up
(since we aren't relaunching the non-crashed binders, they won't
re-register). This is useful both for robustness as well as
making that failing tests don't break all subsequent tests.
This makes a death recipient for each remote.
Bug: 183993924
Test: crash launcher, make sure remote keyguard transition still
works.
Change-Id: Idbec7ff72afd9bac974e7dbb1a067ad237606bd7
2021-06-18 21:00:15 -07:00
TreeHugger Robot
36097dcdac
Merge "Removing remaining references of ActivityView in fw/base" into sc-dev am: dc86e26f54 am: 8913c7788c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14829810
Change-Id: I0078a183422562b7de3db1e98410bafd5ed2177d
2021-06-19 01:51:59 +00:00
TreeHugger Robot
8913c7788c
Merge "Removing remaining references of ActivityView in fw/base" into sc-dev am: dc86e26f54
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14829810
Change-Id: Ida091f760dd0427e9ffb467a0ac9bb7b65eba80b
2021-06-19 01:38:26 +00:00
TreeHugger Robot
1b1d2d5d10
Merge "Removing remaining references of ActivityView in fw/base" into sc-dev am: dc86e26f54
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14829810
Change-Id: Id373b53b241f52510c070749976822a1cf886e01
2021-06-19 01:38:01 +00:00
TreeHugger Robot
dc86e26f54
Merge "Removing remaining references of ActivityView in fw/base" into sc-dev
2021-06-19 01:23:12 +00:00
Hongwei Wang
330fc27924
Do not skip onMovementBoundsChanged if already in PiP
...
If the Task is already in PiP mode and fixed rotation is happening, we
still need the onMovementBoundsChanged callback to go through in
PipTaskOrganizer.
Note that there seems to be an existing bug that Launcher shelf height
is ignored with the following steps
- Enter PiP and open another app to fullscreen
- Rotate screen and swipe the other app to home
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gs08EEyHyNcn86lsIcbIRe
Bug: 191143521
Test: follow the reproduce steps in bug, see the video
Merged-In: I601c7493794316883445e9c69e5cdd6a808e8933
Change-Id: I601c7493794316883445e9c69e5cdd6a808e8933
2021-06-18 22:34:07 +00:00
Hongwei Wang
298da246f0
Do not skip onMovementBoundsChanged if already in PiP
...
If the Task is already in PiP mode and fixed rotation is happening, we
still need the onMovementBoundsChanged callback to go through in
PipTaskOrganizer.
Note that there seems to be an existing bug that Launcher shelf height
is ignored with the following steps
- Enter PiP and open another app to fullscreen
- Rotate screen and swipe the other app to home
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gs08EEyHyNcn86lsIcbIRe
Bug: 191143521
Test: follow the reproduce steps in bug, see the video
Change-Id: I601c7493794316883445e9c69e5cdd6a808e8933
2021-06-18 15:24:19 -07:00
Winson Chung
59b2a8282b
Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev am: 979fe90f43 am: 36982f2793
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964835
Change-Id: Ib535723c2e391c60d19c5771415f981a1e33ef61
2021-06-18 22:08:41 +00:00
Winson Chung
36982f2793
Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev am: 979fe90f43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964835
Change-Id: I3c86248d705d80d2feb6107efb9533f5563315ff
2021-06-18 21:52:42 +00:00
Winson Chung
542830c839
Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev am: 979fe90f43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964835
Change-Id: I526730dd7183ae1b7f5314e77910a1474441e58f
2021-06-18 21:52:34 +00:00
Winson Chung
979fe90f43
Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev
2021-06-18 21:34:29 +00:00
TreeHugger Robot
7e9d573025
Merge "Fix shortcut rotate trigger swipe notification" into sc-dev am: bd1d84122b am: b10dba7ae0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15017733
Change-Id: I415f3268470fe4ad0b166e9c7cdfa46a47723365
2021-06-18 17:44:57 +00:00