Commit Graph

16456 Commits

Author SHA1 Message Date
Thales Lima 9223c1e27c Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev 2021-09-08 09:58:11 +00:00
TreeHugger Robot dab125fcc3 Merge "Prevent NPE when init device profile" into sc-v2-dev am: 11438429a8 am: 68e7b1a315
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15781507

Change-Id: I23c1ef0490784d2ff8452ecc7714c841d76d210d
2021-09-08 02:46:25 +00:00
TreeHugger Robot 11438429a8 Merge "Prevent NPE when init device profile" into sc-v2-dev 2021-09-08 02:14:31 +00:00
Jerry Chang bfac46a30c Prevent NPE when init device profile
Fix: 198871283
Test: manual
Change-Id: Ie303ff4f3dc05f419e80038e41e195dc874ba40a
2021-09-08 08:34:39 +08:00
TreeHugger Robot 6b37bffd5c Merge "Fixing leak in model tests" into sc-v2-dev am: d213914214 am: 8dbae16629
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15777966

Change-Id: I210bc76082112c716432dcc00ffe398722a1fe48
2021-09-07 22:06:32 +00:00
TreeHugger Robot d213914214 Merge "Fixing leak in model tests" into sc-v2-dev 2021-09-07 21:31:34 +00:00
Tony Wickham 6bc2bc1a02 Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev am: 437e44810d am: 15c653c65c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779378

Change-Id: Idcee3d0543efaad86a0dbd0409ed5f1596971369
2021-09-07 21:22:59 +00:00
Tony Wickham 437e44810d Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev 2021-09-07 20:52:44 +00:00
Samuel Fufa 832043d1c9 Merge "[Search] Update AllApps header protection" into sc-qpr1-dev 2021-09-07 19:57:31 +00:00
Sunny Goyal b45aef3f1c Fixing leak in model tests
> InstallSessionTracker is not released immediately causing large memory objects
  being held by tests

Bug: 198719724
Test: Presubmit
Change-Id: I1d19a2a498a9f255077818dc7d78422367ec1749
2021-09-07 15:34:48 -04:00
Tony Wickham 302eff9c84 Fix wallpaper picker crash if folder is in hotseat
Only use mWorkspaceScreens if info.container == CONTAINER_DESKTOP, otherwise assume it's in mHotseat instead.

Test: have a folder in hotseat, open wallpaper picker and can see the preview and set wallpaper
Fixes: 199179718
Change-Id: I6f1dbd8dc387783bb8b76e2bc469508c079a85f8
2021-09-07 12:04:47 -07:00
TreeHugger Robot f0270040b7 Merge "Fix crash when hotseat icon is dragged onto Workspace" into sc-v2-dev am: ce10de7964 am: fef84dd5ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15771582

Change-Id: I99ee908d056147d354dce088e9eb751da3ae6f9f
2021-09-06 17:30:24 +00:00
Andras Kloczl d888e77145 Fix crash when hotseat icon is dragged onto Workspace
Test: manual
Bug: 198820019
Change-Id: I53bb858feb7aad45472803b133ef3d026dd9f319
2021-09-06 16:43:01 +01:00
TreeHugger Robot 316ff9e86f Merge "Remove widget panel related leftover workspace items" into sc-v2-dev am: 69fd5cb959 am: 29ad430f36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763353

Change-Id: Ice35fd5a9ca28916a33059ff776ff06db9acef02
2021-09-06 13:05:54 +00:00
TreeHugger Robot 69fd5cb959 Merge "Remove widget panel related leftover workspace items" into sc-v2-dev 2021-09-06 12:39:54 +00:00
Alex Chau a643d926f1 Fix getPagesToBindSynchronously returning wrong page pairs am: 62f129b878 am: 5644b4f5fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15754330

Change-Id: Ia7e9f4b5861e60baf7859378c3634fb5c075e7bc
2021-09-06 11:42:23 +00:00
Andras Kloczl 929e3a2742 Remove widget panel related leftover workspace items
Upgrade launcher DB version and remove items with
widget panel IDs from the database.

Test: follow test instructions (in CL comment)
Bug: 198254728
Change-Id: I077a5f70ee93b7eca738b38f6b0e788d49f7ce70
2021-09-06 11:58:32 +01:00
Alex Chau 62f129b878 Fix getPagesToBindSynchronously returning wrong page pairs
- Use WorkSpace.getPagePair instead for accurate value

Bug: 191657065
Test: manual
Change-Id: I584f1705fb5ed2f0d2bd776eb6cf4f60c69238ac
2021-09-06 10:58:48 +01:00
András Klöczl 2a93252733 Merge "Add two extra empty pages on two panel launcher home" into sc-v2-dev am: 4926bf706a am: e19b1fb4a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15727162

Change-Id: I7b7d7f9110dff58ea54d5bce7ae1f28e5ba91e82
2021-09-05 21:33:49 +00:00
András Klöczl 4926bf706a Merge "Add two extra empty pages on two panel launcher home" into sc-v2-dev 2021-09-05 21:05:53 +00:00
Andras Kloczl 408a54f2e7 Add two extra empty pages on two panel launcher home
Add a new screen ID for the second extra empty page
and add that new screen as well when the existing
extra empty page is added so that users can put items
on both sides of Workspace.

Test: manual
Bug: 196376162
Change-Id: I0b4f2e818407a10d8a7c032788a7bd7a61267779
2021-09-05 22:03:07 +01:00
TreeHugger Robot 5ea5f90397 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev 2021-09-04 06:36:28 +00:00
TreeHugger Robot 317e7ac796 Merge "Disable FolderNameEditText on Taskbar" into sc-v2-dev am: eb5f5f7807 am: de88f56fc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756862

Change-Id: I38831495981999a8a0676b7c900377dfe1db248c
2021-09-03 23:24:08 +00:00
TreeHugger Robot eb5f5f7807 Merge "Disable FolderNameEditText on Taskbar" into sc-v2-dev 2021-09-03 23:00:33 +00:00
Tony Wickham d345751849 Disable FolderNameEditText on Taskbar
Test: Can rename folder on home screen, but tapping folder name in taskbar does nothing
Bug: 180051157
Change-Id: Ief19805683f754995baf24d7f41f3979841d5bd3
2021-09-03 12:50:15 -07:00
Nick Chameyev d36b9916af Merge "Add taskbar icons unfold animation" into sc-v2-dev am: 6b53e3101e am: 4ba84e5343
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15685200

Change-Id: I3b9b38342884e5623c320496496717f5510f3ae0
2021-09-03 11:53:06 +00:00
Nick Chameyev 6b53e3101e Merge "Add taskbar icons unfold animation" into sc-v2-dev 2021-09-03 11:19:22 +00:00
Nick Chameyev 4dd4159fdc Add taskbar icons unfold animation
Adds 'move from center' animation for taskbar icons when
unfolding foldable devices.

Moves unfold transition progress provider from quickstep
launcher activity to TouchInteractionService to widen
the scope when this provider is available to cover
both launcher activity and taskbar.

Launcher activity and taskbar get their own instances
of unfold transition progress provider using
ScopedUnfoldTransitionProgressProvider wrapper.
This wrapper allows to get transition progress provider
that emits events only when clients are ready to handle them.

Bug: 193794563
Test: manual
Change-Id: I27581bd4e145a74f526bf60f2a545e56ded322f9
2021-09-03 10:25:52 +01:00
TreeHugger Robot a33bd8dcb6 Merge "Enable staged split for sc-v2" into sc-v2-dev am: b9e08f5773 am: bf552f4d1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15685961

Change-Id: I26ad13f2806047bffda5152857f644f1561586ff
2021-09-02 23:14:39 +00:00
TreeHugger Robot b9e08f5773 Merge "Enable staged split for sc-v2" into sc-v2-dev 2021-09-02 23:00:29 +00:00
Vinit Nayak db2a89d2ec Enable staged split for sc-v2
Bug: 181704764

Change-Id: Id4b0d8a2e3cc110a6aad5f33e29bc6f54c7e3c44
2021-09-02 21:55:26 +00:00
y ca685ffcf7 [Search] Update AllApps header protection
- Disables header protection on AOSP
- Fades in/out search box pill instead of sudden movements
- Work tabs protection shows and hides based on scroll position

Bug: 194106968 [APK attached]
Test: Manual
Change-Id: I5532847ddba3d4555003b0934b8fc846dc5a5cc7
2021-09-02 17:43:04 +00:00
Jonathan Miranda 9a0a3a361e Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be am: eed0520799 am: 44b3eed902
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: Ic6b61a559c0fd0f92cdc8f73867ea2bbdc3d830c
2021-09-02 17:18:11 +00:00
Jonathan Miranda 44b3eed902 Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be am: eed0520799
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I9da12885327677e30f505ef91a741238c4be7bda
2021-09-02 17:03:39 +00:00
Jonathan Miranda 8bcbb662bb Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I438d4193b9a4ef33613f37e7a4ae30d3f663e6bb
2021-09-02 16:48:46 +00:00
Alex Chau a4acb15b6f Merge "Logging for drop bar not appearing for dragged widget" into sc-v2-dev am: 6bad4d8877 am: df7f42c60a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741222

Change-Id: Iafe9703c748e1b9edb302ec55d0f6ae2a0717f10
2021-09-02 10:00:42 +00:00
Alex Chau 6bad4d8877 Merge "Logging for drop bar not appearing for dragged widget" into sc-v2-dev 2021-09-02 09:35:13 +00:00
vadimt 89d9423321 Logging for drop bar not appearing for dragged widget
Test: presubmit
Bug: 195031154
Change-Id: I19494fc3d6d9db252570697c057fdee7f7d44521
2021-09-01 12:33:00 -07:00
Vadim Tryshev 1e78217f41 Merge "Revert "Band-aid for getHomeActivities returning null"" into sc-v2-dev am: fc88784f8d am: 90cedcc741
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15732511

Change-Id: I2fd4bf13a7a6b74e7fa68793be62be928e6cc5e0
2021-09-01 17:47:16 +00:00
Vadim Tryshev fc88784f8d Merge "Revert "Band-aid for getHomeActivities returning null"" into sc-v2-dev 2021-09-01 17:30:55 +00:00
Jerry Chang 93e610d986 Merge "Always refresh device profile when multi window mode changed" into sc-v2-dev am: 125158232e am: 4009f13212
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15683895

Change-Id: Ia02e180ee5bb9cb6fd2f50bd1c0a1ed9d9d1a887
2021-09-01 07:09:05 +00:00
Jerry Chang 125158232e Merge "Always refresh device profile when multi window mode changed" into sc-v2-dev 2021-09-01 06:27:05 +00:00
vadimt 5cca2265b6 Revert "Band-aid for getHomeActivities returning null"
This reverts commit 42a7d1af83.
REASON FOR REVERT: the underlying framework bug is fixed

Test: presubmit
Bug: 187080582

Change-Id: If580a35196ba9a9c5e3a5da642a2ea3aa3d9048e
2021-08-31 18:04:59 -07:00
TreeHugger Robot 0afd598570 Merge "Preventing workspace scroll over QSB area" into sc-v2-dev am: cb776ca518 am: a30438a13f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694303

Change-Id: Ic99fb72e9ecb64a2403414b68cfec73153342b4f
2021-08-31 23:43:51 +00:00
TreeHugger Robot cb776ca518 Merge "Preventing workspace scroll over QSB area" into sc-v2-dev 2021-08-31 23:17:52 +00:00
TreeHugger Robot 83470b5dd0 Merge "Fix some taskbar stashing issues" into sc-v2-dev am: ff705eabe6 am: 6cdcc25465
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15728603

Change-Id: I6da222deeeac85b192303c3dcc7e184040deded0
2021-08-31 23:06:37 +00:00
TreeHugger Robot ff705eabe6 Merge "Fix some taskbar stashing issues" into sc-v2-dev 2021-08-31 22:38:01 +00:00
Tony Wickham 42b0395fee Fix some taskbar stashing issues
- Don't allow long press to stash between taskbar icons
- Ensure taskbar_icon_touch_size is respected; previously it wasn't, because BubbleTextView@shouldIgnoreTouchDown() was returning true in the padding region. For taskbar, we want the whole icon size to be touchable.
- Cancel long press when passing touch slop to avoid swipe down being detected as long press

Test: long press on taskbar background, both between icons and not; swipe down on taskbar
Fixes: 198305464
Change-Id: I36f1d792e91da9a3bf57a2bef1e974b299c4e25c
2021-08-31 14:06:09 -07:00
Samuel Fufa e48771735d Merge "[Search] Update AllApps header protection" into sc-v2-dev am: e34c2f8272 am: 7f8e1c7213
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619042

Change-Id: I7fa29902406eca8a3e962d2a1c359e8e53f08ebe
2021-08-31 18:43:40 +00:00
Samuel Fufa e34c2f8272 Merge "[Search] Update AllApps header protection" into sc-v2-dev 2021-08-31 18:08:34 +00:00