Commit Graph

76729 Commits

Author SHA1 Message Date
Stefan Andonian 84230b2ea0 Merge "Move "Enable Boot Aware Startup data" to behind a FeatureFlag." into main 2023-09-25 17:06:12 +00:00
Jagrut Desai adf9c428db Merge "Adding gesture error detection to RecentsAnimationCallback" into main 2023-09-25 17:03:34 +00:00
Pinyao Ting b7b192bd7f 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
Merged-In: I8d0cbccdc31bd4cb927830e5ecf841147400fdfa
2023-09-25 16:27:48 +00:00
Thales Lima 2d1d14193b Merge "Fix to prevent unsorted breakpoints returning wrong spec" into main 2023-09-25 16:12:56 +00:00
Helen Cheuk c5d14e1a8d Merge "Add test to launch Lens from PSB" into main 2023-09-25 14:17:07 +00:00
Android Build Coastguard Worker 21decdf20a Snap for 10853649 from 86b6a887d1 to udc-qpr1-release
Change-Id: Ibbfa4b4c5134d2b72855ff56d0a70673d8ecf4a3
2023-09-23 21:18:52 +00:00
Becky Qiu 42a06b0476 [Omnient] Creates an AOSP AssistStateManager to dump in TouchInteractionService in AOSP. am: 86b6a887d1 am: f545328f56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24828699

Change-Id: Ic62100a1f4ca6aa2a0a0c1a1962cedff070f7e70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 07:45:25 +00:00
Becky Qiu f545328f56 [Omnient] Creates an AOSP AssistStateManager to dump in TouchInteractionService in AOSP. am: 86b6a887d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24828699

Change-Id: Ifd35410d27765efc7896dac8e002ce3f1690a8c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 06:48:19 +00:00
Vadim Tryshev 9489d0939e Merge "Ignoring testHideTaskbarPersistsOnRecreate" into main 2023-09-23 03:23:21 +00:00
Becky Qiu 86b6a887d1 [Omnient] Creates an AOSP AssistStateManager to dump in TouchInteractionService in AOSP.
Bug: 300101221
Test: manually tested dump, see the NL change for samples.
Flag: INVOKE_OMNI_LPH, DISABLED; ENABLE_LONG_PRESS_NAV_HANDLE, TEAMFOOD.
Change-Id: I1fb03779775cd0c9353abd4f796e9cc7c42f0f96
2023-09-23 02:29:54 +00:00
Android Build Coastguard Worker a2eb1edb18 Snap for 10850711 from 096466ef30 to udc-qpr1-release
Change-Id: I02b191ab1c206c505239e3254f693ca0cd9d0120
2023-09-23 01:23:39 +00:00
Vinit Nayak 4e41e905bf Merge "FallbackRecentsTests seem stable, so we re-enable!" into main 2023-09-23 00:16:15 +00:00
Treehugger Robot 3cc4f5baaf Merge "Avoid sending an IME close request if the IME is already closed." into main 2023-09-22 22:14:10 +00:00
Pinyao Ting 2e54d347ff [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 1fdcc23b3e -s ours am: 096466ef30 -s ours am: 700ed24808 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I76ff2eacbaec5747c09a7e4ebe79ec59048ca1f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 21:46:36 +00:00
Pinyao Ting 1b98e3fc95 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 295daf7aef -s ours am: 1c9212cf5d -s ours am: 0cbaac7071 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I06957c629ea5dadbeb15de658b29840b48bbae0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 21:46:13 +00:00
Pinyao Ting c2716a6454 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 1fdcc23b3e -s ours am: 13c1424357 -s ours am: ea1f766f39 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I650fb4a9547d61868cc0c38154356dd40e8192f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 21:45:49 +00:00
Vinit Nayak 3222ad9ab8 FallbackRecentsTests seem stable, so we re-enable!
* Maybe partial revert of ag/21100567 (unclear why originally done)

Bug: 266606727
Change-Id: I2d289157e4a41ba7d82cdcdbcbd1fb7a8edf73a9
2023-09-22 21:19:05 +00:00
Pinyao Ting 700ed24808 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 1fdcc23b3e -s ours am: 096466ef30 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If20a1296d28cf7dea1af4f635a75a097a031a0fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 20:49:44 +00:00
Brian Isganitis 4749dc8db1 Fix Taskbar AllApps touch interception when above EDU.
Test: Manual
Fix: 301643091
Flag: No
Change-Id: I804031a0cfc4620b39551fb5badab7ac7008fb5f
2023-09-22 16:45:17 -04:00
Vadim Tryshev 562318d2bb Ignoring testHideTaskbarPersistsOnRecreate
Bug: 301575789
Test: presubmit
Flag: N/A
Change-Id: I8f329ff9397d0810b2b1c117f114a76fa221fb94
2023-09-22 13:43:33 -07:00
Pinyao Ting 0cbaac7071 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 295daf7aef -s ours am: 1c9212cf5d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I42684d8fc64e11a147c6268e330556056976646b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 20:42:21 +00:00
Pinyao Ting ea1f766f39 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 1fdcc23b3e -s ours am: 13c1424357 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5e166c30de10fd70e5cf4f06cb3701ca65250683
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 20:41:39 +00:00
Pinyao Ting 7ca8162726 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 803de656a5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic37536638b1671b881645d939ff090d0797758ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 20:01:03 +00:00
Pinyao Ting 1c9212cf5d [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 295daf7aef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I887f0204bced3005cdee92c938cb5e0eb8367c1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 19:59:50 +00:00
Pinyao Ting 13c1424357 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 1fdcc23b3e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I840e275aa978c9fd6a248977d4c0985805caa00f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 19:58:44 +00:00
Pinyao Ting 096466ef30 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours am: 1fdcc23b3e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5fb2457659a4d1eb4a95425369e23650cfad1669
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 19:50:21 +00:00
Felix Stern c4edad6814 Merge "Use stashedTaskbarHeight for IME insets override" into udc-qpr-dev am: 795dc83c72 am: db1028ea85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24834321

Change-Id: I69f30281881fc6ec5631f0ec3b5495434567ed2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 19:06:08 +00:00
Pinyao Ting 1fdcc23b3e [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3f079cc77a1cce9c4c280addcf565db40722f026
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 18:59:03 +00:00
Pinyao Ting 803de656a5 [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I38b2c605782faa65a71765ea6cdc49b52e6fa2c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 18:57:02 +00:00
Pinyao Ting 295daf7aef [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours am: 3af7bdccdc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I351427406e330ec18c4515f598ee6e3b6160b6b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 18:55:17 +00:00
Schneider Victor-tulias 5fc26f3861 Merge "Update KeyboardQuickSwitch for TAPL testing" into main 2023-09-22 18:26:48 +00:00
Stefan Andonian e4735d77f1 Revert "Add unit tests for LoaderTask"
This reverts commit 4c7d7d6749.

Reason for revert: New Test assets were getting pulled into the release APK, making the APK size growth too much. I will re-upload when I figure out how to avoid this.

Change-Id: I738eb6c26632eeee30be4098d0225836d283b218
2023-09-22 18:23:22 +00:00
Felix Stern db1028ea85 Merge "Use stashedTaskbarHeight for IME insets override" into udc-qpr-dev am: 795dc83c72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24834321

Change-Id: Iec4d3327d606cf5d607b8b68d7c640e737199d72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 18:07:44 +00:00
Pinyao Ting 3af7bdccdc [automerger skipped] RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut am: 602cb48c72 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4dd589969dfb00163fdfbc7749bcbbf6d2329e69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 17:58:54 +00:00
Sebastián Franco 885953d1f1 Merge "Moving test related to Uninstalling and removing to their own class" into main 2023-09-22 17:34:46 +00:00
fbaron 5c835dafa1 Add extraItems to dump log for BgDataModel
The extraItems include suggested hotseat icons, which we want to have in the dump to help us debug future bugs regarding hotseat

Bug: 301369051
Test: n/a
Flag: no flag
Change-Id: I6a0f5e785441915ecfece95dfcba7d60ef5912d2
2023-09-22 10:27:33 -07:00
Brandon Dayauon c8af851e99 Fix gray work apps when WorkPausedCard shoul've shown
The reason is because WorkManager doesn't reset when user searches (which is why the apps gray out when you go to toast, turn off work profile then back gesture to all apps)

Added test for ActivityAllAppsContainerView that test onAppsUpdated() and check for if there are work apps.
From the test environment, onAppsUpdated() needs to be public because the method is outside the package. However, I've wrapped onAppsUpdated package private so I can test it with a boolean parameter.

bug: 298492729
test: video:
before: https://drive.google.com/file/d/1D0VlGeJEI5lGbYgP5Tnu5UO_Dv61X8Dv/view?usp=sharing
after: https://drive.google.com/file/d/1D0qsq7sX_kAp2t92xser7YI4ADBhQfHY/view?usp=sharing
Change-Id: I4eb7cf21e273e29171fcd62a4762e8bb1778e720
2023-09-22 17:18:10 +00:00
Felix Stern 795dc83c72 Merge "Use stashedTaskbarHeight for IME insets override" into udc-qpr-dev 2023-09-22 17:04:19 +00:00
Jagrut Desai 3a3bf97518 Adding gesture error detection to RecentsAnimationCallback
Bug: 289600801
Bug: 285636175
Bug: 290266108
Test: Presubmit
Flag: not needed
Change-Id: I16ec3347b273ba80eadd766dccdcf012bc0872ae
2023-09-22 10:01:13 -07:00
Sunny Goyal 9dfbb0aca8 Merge "Fixing pending tasks being queued on bind after the pending executor is already finalized." into main 2023-09-22 16:52:00 +00:00
Brandon Dayauon 8e24505d09 Merge "Fix big icon when dragging Toast by isolating the previous QL fix display to SEARCH_RESULT_APP_ROW" into udc-qpr-dev am: 28ae77df37 am: f9a203c586
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24724750

Change-Id: I4e955f635773b5084b315282d373b16cff6988e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 16:22:21 +00:00
Brandon Dayauon f9a203c586 Merge "Fix big icon when dragging Toast by isolating the previous QL fix display to SEARCH_RESULT_APP_ROW" into udc-qpr-dev am: 28ae77df37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24724750

Change-Id: Ibbefedc8e85690aa7a389b0e106476d56d0d768b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 15:25:17 +00:00
Schneider Victor-tulias e95326dfdd Update KeyboardQuickSwitch for TAPL testing
- Added a res id to KeyboardQuickSwitchView for TAPL testing
- Updated KeyboardQuickSwitch focus and scroll initialization
- Logging KeyEvents for TAPL testing
- Updated scrolling logic to wait for initial layout
- Fixed activity leak in KeyboardQuickSwitchViewController

Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Bug: 267520665
Test: TaplTestsKeyboardQuickSwitch
Change-Id: I1d45d948c0e185504d994f7ef1d34f173c2243a9
2023-09-22 11:04:43 -04:00
Brandon Dayauon 28ae77df37 Merge "Fix big icon when dragging Toast by isolating the previous QL fix display to SEARCH_RESULT_APP_ROW" into udc-qpr-dev 2023-09-22 14:36:45 +00:00
Cosmin Băieș df2ceac06c Use stashedTaskbarHeight for IME insets override
Previously [1] we removed the explicit insetsSizeOverride from the
Taskbar for the IME window, as we now [2] enable hiding the IME nav bar.
This would now send the normal insets the taskbar reports. When running
on pre/postsubmit, with test harness setup, the non-transient taskbar
would show, which is bigger than the IME's navigation bar height.

Due to the current logic in InsetsSource#calculateInsets, this leads to
the IME window receiving top navigation bar insets instead of bottom.
As the IME nav bar is now treated as a (fixed on bottom) caption bar,
the two would no longer overlap, and thus lead to a double insets
dispatch, and also a (temporarily) bigger IME window, for IMEs that set
their decorView height to WRAP_CONTENT (e.g. MockIME used in testing).

This instead keeps the previous insetsSizeOverride for IME, and uses the
stashedTasbarHeight when in gesture nav, which should account for both
transient and normal taskbars.

 [1]: I86079cb6670a2ae3b6fa883694f8af81df212408
 [2]: I8793db69fb846046300d5a56b3b0060138ef4cd5

Bug: 297000797
Test: atest WindowInsetsControllerTests#testDispatchApplyWindowInsetsCount_ime
Change-Id: I102a8bc1f8869ebbce9f8f1fefa651d49a9538ec
2023-09-22 14:16:03 +00:00
Charlie Anderson 605db4b74a Merge "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." into main 2023-09-22 14:13:39 +00:00
Bill Yi 145f1213bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0d22c898118c9fd6bb50049265baab7385aee8e8
2023-09-22 03:49:12 -07:00
Bill Yi 2bcbfdc791 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibe6a1ca45a26eef7571cfc90c68ac1de7aaa11c8
2023-09-22 03:48:49 -07:00
Bill Yi 76f4556104 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia30dec9ecc23e595357a714e642ba0bb517546fd
2023-09-22 03:48:24 -07:00
Bill Yi 64d192bc6d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I84149e2068b3a5fe7c8ae14a77ea4817e4068d4f
2023-09-22 03:48:00 -07:00