Commit Graph

47938 Commits

Author SHA1 Message Date
Brian Isganitis 3ec7182582 [automerger skipped] Enable widgets in launcher preview flag am: 21faa2a3de am: 23e8fd30cd -s ours
am skip reason: Merged-In I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527 with SHA-1 1ce4353359 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822859

Change-Id: I338219558b0144227a5a8f3126a2112b484cd71a
2021-09-15 19:15:37 +00:00
Brian Isganitis 1f3ccfc4b3 [automerger skipped] Load widgets in wallpaper app launcher preview am: 62a6271d9c am: 57982bd25d -s ours
am skip reason: Merged-In I38569d2ff0b64ba55eb188afa42fba4100aae7ff with SHA-1 c79d577f18 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829075

Change-Id: I8af559d104c1da133e61a2add120d441d6f55c89
2021-09-15 19:15:36 +00:00
Sunny Goyal 28ec0aec81 [automerger skipped] Fixing widget not laid-out properly in preview am: 828154a2b2 am: 45d3c5f1e1 -s ours
am skip reason: Merged-In Ib1ec8a53e4701f6813813b86bf481b837127a909 with SHA-1 5d5085c5c3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829074

Change-Id: I02a51ce6f315ff91b91ddbec4c32e7d683088781
2021-09-15 19:15:35 +00:00
Brian Isganitis 57cc598160 [automerger skipped] Add flag for widgets in Launcher preview am: d1d6713700 am: 9eb2171cac -s ours
am skip reason: Merged-In I74063d0ef29f828f740633ce0dab860672f69d3d with SHA-1 2b81fec450 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828620

Change-Id: I9006ee3677609a930dc75aeec56e3be698ad8f00
2021-09-15 19:15:34 +00:00
Brian Isganitis 23e8fd30cd Enable widgets in launcher preview flag am: 21faa2a3de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822859

Change-Id: I255509bc1b4399c75b794a11e99cf0651f5ee4f7
2021-09-15 19:04:53 +00:00
Brian Isganitis 57982bd25d Load widgets in wallpaper app launcher preview am: 62a6271d9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829075

Change-Id: I4bbdbd0428ae6f9ca40e3bd5a6b72052de76f732
2021-09-15 19:04:53 +00:00
Sunny Goyal 45d3c5f1e1 Fixing widget not laid-out properly in preview am: 828154a2b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829074

Change-Id: I553d6c850864041ccfa1c69062beb1fa0d44b887
2021-09-15 19:04:52 +00:00
Brian Isganitis 9eb2171cac Add flag for widgets in Launcher preview am: d1d6713700
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828620

Change-Id: I84e480cc4730ee7e029a6da12f61f468183023a4
2021-09-15 19:04:51 +00:00
Brian Isganitis 52715bed68 [automerger skipped] Enable widgets in launcher preview flag am: 21faa2a3de -s ours
am skip reason: Merged-In I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527 with SHA-1 1ce4353359 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822859

Change-Id: Icaffc1818b602d782d22673843ac592a766066e9
2021-09-15 19:04:50 +00:00
Brian Isganitis 45a72645bb [automerger skipped] Load widgets in wallpaper app launcher preview am: 62a6271d9c -s ours
am skip reason: Merged-In I38569d2ff0b64ba55eb188afa42fba4100aae7ff with SHA-1 c79d577f18 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829075

Change-Id: Iab7ec7dc1fca9c60a634b36cf24c8cee5489c527
2021-09-15 19:04:49 +00:00
Sunny Goyal 093b864631 [automerger skipped] Fixing widget not laid-out properly in preview am: 828154a2b2 -s ours
am skip reason: Merged-In Ib1ec8a53e4701f6813813b86bf481b837127a909 with SHA-1 5d5085c5c3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829074

Change-Id: I2b575309ea29d0f0d1736668c67dd886b407fc2f
2021-09-15 19:04:48 +00:00
Brian Isganitis 2a616a9bbd [automerger skipped] Add flag for widgets in Launcher preview am: d1d6713700 -s ours
am skip reason: Merged-In I74063d0ef29f828f740633ce0dab860672f69d3d with SHA-1 2b81fec450 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828620

Change-Id: Ide2a5d91609621292b4600fd2c56a5f3bf754d77
2021-09-15 19:04:48 +00:00
Tony Wickham 3586cacf6a Merge "Don't set Taskbar window to non-fullscreen while folder animates closed" into sc-v2-dev am: 3d0fca7e0d am: c09201a91b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15832181

Change-Id: Ib42c5dc8102ffa72b35e7ebca046d554d2afa009
2021-09-15 18:25:07 +00:00
Tony Wickham c09201a91b Merge "Don't set Taskbar window to non-fullscreen while folder animates closed" into sc-v2-dev am: 3d0fca7e0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15832181

Change-Id: I92d822ab9e163d162275f55f7ed534ca001a2ad6
2021-09-15 18:06:18 +00:00
Tony Wickham 3d0fca7e0d Merge "Don't set Taskbar window to non-fullscreen while folder animates closed" into sc-v2-dev 2021-09-15 17:47:46 +00:00
Tony Wickham 458a10cb95 Merge changes from topics "TaskbarLogging", "taskbar-log" into sc-v2-dev am: 2908eb70fc am: d99cff7aee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15720731

Change-Id: Iaf43948a6774b348f55cf5fbc707ddb1cdd2ec98
2021-09-15 16:50:13 +00:00
Tony Wickham d99cff7aee Merge changes from topics "TaskbarLogging", "taskbar-log" into sc-v2-dev am: 2908eb70fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15720731

Change-Id: I9886a307206a76109a7932cc1cf22aa8b0e7a956
2021-09-15 16:40:36 +00:00
Tony Wickham 2908eb70fc Merge changes from topics "TaskbarLogging", "taskbar-log" into sc-v2-dev
* changes:
  Add logs for taskbar and overview split action
  Add TaskBarContainer to launcher_atom.proto
2021-09-15 16:28:45 +00:00
Pratyush fa29127c48 Merge "Revert "Make hotseat bottom a launcher config"" 2021-09-15 09:15:57 +00:00
Pratyush 8c2932567b Revert "Make hotseat bottom a launcher config"
Revert "Add vendor/unbundled_google/packages/LauncherIndiaGoogle..."

Revert "Create a new launcher for lily"

Revert submission 15080460-lily-launcher-master

Reason for revert: <Build Breakage>
Reverted Changes:
I0b2d19ee7:Make hotseat bottom a launcher config
I0bb4c815c:Add vendor/unbundled_google/packages/LauncherIndia...
I666ce8258:Create a new launcher for lily
I4d078a9d9:Move QSB to bottom of the home screen in LauncherL...

Change-Id: Ib9f32150de561dcd56122761975abe8828839f40
2021-09-15 08:30:08 +00:00
TreeHugger Robot 90b94185e1 Merge "Don't move taskbar window when it resizes" into sc-v2-dev am: a2f04dd7d4 am: 8832cb8e26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829006

Change-Id: I99863077489f4876e95a43b1ceac23864181de96
2021-09-15 07:53:10 +00:00
Pratyush 4340b12da5 Merge "Make hotseat bottom a launcher config" 2021-09-15 07:52:56 +00:00
TreeHugger Robot 8832cb8e26 Merge "Don't move taskbar window when it resizes" into sc-v2-dev am: a2f04dd7d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829006

Change-Id: I3a6bf87686f13cdada7f7f0e362f6e79a5f19fe5
2021-09-15 07:42:33 +00:00
TreeHugger Robot a2f04dd7d4 Merge "Don't move taskbar window when it resizes" into sc-v2-dev 2021-09-15 07:26:28 +00:00
Vadim Tryshev 4416c0e95b Merge "Removing unused tracing" into sc-v2-dev am: 72da449f8a am: 502772ad25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15800620

Change-Id: Ic39116b7c3fdb2d2149285194332eb36324f5703
2021-09-15 03:10:01 +00:00
Vadim Tryshev 502772ad25 Merge "Removing unused tracing" into sc-v2-dev am: 72da449f8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15800620

Change-Id: I80b3f210bb8b2084deeaac139644b56f40ba7434
2021-09-15 02:50:29 +00:00
Vadim Tryshev 72da449f8a Merge "Removing unused tracing" into sc-v2-dev 2021-09-15 02:35:04 +00:00
Tony Wickham d5e116a750 Don't set Taskbar window to non-fullscreen while folder animates closed
Test: Open an app, open a folder in taskbar, and drag an app from the folder. Ensure the folder close animation plays completely.
Fixes: 199954907
Change-Id: I1caec4ef24b5325724d74f10ddbeae6ef8f9e959
2021-09-14 17:48:14 -07:00
TreeHugger Robot e7ca091d6e Merge "Rebind TISBinder if service killed during connection" into sc-v2-dev am: 25a1e0b913 am: 5fffa1df0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828615

Change-Id: Ia30a61ba68621f2532ed395498205aab783703d6
2021-09-15 00:43:43 +00:00
Tony Wickham 48d91ce7ac Reset RecentsView#mNextPage when swiping to home am: d552132d0b am: 46192d288a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828992

Change-Id: Icd5e85956959c120744b81d7ba57ff586ef0adad
2021-09-15 00:43:30 +00:00
TreeHugger Robot 5fffa1df0a Merge "Rebind TISBinder if service killed during connection" into sc-v2-dev am: 25a1e0b913
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828615

Change-Id: I06c2a96eaf0372f99ef2f833da41a9615ee899a7
2021-09-15 00:34:37 +00:00
TreeHugger Robot 25a1e0b913 Merge "Rebind TISBinder if service killed during connection" into sc-v2-dev 2021-09-15 00:31:23 +00:00
Tony Wickham 46192d288a Reset RecentsView#mNextPage when swiping to home am: d552132d0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828992

Change-Id: I9c8c0ce872cd205a25ca3154b842b9cc98a9c578
2021-09-15 00:28:58 +00:00
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