Commit Graph
87505 Commits
Author SHA1 Message Date
Hongwei Wang 59fc94684a Add debugging information on PiP content overlay
Added the reason for creating the overlay. Updated
SwipePipToHomeAnimator constructor also due to the fact the source rect
hint from Builder class is never empty.

Bug: 330488822
Test: manually, follow the reproduce path
Flag: NA
Change-Id: Id98ce799d7c96fff3279c0df0fa49084a49d563a
2024-04-15 17:02:21 -07:00
Android Build Coastguard Worker c2a48b1967 Snap for 11717025 from 9d4fb2b5be to 24Q3-release
Change-Id: I0f37bdaab4b9db4b2c2c7d36cf08d0f7c06a8359
2024-04-15 23:21:58 +00:00
Willie Koomson 0a6e9d765d Fix issue with tap-to-add on recycled WidgetCells
Updates BaseWidgetSheet to check if the last recorded widget cell
to show an add button is still showing an add button before deciding
how to handle the current click.

When a widget is recycled or loses focus, it will reset to the default
state of hiding the add button. However, BaseWidgetSheet still tracks
it. If that cell is clicked again after being reset, we want to show
the add button.

Bug: TODO
Test: manual
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add TEAMFOOD
Change-Id: I4614674948a52b8908fabf5c0e5734bf76b9282b
2024-04-15 22:32:51 +00:00
Willie Koomson 1d439df9b1 Show add button when WidgetCell text is tapped
This change adds the click listener to the cell itself as well as
the preview, so that clicks anywhere in the cell will show the add
button. Only long clicks on the preview image will start the
drag-and-drop (current behavior).

Bug: 323886237
Test: manual tap on Widget cell
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add TEAMFOOD
Change-Id: I23b9b1261979971deffcf1132d95bd6a03c92c47
2024-04-15 22:32:51 +00:00
Willie Koomson dcc2d82d4e Scroll to show WidgetCell when it is tapped.
Scroll to show WidgetCell when it is tapped in a widget sheet.
Otherwise, the add button may show/hide without the user seeing
it if the bottom is clipped.

Bug: 329861721
Test: manual- tap WidgetCell when top or bottom is scrolled out of view
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add TEAMFOOD

Change-Id: Ie21730c193e845cb1c1fa447b7c0a7e719984a8f
2024-04-15 22:32:48 +00:00
Priyanka Advani 4e97c94559 Revert^3 "Wait for LauncherModel loaded in waitForLauncherInitialized"
This reverts commit 503ce966ef.

Reason for revert: Culprit for test breakages in b/334995023. Will be verifying through ABTD for confirmation and before submitting the revert.

Change-Id: Id8707cb2074b4f00ec332ebb14deb7d143ff1bbb
2024-04-15 22:18:31 +00:00
Charles Lombardo fb6fcb7a87 Use safeDrawingPadding for ModalBottomSheetContent (#4289)
Prevents bottom sheet content from being obscured by the navigation bar
2024-04-16 06:08:14 +08:00
Brandon Dayauon 14ec21748b Fix views being visible after closing private space.
Its possible views are still being binded before the app list is refreshed.
So instead make the views gone in that case (by making sure private profile is disabled).

Fixes:
- install app icon still showing because it is not identified as a private space item
- Divider still containing a decorator when collapsing before app list is refreshed.

bug: 334868779
Test video manualy:
before:https://drive.google.com/file/d/1IWdGsTSq7-xRZKOJso-5p9g-j7RTEkas/view?usp=sharing
after:https://drive.google.com/file/d/1IVNTksryFi5o4uHzZtzNC0Yz7-rxrje3/view?usp=sharing
Flag: ACONFIG com.android.launcher3.Flags.private_space_animation trunkfood

Change-Id: If93e39753352741fb6f0728f717a67b7f9315d0b
2024-04-15 14:40:58 -07:00
Saumya Prakash 9a520b6d96 Merge "Fix incorrect fragment in gesture tutorial when rotating the screen" into 24D1-dev am: ca987a3dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26928398

Change-Id: Icc59824128910b4d80d6a2aea0d7e11e7f476eaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 21:39:52 +00:00
Saumya Prakash ca987a3dff Merge "Fix incorrect fragment in gesture tutorial when rotating the screen" into 24D1-dev 2024-04-15 21:22:26 +00:00
Vinit Nayak fb092a9a6c Revert "Launch split tasks at beginning of animation instead of the end"
This reverts commit 26c11f2c49.

Reason for revert: b/333937249

Change-Id: Ide851596f5be7cea28df18dc27701b3cc0104bf1
2024-04-15 20:39:00 +00:00
Shamali Patwa ed683046dd Merge "Fix issue that old search results list show up momentarily" into 24D1-dev am: 3e239309f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26912080

Change-Id: I622f49471bd785877cc31742ef6a1d0e6242350e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 20:23:47 +00:00
Shamali Patwa 3e239309f1 Merge "Fix issue that old search results list show up momentarily" into 24D1-dev 2024-04-15 20:06:32 +00:00
Schneider Victor-tulias 9d4fb2b5be Merge "Revert^2 "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main 2024-04-15 19:30:38 +00:00
Jagrut Desai 7a6036516c Merge "Remove PortraitLandscape from the TaplTestsTransientTaskbar" into main 2024-04-15 18:51:18 +00:00
Sunny Goyal 2eeee631aa Moving developer settings to xml overrides instead of code swap
Bug: 330920490
Test: Verified on device
Flag: None
Change-Id: Ibba96a57c8eb7347399ab32577a0e395ae886e91
2024-04-15 11:29:22 -07:00
Stefan Andonian 1a626d2d05 Revert^2 "Remove Unused parts of LauncherPrefs causing cyclical dependency."
This reverts commit a80997d9eb.

Bug: 324670265
Test: Locally tested this, as well as ran it through post-submit via go/abdt with the fix.
Flag: NA
Reason for revert: Root-caused the issue with this, and will push the fix along with this revert.

Change-Id: I4bda53d94dfdb865883fef6ceec9dacd0b87f015
2024-04-15 18:28:25 +00:00
Andy Wickham e0b23658d8 Merge "Cancel manual animation if LauncherState changes during drag." into main 2024-04-15 18:14:45 +00:00
Holly Sun ad7ac2943b [omni] Make AssistStateManager SafeCloseable.
Saw presubmit error: https://paste.googleplex.com/6266943744507904#l=76
which is thrown at https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/src/com/android/launcher3/util/MainThreadInitializedObject.java;l=147-148;drc=1ce67a612220e7c9bd576d867cddf0fb74ccb866

Bug: 311356563
Bug: 330444720
Flag: legacy CUSTOM_LPH_THRESHOLDS disabled
Test: manual
Change-Id: I5fd28161756f10f0ec893f38c0abd51621fd36bc
2024-04-15 10:53:43 -07:00
Anushree Ganjam 6642ea0d48 Merge "Add new class for SetPropRule and move outside ShellCommandRule." into main 2024-04-15 17:41:15 +00:00
Jagrut Desai 062be8672f Merge "Folder Title Change Listener" into 24D1-dev am: 40d013086e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26942427

Change-Id: Ifaa3375cc67e6b40b6789cb9fb3643acba6cfaa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 17:35:21 +00:00
Holly Jiuyu Sun eff58ad8e2 Merge "[PS] Update PS tile icon." into main 2024-04-15 17:19:48 +00:00
Brandon Dayauon a271511240 Set attach consumer after animation finished
Its possible after the animation that attached view's alpha can still be stuck at 0 and never change.
This only happens when the view isn't in range to animate and after onBind() is already called.

Also added flag guarding to the animation as it seems to be forgotten since the big CL change moving
everything to privateProfileManager.

bug: 333506236
Test locally: https://screenshot.googleplex.com/8Kk6rLaczMPwr49 and https://screenshot.googleplex.com/9wXHeNuiCVFEMp6
manually: before https://drive.google.com/file/d/15hSqaUVjwE-lLp6IIv_mqwYbn_ITzR7s/view?usp=sharing
after: https://drive.google.com/file/d/15m7Al5H3vldFgIaQfFyulm1h92_Mgd0H/view?usp=sharing
Flag: ACONFIG com.android.launcher3.Flags.private_space_animation trunkfood

Change-Id: Ifed45f065b536bca5e8878b1bb95d16caf136ed6
2024-04-15 10:12:08 -07:00
Jagrut Desai 83fef2d60d Merge "Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon test" into main 2024-04-15 16:41:46 +00:00
Jagrut Desai 40d013086e Merge "Folder Title Change Listener" into 24D1-dev 2024-04-15 16:41:27 +00:00
Andrew Cole f2ae4d309f Merge "Removing Shrink Adaptive Icons" into main 2024-04-15 16:19:33 +00:00
Schneider Victor-tulias 503ce966ef Revert^2 "Wait for LauncherModel loaded in waitForLauncherInitialized"
This reverts commit b80c6c347a.

Reason for revert: The original change was not the cause for the test failures

Change-Id: Icfe0da43a96f5471076554c4dd25eae649bee81e
2024-04-15 15:58:19 +00:00
Lynn Yeh 8a46c86e2c [automerger skipped] Merge "Close the KQS view when touching the gesture nav region" into 24D1-dev am: f99f04608b -s ours
am skip reason: Merged-In Idbd1f9cef09d9fbf611350d0847d94ccf8300369 with SHA-1 14d912b062 is already in history

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

Change-Id: I5af663e74d11763d2cb273b1b7217ed6e6ca030c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 14:55:31 +00:00
Schneider Victor-tulias 9c5b612066 [automerger skipped] Close the KQS view when touching the gesture nav region am: 5a85b4f2df -s ours
am skip reason: Merged-In Idbd1f9cef09d9fbf611350d0847d94ccf8300369 with SHA-1 14d912b062 is already in history

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

Change-Id: I03e4132d5352e5af1e13cf8b6bb7d2ea0ae36bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 14:55:28 +00:00
Lynn Yeh f99f04608b Merge "Close the KQS view when touching the gesture nav region" into 24D1-dev 2024-04-15 14:36:52 +00:00
David Lin 28e8869623 [automerger skipped] Merge "Do not report finish in mergeAnimation..." into 24D1-dev am: cb37425710 -s ours
am skip reason: Merged-In Idf3f78103a56e91806ec2f6e364c6e8e7f4e205c with SHA-1 7130116894 is already in history

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

Change-Id: Iab7d438151909c267f012b9f7b9e1a08ee929455
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 10:21:12 +00:00
wilsonshih 04cfa8aba4 [automerger skipped] Do not report finish in mergeAnimation... am: cc39a10dd0 -s ours
am skip reason: Merged-In Idf3f78103a56e91806ec2f6e364c6e8e7f4e205c with SHA-1 7130116894 is already in history

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

Change-Id: Ie7cf4b15b0d1ef1535a7fb29cb9633843531922a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 10:21:07 +00:00
David Lin cb37425710 Merge "Do not report finish in mergeAnimation..." into 24D1-dev 2024-04-15 10:08:18 +00:00
Gustav Sennton e8c920967a Merge "Implement IRecentTasksListener.onRunningTaskChanged()" into main 2024-04-14 21:30:00 +00:00
Owner Cleanup Bot 74836e9aee Remove mateuszc@google.com from tests/shared/com/android/launcher3/testing/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.
If this change is unnecessary or in error, vote CR -1 and the bot
will abandon it. Vote CR +1/2 to approve this change.

See the owner's recent activity for context:
https://android-review.googlesource.com/q/mateuszc@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: Ib5072203e52bac83586b8c3de9a039a0ac5b272f
2024-04-14 17:35:48 +00:00
Owner Cleanup Bot 4142457c19 Remove mateuszc@google.com from tests/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.
If this change is unnecessary or in error, vote CR -1 and the bot
will abandon it. Vote CR +1/2 to approve this change.

See the owner's recent activity for context:
https://android-review.googlesource.com/q/mateuszc@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: I0c1c61d68c098cb91f1c9721e8b1902903a0e1a2
2024-04-14 17:35:37 +00:00
Owner Cleanup Bot 90eb403738 Remove mateuszc@google.com from quickstep/tests/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.
If this change is unnecessary or in error, vote CR -1 and the bot
will abandon it. Vote CR +1/2 to approve this change.

See the owner's recent activity for context:
https://android-review.googlesource.com/q/mateuszc@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: If81464a2b94d1ea887124514d20505fe2e843840
2024-04-14 17:35:21 +00:00
Winson Chung 6a6de2dfc3 Migrate WorkspaceItemInfo non-resizeable flag to runtime status flag
- This aligns with other app-level state that is read at runtime

Bug: 323112914
Test: atest NexusLauncherTests
Change-Id: I1e29583d1c0302646718473c8958d604c1a202a5
2024-04-14 06:20:54 +00:00
Winson Chung 21cf4439d2 Use shared method for updating the runtime status flags for an item info
- The method AppInfo#updateRuntimeFlagsForActivityTarget should also
  both add and remove runtime flags to match the current state

Bug: 323112914
Test: atest NexusLauncherTests
Change-Id: If87acf1e2324f98cf1d96d194eac13a93fa432c1
2024-04-14 06:19:49 +00:00
Lawnchair BotandCrowdin Bot 75e083ef91 New Crowdin translations by GitHub Action (#4280)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-14 03:51:35 +03:30
Android Build Coastguard Worker 74d637bd42 Snap for 11712589 from 8fc5e593c3 to 24Q3-release
Change-Id: I32d5eda7297d31e8acc1d753412195c6f651e8fd
2024-04-13 21:21:17 +00:00
renovate[bot] 71fddea076 Update dependency io.nlopez.compose.rules:ktlint to v0.3.15 (#4278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-14 01:44:05 +08:00
Treehugger Robot 8fc5e593c3 Merge "Update icon for install to private shortcut[final]" into main 2024-04-13 16:00:19 +00:00
renovate[bot] 3b81af8e28 Update dependency io.nlopez.compose.rules:ktlint to v0.3.14 (#4276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-13 09:43:40 +08:00
Android Build Coastguard Worker 2c60c53413 Snap for 11710546 from a9721fd344 to 24Q3-release
Change-Id: Ib36383595d80f3441a319d7641653bbb23455fb0
2024-04-13 01:21:19 +00:00
Vadim Tryshev bb760dbbbd Merge "Promote goToOverviewFromApp to presubmit" into main 2024-04-13 01:12:04 +00:00
Anushree Ganjam 8cac99a8dc Add new class for SetPropRule and move outside ShellCommandRule.
Clean up the mEnableInputTransportPublisherRule from TaplWidgetPickerTest since b/325377690 is fixed now.

This is follow up for ag/26419353.

Bug: 325377690
Test: Manual
Flag: NA
Change-Id: Id55000ac3cb4b88097ad00b97773c39a725711b8
2024-04-12 16:45:18 -07:00
Liana Kazanova 1c0b61377d Merge "Revert "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main 2024-04-12 22:29:53 +00:00
Sunny Goyal 3b6459c753 Merge "Fixing Launcher3QuickStepGo targets" into main 2024-04-12 22:17:42 +00:00
Liana Kazanova b80c6c347a Revert "Wait for LauncherModel loaded in waitForLauncherInitialized"
This reverts commit f8f00f4233.

Reason for revert: DroidMonitor: Potential culprit for http://b/334162623.  verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Id165df41a87af4757abd3266b8643949ce012a08
2024-04-12 21:30:50 +00:00