Nataniel Borges
e107f8cb0f
Merge "Wait for app launch animation to complete after launching apps"
2021-06-24 12:30:42 +00:00
Wei Sheng Shih
84368e12fd
Merge "Clear padding and background after create view from context." into sc-dev am: f2d2fb5292 am: 89db9cf67f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15026547
Change-Id: Idd8e10d958b8d998cbc41d7461e37d4149fa8e34
2021-06-24 11:21:02 +00:00
Wei Sheng Shih
89db9cf67f
Merge "Clear padding and background after create view from context." into sc-dev am: f2d2fb5292
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15026547
Change-Id: I36ccb90b0216d626711e48552c0ed69a91a06d7f
2021-06-24 11:02:18 +00:00
Nataniel Borges
745f56d3c9
Merge "Update nav and status bar visibility checks on flicker"
2021-06-24 07:59:27 +00:00
wilsonshih
0797c86219
Clear padding and background after create view from context.
...
When create view with Context, there will also load some view
attributes from the Context and pre-set to the View object, to ensure
the splash screen view not affected by those attributes, clear padding
and background after create those view objects.
Bug: 191339594
Test: manual launch several apps from Launcher/Notification.
Tets: atest SplashscreenTests
Change-Id: I05be9c296a04cd49a0896ad8aef57643720d60ce
2021-06-24 11:10:07 +08:00
Mady Mellor
1d4f603e21
Merge "Add a note about keeping a dimension value in sync with CTS" into sc-dev am: f46a8f6276 am: 32cea47b4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080681
Change-Id: Ida0679665728bb095e85db7169f85f0490ae9220
2021-06-23 21:11:55 +00:00
Mady Mellor
32cea47b4c
Merge "Add a note about keeping a dimension value in sync with CTS" into sc-dev am: f46a8f6276
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080681
Change-Id: I0dfaefed72fc322e487b0d7a2964f0490431ac38
2021-06-23 20:58:26 +00:00
Mady Mellor
ab00abc6f6
Add a note about keeping a dimension value in sync with CTS
...
Test: treehugger
Bug: 182934996
Change-Id: Ib8dd9bc9d13d9f5a737ceb0d61e34b825f883f8c
2021-06-23 11:04:27 -07:00
Nataniel Borges
bb76df4f90
Update nav and status bar visibility checks on flicker
...
Previously checked:
- bar visible -> invisible -> visible again (rotation)
- bar always visible (non-rotation)
However, these checks were unstable and the animation changed during the release, making the tests hard to maintain.
For now check only that the nav and status bar exist at the end of the transition
Bug: 189804667
Bug: 186115871
Test: atest FlickerTests WMShellFlickerTests
Change-Id: I5e34ae7e1af8bfcab56461617aaac9aa326e75b3
2021-06-23 11:00:50 +02:00
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