Commit Graph

76729 Commits

Author SHA1 Message Date
Bill Yi a7184bf7a8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f7a46664163108c0b8bee3fc4aa1cb85c84e07b
2023-09-22 03:47:41 -07:00
Bill Yi 5f9d0f5745 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I393eb2574c64a3774d4037554b62230da55f4f31
2023-09-22 03:47:21 -07:00
Bill Yi 72e4c82a4f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If4ee126660c9a2e821d3308a39b210a7b56d1d65
2023-09-22 03:47:01 -07:00
Bill Yi 72e653ddde Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id1636e8968fc3331a10f62f8c8ad738ff8be71a3
2023-09-22 03:46:37 -07:00
Bill Yi 7228d548b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I487c0364301fd437384cf46509000326db968476
2023-09-22 03:46:14 -07:00
Bill Yi 0affa7854c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9df0b376e62b52eb36023f17bcd58d5714c55e86
2023-09-21 20:16:46 -07:00
Bill Yi cad9fca396 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e96fa8479c2b1e27238384eaf59e5765399f94c
2023-09-21 20:16:19 -07:00
Bill Yi 66b127877e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5b8009a2bcba4f9ebcaf9fe5190121e5bd3951a7
2023-09-21 20:15:55 -07:00
Jeremy Sim dcb6f5736e Merge "Request split launches using a new enum, snapPosition, rather than a float splitRatio" into main 2023-09-21 23:50:38 +00:00
Android Build Coastguard Worker 7aecd11e95 Snap for 10844344 from 9bbb0c7522 to udc-qpr1-release
Change-Id: I51537fbb6f754d4acffbdfe4cfe3a0cd635a9dad
2023-09-21 23:19:12 +00:00
Pablo Gamito b7ff1300a0 Merge "Add getter for ExpectedRotationCheckEnabled" into main 2023-09-21 22:57:17 +00:00
Andy Wickham 3582efc2f1 Merge "Adds SystemActionConstants" into main 2023-09-21 22:31:10 +00:00
Garfield Tan 21e8204798 Merge "Show freeform button only when dev option is on" into main 2023-09-21 21:54:15 +00:00
Federico Baron 71a056a987 Merge "Shortcut crash fix" into udc-qpr-dev am: 9bbb0c7522 am: 3918b8c76c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24820706

Change-Id: I8bc10c33406f552ec920234d94849a581abaa23a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 21:25:20 +00:00
Sebastian Franco 4fffab9d85 Moving test related to Uninstalling and removing to their own class
Bug: 298234173
Test: atest OopTaplUninstallRemove
Change-Id: I9b51bea7c1f3130b70296f945bef9b903ac34342
2023-09-21 21:17:38 +00:00
Sunny Goyal f0925fdf31 Fixing pending tasks being queued on bind after the pending executor is already finalized.
Bug: 291664186
Test: Tentative fix, will know more from dashboard
Flag: N/A
Change-Id: I1f1883fb315f05417839507b95ccc80e0b57b530
2023-09-21 13:50:48 -07:00
Federico Baron 3918b8c76c Merge "Shortcut crash fix" into udc-qpr-dev am: 9bbb0c7522
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24820706

Change-Id: I2c7404aa918938063f248ab9e967a3d50a21258f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 20:28:56 +00:00
Sunny Goyal 3e225bdc76 Merge "Cleaning up screenrecord for fixed tests" into main 2023-09-21 20:06:45 +00:00
Federico Baron fe442a18c2 Merge "Shortcut crash fix" into main 2023-09-21 19:25:40 +00:00
Federico Baron 9bbb0c7522 Merge "Shortcut crash fix" into udc-qpr-dev 2023-09-21 19:25:25 +00:00
Federico Baron 9c4132b31d Merge "Fix indexoutofbounds folder preview" into main 2023-09-21 19:25:04 +00:00
Stefan Andonian dbc8ec530c Move "Enable Boot Aware Startup data" to behind a FeatureFlag.
Previously this was hard-coded to disabled, but that was before
FeatureFlags were made to be boot aware.

Bug: 251502424
Test: Verified that doing this doesn't break my device. Also tested the
Pre-loading feature itself and didn't see any errors in the logs.

Change-Id: I031e1756b985664a2e8d8ad26e16803ead874727
2023-09-21 19:10:22 +00:00
Jeremy Sim da230cf526 Request split launches using a new enum, snapPosition, rather than a float splitRatio
Split ratios are now stored as an int enum rather than float values. Previously, split ratios were stored as floats, which needed to be recalculated frequently and differed depending on device screen size. Now Shell to store and launch split screen setups using an enum rather than floats.

Bug: 274835596
Bug: 182839788
Test: Existing tests still pass
Change-Id: Iebb8d3c7e8f9d597a59b677e48072300ddea458f
2023-09-21 11:34:07 -07:00
Uwais Ashraf 02b3cc568c [automerger skipped] Merge "Set taskbar heights to 0 when taskbar is not present." into udc-qpr-dev am: d295e3510a am: 8dd54b27f1 -s ours
am skip reason: Merged-In I53f8a629c8adc12feb1fdf9f5b40b4a680c97b78 with SHA-1 3602d1771f is already in history

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

Change-Id: If906a1827464abca8e7f35d6ac68ce81c3958e18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 17:48:38 +00:00
randypfohl 2cf90775d7 Setting recentsView orientation to match recents activity orientation am: 03d29305ca am: 1c76ccfd6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24804147

Change-Id: I408f74745a6f4e5714f6ef54857982c9cfc56066
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 17:47:45 +00:00
Brian Isganitis 40b6a19fd2 Merge "Make dismissByTappingOutsideForTablet an API of AllApps super class." into main 2023-09-21 17:21:57 +00:00
Uwais Ashraf 8dd54b27f1 Merge "Set taskbar heights to 0 when taskbar is not present." into udc-qpr-dev am: d295e3510a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24759056

Change-Id: I264b4f4cc0ce92f3140759fb6d3305f9018caa6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 16:55:57 +00:00
Sunny Goyal 052c11d2fe Cleaning up screenrecord for fixed tests
Bug: 256898879
Test: Presubmit
Flag: N/A
Change-Id: Ib9d3b82219971c975e8a09968fcb9cc0c96637c3
2023-09-21 09:51:34 -07:00
randypfohl 1c76ccfd6c Setting recentsView orientation to match recents activity orientation am: 03d29305ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24804147

Change-Id: I12f07376447009d58ee7519b9cd7433ac544191a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 16:51:04 +00:00
Uwais Ashraf d295e3510a Merge "Set taskbar heights to 0 when taskbar is not present." into udc-qpr-dev 2023-09-21 16:39:10 +00:00
Pablo Gamito e5ea6a2798 Add getter for ExpectedRotationCheckEnabled
Used by flicker to disable and then reset this value when performing certain actions that require ExpectedRotationCheckEnabled to be false but then we want to restore to the initial value.

Bug: 300065764

Test: n/a
Change-Id: I650e15b206984b5fd7a2313fb63308e4c551c30a
2023-09-21 16:34:03 +00:00
Schneider Victor-tulias 195fc85d73 Merge "Add error detection for missing recent tasks list in SystemUiProxy" into main 2023-09-21 14:48:34 +00:00
Jordan Silva e4d7aaa6fd Fix to prevent unsorted breakpoints returning wrong spec
It orders the breakpoint list to guarantee that the smallest breakpoint is always returned for a given availableWidth or availableHeight.

Fix: 301396419
Flag: ENABLE_RESPONSIVE_WORKSPACE
Test: CalculatedWorkspaceSpecTest
Change-Id: Ia545e84150027bd8daa8d0dde58ff6fc579c3b6a
2023-09-21 11:44:56 +01:00
fbaron 7f4bbfa599 Fix indexoutofbounds folder preview
The indexoutofbounds issue came from the fact that folder was being animated open when there are no items in preview. It might be a race condition where we try to open the folder at a time where it's actually being emptied. This check should prevent folders from running animateOpen() if there's <= 1 items, avoiding the outofbounds error

Fix: 298740874
Flag: no flag
Test: no test
Change-Id: I31ed53fbdf22a7f19bc9ec414242312afe7c6cd2
2023-09-20 23:57:00 -07:00
fbaron d87178460c Shortcut crash fix
Title was empty which caused launcher to crash. If title is empty the shortcut is invalid so we want to remove it.

Fix: 300213039
Flag: no flag
Test: no test
Change-Id: Ifa12877b9ac1d8bc266b74a95b6975b7f1bcf31e
2023-09-21 05:53:45 +00:00
fbaron ba0f7a0b17 Shortcut crash fix
Title was empty which caused launcher to crash. If title is empty the shortcut is invalid so we want to remove it.

Fix: 300213039
Flag: no flag
Test: no test
Change-Id: Ifa12877b9ac1d8bc266b74a95b6975b7f1bcf31e
2023-09-20 22:52:46 -07:00
Mady Mellor b604e71fe8 Merge "Fix bubbles taskbar scrim showing when notification panel is shown" into main 2023-09-21 01:25:07 +00:00
Garfield Tan d4018909e3 Show freeform button only when dev option is on
Now some Android tablets have desktop mode, which shouldn't be
entered by clicking the freeform button in Overview. Therefore still
keep it hidden when the device claims the support of freeform window
management, but the user didn't enable the freeform dev options
explicitly.

This button should also be hidden when desktop mode is enabled.

Bug: 299362754
Test: The button is hidden when the dev option is disabled.
Change-Id: Id919af4fd1a027da0bb335c4c4b7303d15d689f8
2023-09-20 18:05:20 -07:00
Android Build Coastguard Worker 6462d1e819 Snap for 10838116 from f17b59bb19 to udc-qpr1-release
Change-Id: Ie478c16128ed459dce8c66fb8872a4326a9fb425
2023-09-20 23:20:07 +00:00
Randy Pfohl bd585e4d42 Merge "Remove logs for bug investigation" into main 2023-09-20 23:14:33 +00:00
Treehugger Robot 34291f07fb Merge "Run leak detector in test isolation rule" into main 2023-09-20 23:04:01 +00:00
Sebastián Franco 8171e2fb84 Merge "Moving test related to Dragging to their own class from TaplTestsLauncher3" into main 2023-09-20 22:08:03 +00:00
randypfohl 03d29305ca Setting recentsView orientation to match recents activity orientation
Test: can no longer repro incorrect orientation when launching apps from all apps
      added logs to verify recents activity -> view were the same while rotating
      turned off auto rotate and verified state matched

Bug: 288984663
Bug: 301024104

Change-Id: I7fc3b47bff0a99756aaf877bf634e2d162838d6f
2023-09-20 15:04:55 -07:00
Pinyao Ting 602cb48c72 RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut
Intent created for Chooser should not be allowed in legacy shortcuts
since it doesn't make sense for user to tap on a shortcut in homescreen
to share, the expected share flow started from ShareSheet.

Bug: 295334906, 295045199
Test: manual
Change-Id: I8d0cbccdc31bd4cb927830e5ecf841147400fdfa
2023-09-20 21:47:17 +00:00
Brian Isganitis 171b428984 Make dismissByTappingOutsideForTablet an API of AllApps super class.
Test: TAPL
Bug: 300147433
Flag: No
Change-Id: I66d602b5d26672e3e4338fb8c4ad631eb2ee4148
2023-09-20 17:28:13 -04:00
Brandon Dayauon 47000ae6e6 Fix big icon when dragging Toast by isolating the previous QL fix display to SEARCH_RESULT_APP_ROW
- Create another icon, "all_apps_predicted_row_icon" that will be the mDisplay for the predicted app row
in AllAppsList

Bug:299171695
Test: video
Before: https://drive.google.com/file/d/1HxNW0015nQHCc7eQiySf-gwsHrLs_JjR/view?usp=sharing
after: https://drive.google.com/file/d/1HyEwKI-yumILTCjglKcqovhTlRVjNGxg/view?usp=sharing - making sure that QL is fine and dragging regular Toast results are normal
Flag: N/a
Change-Id: Ie002cacb168396dbea39f79679bd6a04b80e374b
2023-09-20 14:21:10 -07:00
Sebastian Franco 6b059deea6 Moving test related to Dragging to their own class from TaplTestsLauncher3
Renaming the following test names:
 - testDragAppIconToWorkspaceCell to testDragAppIconToMultipleWorkspaceCells
 - testDragShortcutToMultipleWoCells to testDragShortcutToMultipleWorkspaceCells

Bug: 298234173
Test: atest OopTaplDragTest
Change-Id: I16707e0a882164c7a5acec6a4197bd0bea8514a7
2023-09-20 18:56:13 +00:00
Charlie Anderson 8c1cf2db26 Make sure to set Launcher restore pending as false after setting in RestoreDbTaskTest to not affect state of Launcher in tests.
See tearDown method in RestoreDbTaskTest for fix.

This reverts commit 2d86f3337a.

Reason for revert: fixing the issues for revert b/298077774
Test: running presubmit and affected test suite on CL

Change-Id: I94c643f38259c4e920869c231f706229390c7c2a
2023-09-20 18:43:35 +00:00
Treehugger Robot e745dda409 Merge "Use default taskbar stash duration when opening/closing all apps from taskbar." into main 2023-09-20 17:54:36 +00:00
Schneider Victor-tulias c6d3ea678f Add error detection for missing recent tasks list in SystemUiProxy
There are ways for launcher to lose the recent tasks reference, in which case SystemUiProxy will quietly fail to start the recents activity.

Flag: not needed
Fixes: 301257750
Test: programmatically forced the error condition and checked the logs
Change-Id: I1cad6a3dfd2605f275672d1dcd8c83bdb965d73f
2023-09-20 15:46:00 +00:00