Android Build Coastguard Worker
84a3c1e7f9
Merge cherrypicks of [15831545, 15831526, 15831634, 15831684, 15831293, 15831546, 15831847, 15831808, 15831638, 15831639, 15831558, 15831793, 15831794, 15831795, 15831796, 15831797, 15831798, 15831799, 15831800, 15831801, 15831802, 15831803, 15831804, 15831640, 15831849, 15831810, 15831811, 15831850, 15831641, 15831805, 15831812, 15831642, 15831813, 15831851, 15831852, 15831887, 15831888, 15831559, 15831814, 15831815, 15831853, 15831854, 15831855, 15831315] into sc-release
...
Change-Id: Iacb83d0f35efdbcbff3398792f0286861a811c64
2021-09-15 00:11:48 +00:00
Sunny Goyal
0d53b02d23
Fixing ModelPreload cancelling existing load
...
When a model preload call was made while the loader task is running
(eg: on enabling/disabling icon theme, Launcher reloads and then
launcher preview start a model-preload), it would cancel the original
loader and then start a new loader with empty callbacks. So the
model indeed get loaded, but the original callbacks never got notified
of it.
> Instead we only start preload if an existing task is not running.
> Also when preloading, we use existing callbacks, instead of using
empty callbacks
Bug: 193851085
Bug: 195155924
Test: Verified repro steps
Change-Id: I0a96310be8489756f364aa2a12e4345e1418733d
(cherry picked from commit 57d4f748b8 )
2021-09-15 00:10:50 +00:00
Alex Chau
0ab476cb92
Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated
...
- Apply the same for all 3 setCurrentPage cases as they can all causes page jumping
Bug: 197493120
Test: manual
Change-Id: I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a
Merged-In: I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a
(cherry picked from commit dacb37c143 )
2021-09-15 00:10:47 +00:00
vadimt
155ce05218
Removing unused tracing
...
Test: presubmit
Bug: 192018189
Change-Id: I31e6fd8410e879aeda0249d89f650e1a41de6030
2021-09-14 16:42:59 -07:00
Schneider Victor-tulias
fbf4178ab7
Add logging to help debug invalid icon state and UI.
...
PackageInstallStateChangedTask had some redundant state handling that could lead to invalid states. Removed state handling (potential fix to b/198924992) along with logging to help debug b/198924992.
Test: Started and canceled an app download
Bug: 198924992
Change-Id: I8b8202ceb62a3265186d8d46a0e1be6afc83c080
2021-09-14 16:17:04 -07:00
Android Build Coastguard Worker
4289e7efd9
Snap for 7731944 from ca549695aa to sc-v2-release
...
Change-Id: I6be71f596b63802134f22d1b9720bfc26f2a3066
2021-09-14 23:07:53 +00:00
Tony Wickham
ed16fb4739
Don't move taskbar window when it resizes
...
Test: enter split screen, open folder or drag an app icon and ensure the
taskbar doesn't jump briefly to the top of the screen
Fixes: 199386357
Change-Id: I9a4787931a764db0bc036725a58984823a8d5467
2021-09-14 15:31:26 -07:00
Tony Wickham
d552132d0b
Reset RecentsView#mNextPage when swiping to home
...
This ensures that we don't inadvertently update mCurrentPage to be
mNextPage in computeScrollHelper(), which would in turn mess up
calculations such as RecentsView#getHorizontalOffsetSize().
Also removed resetNextPage parameter from forceFinishScroller(), as
resetNextPage was always passed as true anyway.
Test: Swipe up and to the right to home, ensure adjacent page goes all
the way off screen
Fixes: 199927699
Change-Id: Iee1ffac10e5195f0c3a124a23b06d5411ecd7ba2
2021-09-14 14:38:15 -07:00
Brian Isganitis
21faa2a3de
Enable widgets in launcher preview flag
...
Test: Widgets fully load in launcher preview with correct size and color
Fix: 185306338, 191499358
Change-Id: I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527
Merged-In: I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527
2021-09-14 15:20:41 -04:00
Brian Isganitis
62a6271d9c
Load widgets in wallpaper app launcher preview
...
Test: Widgets in wallpaper app launcher preview rendered
Bug: 185306338
Change-Id: I38569d2ff0b64ba55eb188afa42fba4100aae7ff
Merged-In: I38569d2ff0b64ba55eb188afa42fba4100aae7ff
2021-09-14 15:19:33 -04:00
Sunny Goyal
828154a2b2
Fixing widget not laid-out properly in preview
...
Bug: 185306338
Test: Manual
Change-Id: Ib1ec8a53e4701f6813813b86bf481b837127a909
Merged-In: Ib1ec8a53e4701f6813813b86bf481b837127a909
2021-09-14 15:14:44 -04:00
Brian Isganitis
d1d6713700
Add flag for widgets in Launcher preview
...
Test: Flag available in developer options (does nothing)
Bug: 185306338
Change-Id: I74063d0ef29f828f740633ce0dab860672f69d3d
Merged-In: I74063d0ef29f828f740633ce0dab860672f69d3d
2021-09-14 15:14:26 -04:00
Vinit Nayak
c64c3cf488
Rebind TISBinder if service killed during connection
...
Fixes: 198845519
Change-Id: I6af79af5591e2dca941ca4428c550169a178479c
2021-09-14 11:26:00 -07:00
Vinit Nayak
0b6246f5a0
Merge "Set GroupedTaskView child thumbnails in onMeasure" into sc-v2-dev am: ca549695aa am: 6a976df53e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822489
Change-Id: Id72a03749351dd6834cb10f4a59fdc02506ccf88
2021-09-14 18:18:12 +00:00
Vinit Nayak
6a976df53e
Merge "Set GroupedTaskView child thumbnails in onMeasure" into sc-v2-dev am: ca549695aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822489
Change-Id: Ic6cbd42bc918a4cc45bb963119365da47af40cc0
2021-09-14 18:03:34 +00:00
Vinit Nayak
ca549695aa
Merge "Set GroupedTaskView child thumbnails in onMeasure" into sc-v2-dev
2021-09-14 17:34:52 +00:00
TreeHugger Robot
3605454497
Merge "Adding Winscope Launcher trace artifact" into sc-v2-dev am: e7e282b80b am: cc2ddb817c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780473
Change-Id: I9a5f6391f589ebc0df77457f34188bb818b0a791
2021-09-14 07:09:34 +00:00
TreeHugger Robot
cc2ddb817c
Merge "Adding Winscope Launcher trace artifact" into sc-v2-dev am: e7e282b80b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780473
Change-Id: I68709c13fa08990793d230e37191c66f5f02982b
2021-09-14 07:00:00 +00:00
TreeHugger Robot
e7e282b80b
Merge "Adding Winscope Launcher trace artifact" into sc-v2-dev
2021-09-14 06:43:24 +00:00
Vinit Nayak
e6abfca7ab
Set GroupedTaskView child thumbnails in onMeasure
...
* Also add indicator if split was originally started
in portrait of landscape, so we know which dimension
of the divider bar to use if user goes to overview
and then rotates device (horizontal divider vs
vertical)
Fixes: 199461137
Test: Swipe to overview with staged split
Rotate device with and without live tile
Doesn't overlap with overview actions
Change-Id: I8b7f104f16d5b7265828f1b3d98ba3426b28d44f
2021-09-13 18:07:09 -07:00
TreeHugger Robot
d1829ee8af
Merge "Use FakeTransformParams instead of real ones for gesture tutorial" into sc-v2-dev am: cd3c385246 am: 6f29772115
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820855
Change-Id: I3fd4bd65c58f0e9cb27383a8f608662824f6caa1
2021-09-14 00:53:28 +00:00
TreeHugger Robot
6f29772115
Merge "Use FakeTransformParams instead of real ones for gesture tutorial" into sc-v2-dev am: cd3c385246
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820855
Change-Id: I0f9d945e253933485c74f3bd279bcaf8dbb96f23
2021-09-14 00:30:08 +00:00
Tony Wickham
2a10e62e92
Add logs for taskbar and overview split action
...
Log:
- Taskbar app launch (also from foldeR)
- Taskbar app drag (also from folder)
- Taskbar folder open
- Long press to hide taskbar
- Long press to show taskbar
- Overview Split screen action
Also add support for ActivityContext to overwrite/add to LauncherAtom.ItemInfo, which TaskbarActivityContext does to change HotseatContainer and PredictedHotseatContainer to TaskBarContainer
Test: enable logcat locally
Bug: 193009817
Change-Id: Ia82c846a727fecb8cbfd0a069c8af1276083bf83
2021-09-13 17:25:15 -07:00
TreeHugger Robot
cd3c385246
Merge "Use FakeTransformParams instead of real ones for gesture tutorial" into sc-v2-dev
2021-09-14 00:07:29 +00:00
Sunny Goyal
94ce9f3901
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92 am: a0fda9ad65 am: b169269c68
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: I9183673c702f092d06c5623678b1f5a359fe796f
2021-09-13 23:59:34 +00:00
Sunny Goyal
846dc69444
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92 am: 83d4b37ff2 am: 0ea3bdc05e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: I64a88f52be8777295c44fd46180f343e2c7a2e7d
2021-09-13 23:59:23 +00:00
Sunny Goyal
d9f9b0d712
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 90c6b6a19f am: ce5d91df28 am: 9e7ba604b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Ie8cc033702bee1b8310c0ca241618851195351f7
2021-09-13 23:59:08 +00:00
Sunny Goyal
b169269c68
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92 am: a0fda9ad65
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Iefabef9b58afbcac6248c008a492ac574e4d00c7
2021-09-13 23:54:57 +00:00
Sunny Goyal
3e3663d03b
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 8c6f984334
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: I8ddb6935b2505b9d051cac2c7564a903999b1009
2021-09-13 23:45:36 +00:00
Sunny Goyal
0ea3bdc05e
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92 am: 83d4b37ff2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Ia1d7e5c6486b83c9cceed284a8b43cef6a7a8e68
2021-09-13 23:45:32 +00:00
Sunny Goyal
9e7ba604b7
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 90c6b6a19f am: ce5d91df28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: I7aa6aa7c376fcaaf64ad17e346102f88c1283c83
2021-09-13 23:45:25 +00:00
Sunny Goyal
a0fda9ad65
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: I59ca789a99b4bdd246f4d87f91596dc392766342
2021-09-13 23:42:04 +00:00
Sunny Goyal
83d4b37ff2
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: I1fb64c259235817fd3eec124c61f2dbe9f28d2b7
2021-09-13 23:42:01 +00:00
Sunny Goyal
ce5d91df28
Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 90c6b6a19f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Ia8b7c3c8af44f082d9906fc2e2644e4846d87c4f
2021-09-13 23:33:00 +00:00
Sunny Goyal
d73fa1ef92
Fixing ModelPreload cancelling existing load am: 57d4f748b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Iefe6ef941158a9c5b6eada7c71e8633b96ac4233
2021-09-13 23:24:13 +00:00
Sunny Goyal
8c6f984334
Fixing ModelPreload cancelling existing load am: 57d4f748b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Ib11b322e13cb18389230d3f7ea9fdd711c660e52
2021-09-13 23:23:05 +00:00
Sunny Goyal
90c6b6a19f
Fixing ModelPreload cancelling existing load am: 57d4f748b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555
Change-Id: Ibef6096d876ec9e44be982bc53865ca1a97579b2
2021-09-13 23:23:01 +00:00
Thiru Ramasamy
be8b2ad03d
Add TaskBarContainer to launcher_atom.proto
...
Bug: 193009817
Test: Manual
Change-Id: Ib69be2b2405ab38891dff34c4d366105cd2499c1
2021-09-13 16:15:52 -07:00
Android Build Coastguard Worker
ff78a721e5
Snap for 7727085 from adfcd9daea to sc-v2-release
...
Change-Id: I9a6b52a44eeb8cfb53cb1d7a9d7ac23665ef9c89
2021-09-13 23:08:22 +00:00
TreeHugger Robot
dff0728fbd
Merge "Add tmp buffer to rounded corners" into sc-v2-dev am: fb4461e2e7 am: ca03534626
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763586
Change-Id: Idb88de5e4f5ddebd22c16d071ff5e649111aaa55
2021-09-13 22:38:21 +00:00
TreeHugger Robot
ca03534626
Merge "Add tmp buffer to rounded corners" into sc-v2-dev am: fb4461e2e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763586
Change-Id: If0c9860d189b6cc103c6e43d81788a5d22014cd4
2021-09-13 22:24:00 +00:00
TreeHugger Robot
fb4461e2e7
Merge "Add tmp buffer to rounded corners" into sc-v2-dev
2021-09-13 22:13:20 +00:00
Colin Cross
85534582d5
[automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours am: a171d51133 -s ours am: c77571ba56 -s ours am: 512ee86ff3 -s ours
...
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381
Change-Id: I198cc75712626a4c5ccac5ca505ee0bd94099fee
2021-09-13 21:55:09 +00:00
Colin Cross
512ee86ff3
[automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours am: a171d51133 -s ours am: c77571ba56 -s ours
...
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381
Change-Id: I7238f9e02864863c8c00180f5d3678320d2d6b79
2021-09-13 21:38:17 +00:00
Colin Cross
c77571ba56
[automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours am: a171d51133 -s ours
...
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381
Change-Id: Ic1991a3163ec9945c0401b94bb65263ebf90947b
2021-09-13 21:22:11 +00:00
Colin Cross
a171d51133
[automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours
...
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381
Change-Id: I2e1f58c6291e8d8ae6c48b6adb7e2d3fc3b99277
2021-09-13 21:14:31 +00:00
Colin Cross
2ed25e3555
Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master
...
* changes:
Temporarily disable Launcher3 tests affected by fling changes
Disable eager initialization of Jetpack libraries
2021-09-13 21:10:01 +00:00
Brian Isganitis
f0ca4ae750
Add CONTAINER_WALLPAPERS for storing wallpaper info.
...
Test: No
Bug: 188222480
Change-Id: Id85bd46cdd384b359de82f47530a269eee99dd02
2021-09-13 16:41:46 -04:00
Winson Chung
58030642b0
Add tmp buffer to rounded corners
...
- Testing if this actually moves the gesture out of the screen decor area
Bug: 197326121
Test: Pre/postsubmit
Change-Id: I3c46ed3860ba6ba1fb605242b4f7242aaabc5672
2021-09-13 20:01:56 +00:00
Vinit Nayak
f66f8271cf
Use FakeTransformParams instead of real ones for gesture tutorial
...
* SwipeUpAnimationLogic was ignoring the TransformParams arg
that was being passed in, because for staged split we are
creating/pairing TaskViewSimulators and TransformParams in
SwipeUpAnimationLogic itself.
* Override the remote handle that gets created during the gesture
tutorial (which shouldn't be done in other cases, but because
tutorial is a one-off it should be fine)
Fixes: 199482330
Test: Launched gesture tutorial from launcher home settings
No crash
Change-Id: I346211a422e46981a994bd40e34e46b44f9f5d0e
2021-09-13 12:57:17 -07:00