Commit Graph
87505 Commits
Author SHA1 Message Date
Holly Jiuyu Sun 1459fd831c Merge "[ps] Add helper function to scroll a recycler view to bottom and resetAndScrollToPrivateSpace." into main 2023-11-17 21:33:46 +00:00
Sebastián Franco dacb076588 Merge "Make sure ReorderAlgorithm only work on the logic layer and not on the view layer" into main 2023-11-17 19:20:18 +00:00
Sunny Goyal f7e7843a2b Merge "Removing unused title change logic in settings" into main 2023-11-17 18:18:08 +00:00
Jagrut Desai a2825e011c Merge "New Meta Action Icon for Taskbar" into main 2023-11-17 17:59:45 +00:00
Charlie Anderson c23a440f8d Add aconfig flag enable_launcher_br_metrics
Flag: ACONFIG  com.android.launcher3.enable_launcher_br_metrics DEVELOPMENT
Bug: 307527314
Bug: 305984208
Test: locally verify
Change-Id: I28488de7133d898e6ef990183f0af5f34732cced
2023-11-17 17:38:33 +00:00
Sebastian Franco 6336f9bca3 Make sure ReorderAlgorithm only work on the logic layer and not on the view layer
The method isNearestDropLocationOccupied finds the NearestDrop location
using the view models (i.e. the CellLayoutLayoutParams) and the new
method isConfigurationRegionOccupied run over the logic models (i.e. the
CellAndSpan or ItemConfiguration) ensuring a separation between them.

Test: ReorderAlgorithmUnitTest
Flag: LEGACY FOLDABLE_SINGLE_PAGE DISABLED
Bug: 270395274
Change-Id: I0b3c6606ee6934ea3a5e41d110677c496d4a4330
2023-11-17 17:02:39 +00:00
Yasan Glass 5888b7357a Set translatable for smartspace_mode_smartspacer to false 2023-11-17 17:32:52 +01:00
Yasan Glass 3b6aa999b4 Set Startpage as a sponsored search provider 2023-11-17 17:13:21 +01:00
Yasan Glass 7447993359 Add support for sponsored QsbSearchProvider 2023-11-17 17:13:04 +01:00
Pat Manning d3f3308d12 Merge "Update Icon App Chip Menu to new specs." into main 2023-11-17 15:06:42 +00:00
Yasan Glass bf53815f17 Add basic web support for Startpage 2023-11-17 15:24:46 +01:00
John Andrew Camu 70a7075781 Fixed bug icons being removed in dock when app restart (#3738) 2023-11-17 22:15:27 +08:00
Andreas Agvard ef8df12ff8 Merge "Makes deep press for LPNH toggelable" into main 2023-11-17 07:51:16 +00:00
Winson Chung 8a7b54ad7c Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: b1b41673c9 am: d2e41da381
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I90e374e7c49584e595410a3cdd3b71ab94676b88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 00:30:38 +00:00
Winson Chung 92851c5030 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: f3eb5388d1 am: d127c1108b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I48a134a3545eb190c4ef085641d0233e68660046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 00:29:58 +00:00
Winson Chung d2e41da381 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: b1b41673c9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I301749219071f0c3c008c4951f0322113b5c0383
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:59:33 +00:00
renovate[bot] 56c5f0354a Update AGP to v8.1.4 (#3737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 07:58:52 +08:00
Winson Chung d127c1108b Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: f3eb5388d1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: If62d1d831854acf9b5ec2e8c27458594e72bba27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:58:07 +00:00
Winson Chung b1b41673c9 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: Ice293810a5e1cceea3978f6db6efb4ec710ea7fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:26:01 +00:00
Winson Chung f3eb5388d1 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I41d412ee0c6d5c6dacd875c549b724b439e1d542
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:24:23 +00:00
Sebastian Franco 50b74c341a Moving bindSmartspaceWidget to ModelCallbacks
Changes are part of go/launcher_SoR .

Flag: NA
Bug: 301108526
Test: This is a no-op change, compiling should be the test
Change-Id: I960cb767e3c4db4a952e019ee489ec1611e2dbd2
2023-11-16 17:18:06 -06:00
Winson Chung 0c531d5dbb Merge "Don't open PiP when freeform is opened from recent" into main 2023-11-16 22:53:56 +00:00
Sunny Goyal 2e005e1e28 Removing unused title change logic in settings
Bug: 305084752
Test: Manual
Flag: N/A
Change-Id: I93e8a58c579223d5892528a47cff5bcafd69dbf1
2023-11-16 12:54:19 -08:00
Vinit Nayak 7056e2d2e4 Merge "Add logs for move pointer" into main 2023-11-16 20:16:44 +00:00
Alex Chau 5fc3b8ca9f Merge "Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet" into main 2023-11-16 19:57:36 +00:00
Vadim Tryshev 02a9f44ae1 Merge "Demoting testAllAppsExitSearchAndFocusSearchResults from presubmit" into main 2023-11-16 19:37:36 +00:00
Vadim Tryshev f450938474 Merge "Removing obsolete ScreenRecord annotations" into main 2023-11-16 19:36:28 +00:00
Vadim Tryshev 070ca176c3 Merge "Removing obsolete ScreenRecord annotation" into main 2023-11-16 19:16:42 +00:00
Android Build Coastguard Worker bcf36a1815 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25240828', 'googleplex-android-review.googlesource.com/25303662'] into udc-qpr1-release.
Change-Id: Ib01d867873f7471977c57410800a32c06d3bdfb2
2023-11-16 18:50:56 +00:00
Anushree Ganjam e4de57a662 [DO NOT MERGE] Change the LPNH flag to read from server flag "ENABLE_LONG_PRESS_NAV_HANDLE_MPR".
Flag: ENABLE_LONG_PRESS_NAV_HANDLE_MPR
Test: Manual
Bug: 309689303
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:75183ceed565aca0174e4e9707d6cb59dea2fce5)
Merged-In: Ib695b3d6ac3f40ee53b6b64bb6b121e7b34d4b07
Change-Id: Ib695b3d6ac3f40ee53b6b64bb6b121e7b34d4b07
2023-11-16 18:45:31 +00:00
Tony Wickham fa65485109 Fix 3 button mode issues in AllSetActivity
- Set system bars appearance to light/dark depending on device
  theme to ensure visibility
- Also fix issue where taskbar icons would appear partially
  offscreen and prevent pressing nav buttons if you rotated

Fixes: 293438087
Test: adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
  - Skip to the end (AllSetActivity), and ensure 3 buttons are visible
  - Rotate device and ensure 3 buttons are still visible and functional
  - Will also flash / wipe to the build once it's created
Flag: None
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:286fc215e632280fe0b401bfd713621104861288)
Merged-In: Ie2d9bf1e1d95a6ccbd1f9c592adb51390b21ad85
Change-Id: Ie2d9bf1e1d95a6ccbd1f9c592adb51390b21ad85
2023-11-16 18:45:22 +00:00
Jordan Silva 9a3bd8f109 Fix folder label text size not downsizing to match app icon
Fix: 311350985
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: ResponsiveFolderImageTest
Change-Id: I98103749541dd1e120908ac06e24dfc38cc7aa59
2023-11-16 18:34:35 +00:00
Pat Manning 43c4b50c17 Update Icon App Chip Menu to new specs.
Fix: 304228083
Test: TaplOverviewIconAppChipMenuTest
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu DEVELOPMENT

Change-Id: Ib018c7f59e1141b6f21618b28d411facc937ac7c
2023-11-16 18:18:48 +00:00
Vadim Tryshev 620a826e40 Demoting testAllAppsExitSearchAndFocusSearchResults from presubmit
It's a 35% presubmit blocker

Bug: 295939967
Test: presubmit
Flag: N/A
Change-Id: I004112093d830bdf8586d0f10327355400d08103
2023-11-16 10:14:18 -08:00
Sebastián Franco 9739ad2ec8 Merge "Modify getViewsIntersectingRegion to returns rects instead of view since we don't use the views after only the rects." into main 2023-11-16 17:48:02 +00:00
Andreas Agvard 0fc7d52863 Makes deep press for LPNH toggelable
By default when deep press is detected (https://developer.android.com/reference/android/view/MotionEvent#CLASSIFICATION_DEEP_PRESS)
during LPNH triggers the long press action immediately. This change makes this toggelable.

Flag is set to enabled by default, which leads to the default behavior.

Fix: 310952290
Test: Manual
Flag: LEGACY ENABLE_LPNH_DEEP_PRESS ENABLED
Change-Id: I970fed697979ee528e54b8be0139d842f3a64c43
2023-11-16 17:55:34 +01:00
Jagrut Desai deb22d9e78 New Meta Action Icon for Taskbar
Test: Presubmit, Manual
Bug: 310942087
Flag: LEGACY ENABLE_ALL_APPS_SEARCH_IN_TASKBAR ENABLED
Change-Id: Ia1783a1afa92181efded4cfdbd5e7ae3d4e081e8
2023-11-16 08:33:03 -08:00
Sebastian Franco 5c8f86815c Modify getViewsIntersectingRegion to returns rects instead of view since we don't use the views after only the rects.
Intermidiate step for b/270395274

Bug: 270395275
Flag: NA
Test: ReorderAlgorithmUnitTest
Test: atest ReorderWidgets
Change-Id: I505372ccd61e954de19852427abe0b54fc06aa57
2023-11-16 10:32:51 -06:00
Pun Butrach aba5d8cca0 Use markdown in Code of Conduct (#3735) 2023-11-16 23:49:56 +08:00
Sebastián Franco da18b9e435 Merge "Use the number of shown hotseat icons instead of database items to store into the DB" into main 2023-11-16 15:33:51 +00:00
Schneider Victor-tulias 4b794d57de Add debug logs for TIS ACTION_DOWN handling
Flag: N/A
Bug: 311094603
Test: Ran launcher and attempted several gestures
Change-Id: I08c6544226ed0ad385821c3309b2845a485cf900
2023-11-16 10:05:33 -05:00
Andreas Agvard f2f026ba26 Fixed incorrect naming of flags
Bug: 309972570
Test: Manual
Flag: LEGACY ENABLE_SEARCH_HAPTIC_HINT ENABLED
Change-Id: Ie493e03c7e80fe0697e46dc02e9abaf1906aded4
2023-11-16 14:39:05 +01:00
Bill Yi cc9ae30a91 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-16 12:38:15 +00:00
Bill Yi a9ee67bde5 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-16 12:38:15 +00:00
Alex Chau 0f1be48319 Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet
Bug: 309820115
Test: None
Flag: None
Change-Id: I03eba051bc766482ff27b63487e9587d58770619
2023-11-16 10:21:57 +00:00
Sergey Pinkevich 172eb5896b Merge "Show split screen action for each task" into main 2023-11-16 10:03:44 +00:00
renovate[bot] 0184f35734 Update dependency com.kieronquinn.smartspacer:sdk-client to v1.0.5 (#3734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 16:13:02 +08:00
Sebastian Franco 2d023e26c6 Use the number of shown hotseat icons instead of database items to store into the DB
It seems this issue was originated from ag/14129534 and we should no
longer use numDatabaseHotseatIcons form IDP and use numShownHotseatIcons
from the DP.

Fix: 305119735
Flag: NA
Test: manuall testing, we don't have this test for landscape
Change-Id: Ie530748f9b77d89ac3298c187ae767643d505cb3
2023-11-15 21:34:38 -06:00
Suphon TandKieron Quinn a97b1e853c Implement custom popup for Smartspacer (#3716)
* Disable minify for debug

* Show launcher popup when long pressing smartspacer

* Add shortcut to smartspacer settings

* Add missing Smartspacer Popup Options + fixes (#3725)

* - Update Smartspacer client SDK to 1.0.4 (contains fixes for popup handling)
- Added options for dismiss, about & feedback, make them all optional and use the provided launchIntent method as it provides a fallback for invalid intents
- Use original Customise option as fallback if provided options are empty

* Reorder items to match Pixel Launcher

---------

Co-authored-by: Kieron Quinn <quinny898@gmail.com>
2023-11-16 09:35:19 +07:00
renovate[bot] 28c231f7a9 Update protocVersion to v3.25.1 (#3731)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 09:55:21 +08:00