Commit Graph

16456 Commits

Author SHA1 Message Date
TreeHugger Robot 643253d433 Merge "Moving DatabaseHelper to it's own class outside of Launcher provider" into udc-dev 2023-04-10 18:33:39 +00:00
Stefan Andonian eac832aedd Merge "Load Delegate Items in correct order when loading Launcher Data." into udc-dev 2023-04-10 18:26:25 +00:00
Brian Isganitis 3ef917a4e3 Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet.
Test: Manual
Fix: 270396268
Change-Id: I3cebdb6646060cf6793e5ffc638213dde41338c0
2023-04-10 12:55:18 -04:00
Sunny Goyal ba2795827b Moving DatabaseHelper to it's own class outside of Launcher provider
Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: Ib8c94ceb954172dc27e357be2face06d50d399dd
2023-04-10 09:15:18 -07:00
Stefan Andonian e4609a27bd Load Delegate Items in correct order when loading Launcher Data.
Bug: 251502424
Test: Loaded and bound the workspace properly.
Change-Id: Ia6d609ffa21c5036cb48e464d3e8d4fa561cb008
2023-04-10 15:46:12 +00:00
Stefan Andonian fbf2d5e717 Merge "Add @WorkerThread Annotations to RPC calling methods in QsbContainerView." into udc-dev 2023-04-07 23:13:20 +00:00
Sunny Goyal 895392e923 Removing some obsolete features:ENABLE_MINIMAL_DEVICE, ENABLE_DATABASE_RESTORE
Bug: 270392984
Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I58c3e76de521e702fb44ccfc14c9b5a731b1d511
2023-04-07 13:59:08 -07:00
Schneider Victor-tulias 8744d8b6f1 Merge "Cleanup ENABLE_BULK_WORKSPACE_ICON_LOADING" into udc-dev 2023-04-07 20:10:27 +00:00
Stefan Andonian 7fcee91610 Add @WorkerThread Annotations to RPC calling methods in QsbContainerView.
Bug: 243408674
Test: Compiled and runs on phone correctly.
Change-Id: I5062e2c88f161562f75158f86501c6443fa06aae
2023-04-07 17:56:29 +00:00
Schneider Victor-tulias 6fca4b795b Cleanup ENABLE_GESTURE_ERROR_DETECTION
Flag: ENABLE_GESTURE_ERROR_DETECTION
Fixes: 270389990
Test: printed gesture nav logs
Change-Id: I68317b75b10d46ccae29206d94290e013b2a7cca
2023-04-07 17:14:59 +00:00
Schneider Victor-tulias 4217c930cc Cleanup ENABLE_BULK_WORKSPACE_ICON_LOADING
Flag: ENABLE_BULK_WORKSPACE_ICON_LOADING
Fixes: 270392203
Test: restarted device
Change-Id: Iac6c3da1fb7cfc5c9f7e947b3caf679a50133343
2023-04-07 17:13:52 +00:00
Tracy Zhou acb218294b Merge "Turn off ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS in U" into udc-dev 2023-04-07 07:19:30 +00:00
Tracy Zhou cc613c93f9 Turn off ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS in U
Will enable in U-QPR branch once it's cut, since split to workspace is targeting U-QPR1

Bug: 270394122
Test: N/A
Change-Id: I9ead8616fb08125b69325db931cea553168f5194
2023-04-06 21:02:03 -07:00
Federico Baron 231a65e289 Merge "Revert "Fix bug where very large widgets get cropped out"" into tm-qpr-dev am: 627376d5b9 am: 6e15488a84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22514931

Change-Id: Ib17fdb1a1236fbbf0417c7c182c530dbcd17ef74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 03:25:39 +00:00
Federico Baron 6e15488a84 Merge "Revert "Fix bug where very large widgets get cropped out"" into tm-qpr-dev am: 627376d5b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22514931

Change-Id: Iac69ac354de9a81293e9b3ec7955c926227eb0ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 02:43:54 +00:00
Federico Baron 627376d5b9 Merge "Revert "Fix bug where very large widgets get cropped out"" into tm-qpr-dev 2023-04-07 02:13:45 +00:00
Sunny Goyal 7b74a5c53f Merge "Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""" into udc-dev 2023-04-07 01:02:09 +00:00
Tracy Zhou 47d4769357 Merge "Log the input type for gesture nav gestures" into udc-dev 2023-04-06 23:33:51 +00:00
Charlie Anderson 39fbf0e1a7 Merge "Prevents cropping of shortcuts in the app popup menu by limiting rows to available screen space." into udc-dev 2023-04-06 22:44:42 +00:00
Sunny Goyal 5cd1b198b0 Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""
This reverts commit 7025765c72.

Reason for revert: 274169859

Change-Id: I86a114bf2c713fea6ec7095f68816820ba5f7495
2023-04-06 22:33:11 +00:00
Treehugger Robot 4c61c48dd4 Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev 2023-04-06 21:28:38 +00:00
TreeHugger Robot a47bd20ce4 Merge "Cleanup ENABLE_TASKBAR_POPUP_MENU" into udc-dev 2023-04-06 20:30:30 +00:00
Treehugger Robot 4f93cc72a5 Merge "Cleanup ENABLE_BULK_ALL_APPS_ICON_LOADING" into udc-dev 2023-04-06 20:29:39 +00:00
Treehugger Robot 6a9a1b39f7 Merge "Cleanup ENABLE_SMARTSPACE_DISMISS" into udc-dev 2023-04-06 20:29:35 +00:00
Federico Baron 81ffe3d28d Revert "Fix bug where very large widgets get cropped out"
This reverts commit cb36de9e9f.

Reason for revert: b/276644867

Change-Id: If5d5172ab26c71304364b6b528162e551d35ec9f
2023-04-06 19:53:58 +00:00
Charlie Anderson 471b88269f Prevents cropping of shortcuts in the app popup menu by limiting rows to available screen space.
- Limit the number of shortcut rows shown to what will fit the screen.
 - Fix drag testDragShortcut so that it works for all screen sizes.
 - Prevent cropping and misalignment of shortcut text.

Bug: 247880037
Fixes: 275115239
Test: locally on different devices, and with Display Size set to different sizes
Change-Id: I18b27ec302c34d1d801171ab18c64169a9f252ee
2023-04-06 15:23:38 -04:00
Tracy Zhou 5a56d022cb Log the input type for gesture nav gestures
Test: N/A
Bug: 276152142
Change-Id: I84a7a9470aa3151d4c6b9dbfc61d8f158987ea47
2023-04-06 09:49:28 -07:00
fbaron a3dbce41e3 Prevent two pane widget picker code from reaching foldables
Currently, there's a few sections of the code that are intended to only be reached by tablets in landscape mode that can be reached by unfolded foldables. Here, we fix this so it no longer occurs.

Bug: 277102339
Test: Verify widget picker works correctly on tablet
Change-Id: I1f2bc99072aff6d852f9ce658ab00fa33b9e02b5
2023-04-06 09:38:15 -07:00
TreeHugger Robot 3c98169752 Merge "Update the pending app icon to match new specs" into udc-dev 2023-04-06 16:24:53 +00:00
Brian Isganitis 93f20cc2d5 Merge "Make navbar scrim taskbar background if taskbar is enabled." into udc-dev 2023-04-05 23:58:01 +00:00
Schneider Victor-tulias bbe9ca616a Cleanup ENABLE_TASKBAR_POPUP_MENU
Flag: ENABLE_TASKBAR_POPUP_MENU
Fixes: 270392477
Test: opened a popup menu from the taskbar
Change-Id: I779e5410163aa1c9042d2fe128e0c528d168a964
2023-04-05 15:42:40 -07:00
Schneider Victor-tulias 7d8a0df175 Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING
flag: ENABLE_INPUT_CONSUMER_REASON_LOGGING
Fixes: 270390028
Test: ran launcher and printed gesture nav logs
Change-Id: I0fd0b82c1c812ddc43beba03bd456795f68ada55
2023-04-05 15:40:32 -07:00
Schneider Victor-tulias aba2d9796e Cleanup ENABLE_BULK_ALL_APPS_ICON_LOADING
Flag: ENABLE_BULK_ALL_APPS_ICON_LOADING
Fixes: 270392465
Test: restarted device
Change-Id: I2fe963a512632919c12e1caaf54b2aa8ecd5a3b5
2023-04-05 15:39:51 -07:00
Schneider Victor-tulias 948fc94e12 Cleanup ENABLE_SMARTSPACE_DISMISS
Flag: ENABLE_SMARTSPACE_DISMISS
Fixes: 270391664
Test: dismissed a smartspace card
Change-Id: Ife2dd2fdc023474f59638f2d423fdb9c21823676
2023-04-05 15:38:43 -07:00
TreeHugger Robot 75f7bbc150 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40 am: a2b770b484
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I41eea8cf3fa15c9c5c3f3184f2ba75318332f623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:36:14 +00:00
Sunny Goyal 8382546a11 Merge "Removing support for legacy shortcuts from default layouts" into udc-dev 2023-04-05 22:26:36 +00:00
TreeHugger Robot a2b770b484 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I71c7f33286ccfa770f87b812c8ec27fa4ecb25ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:06:49 +00:00
Brian Isganitis 5489507e69 Merge "Clean up QUICK_WALLPAPER_PICKER." into udc-dev 2023-04-05 21:56:33 +00:00
Sunny Goyal afaa8f0bfe Removing support for legacy shortcuts from default layouts
Launcher will only allow deep shortcuts to be pinned on homescreen.

Bug: 275875209
Test: Updated tests
Flag: N/A
Change-Id: I4f2674deb9cd81dd07d5d537f35a51b030a183da
2023-04-05 20:20:34 +00:00
TreeHugger Robot c62a0672ab Merge "Don't return early if searching during rebindAdapters()." into udc-dev 2023-04-05 19:33:43 +00:00
Jon Miranda 04f051045c Allow grids to specify if we should start align taskbar in 3 button
nav.

Bug: 259712417
Test: check layout on tablet
      check layout on multi_display devices

Change-Id: I282f51e5d76a30e9ad9d8c52d03d4853e965d65a
2023-04-05 10:29:51 -07:00
Brian Isganitis 296f8776f7 Merge "Support simple A-Z search in Taskbar All Apps." into udc-dev 2023-04-05 17:13:52 +00:00
Federico Baron 7122921153 Merge "Rename widgets two pane sheet layout files and spec files to more fitting name" into udc-dev 2023-04-05 16:36:36 +00:00
fbaron d2f0676112 Create flag for multi-select edit mode
Bug: 270709220
Test: n/a
Change-Id: I3855662b56b9d26b5513c7681e7f83fa453a1173
2023-04-05 00:43:38 +00:00
Brian Isganitis 728d19a0e2 Support simple A-Z search in Taskbar All Apps.
Supporting the Launcher3 search box is low hanging fruit, so we might as
well do it.

Also renamed the feature flag to be for search in general.

Test: Launching, split screen, and popups work in search.
Bug: 216683257
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR=false
Change-Id: I056b89be6f458d1d90100e34551baa34037574d1
2023-04-04 20:35:31 -04:00
TreeHugger Robot aa017b3c84 Merge "Don't show two pane widget picker in foldables." into udc-dev 2023-04-05 00:29:16 +00:00
Andy Wickham 764c21b207 Don't return early if searching during rebindAdapters().
This was a rare case (made less rare by rocket gesture) which was
not actually updating the UI correctly.

Expected flow:
 1. All Apps is inflated with a single recyclerview for apps (as
    defined in xml).
 2. Later, rebindAdapters() is called, and if there are work apps,
    the recyclerview is removed and replaced by a viewpager with 2
    children recyclerviews (one for personal and one for work).
 3. At any point if you start searching, the app rv or viewpager
    is hidden and the search rv is shown.

Actual flow in the error case:
 - Same as above, but if you were searching when 2 happens, we
   returned early, so we never replaced the app rv with the
   viewpager, so all the apps were dumped in the single rv, and
   the header with tabs showed above it.

Fix: 272575605
Test: Manually force first rebind ta happen while searching, and
verify this bug was hit before the fix but not after.

Change-Id: I25b8991564645368840a390733aa893dee4cd10e
2023-04-04 14:46:26 -07:00
fbaron 6664d8c80b Update the pending app icon to match new specs
Bug: 276950579
Test: Download apps and verify that they match the updated specs
Change-Id: I03b9a5c87514e91c646e961ec57f63f1305d0327
2023-04-04 13:40:55 -07:00
Tracy Zhou 7a8cbd3186 Merge "Support second meta key closing the all apps tray" into udc-dev 2023-04-04 20:13:23 +00:00
Sunny Goyal 6b543872fb Merge "Removing unnecessary device sumaltion code" into tm-qpr-dev am: 08a13d6aae am: e2d73bf57d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22432108

Change-Id: I007c3bcd9a5d5dd8c986efc089420f73f7bad18f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 17:50:24 +00:00