Commit Graph

78507 Commits

Author SHA1 Message Date
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
Android Build Coastguard Worker 74d637bd42 Snap for 11712589 from 8fc5e593c3 to 24Q3-release
Change-Id: I32d5eda7297d31e8acc1d753412195c6f651e8fd
2024-04-13 21:21:17 +00:00
Treehugger Robot 8fc5e593c3 Merge "Update icon for install to private shortcut[final]" into main 2024-04-13 16:00:19 +00: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
Anushree Ganjam 6292e32e7f Add FastScrollSectionInfo with "info icon" when work educard exists.
Before: https://b.corp.google.com/issues/325490294#comment1

After: https://b.corp.google.com/issues/325490294#comment5

Bug: 325490294
Test: Manual
Flag: NA
Change-Id: I557971cddd5829f46697004159d62a9343e75f69
(cherry picked from commit 6dadf21a7f)
2024-04-12 20:54:29 +00:00
Schneider Victor-tulias a9721fd344 Merge "Add debug logs to AbsSwipeUpHandler" into main 2024-04-12 20:39:51 +00:00
Sunny Goyal 4396a935c2 Merge "Using resource overrides for PluginManager instead of code-swap" into main 2024-04-12 20:29:36 +00:00
Sunny Goyal 3b452f5e90 Fixing Launcher3QuickStepGo targets
When res directory is not specified in the app target, it automatically
uses the default res directory, which in this case overrides the
quickstep resources.
Explicitely specifying the res directory to prevent override

Bug: 333207609
Test: Verified apk
Flag: None
Change-Id: I749ad895f42ac40a462993ed5290da52a838c1ec
2024-04-12 19:19:59 +00:00
Luca Zuccarini a0e2a878f4 Fix a bug where the status bar scrim doesn't animate.
Bug: 298089923
Flag: ACONFIG com.android.launcher3.enable_scaling_reveal_home_animation DISABLED
Test: manual
Change-Id: I8b624cf3e0b42572c122d04e2e7df6e7a6106b89
2024-04-12 18:55:49 +00:00
Schneider Victor-tulias aec9ae92ea Merge "Wait for LauncherModel loaded in waitForLauncherInitialized" into main 2024-04-12 18:49:52 +00:00
Sunny Goyal 4a22ed81ea Using resource overrides for PluginManager instead of code-swap
Bug: 330920490
Test: Presubmit
Flag: None
Change-Id: Ib1cd50f95873928b9ce104e8e95d21f1dca9c6e3
2024-04-12 11:38:32 -07:00
Jagrut Desai 49d4429881 Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon test
Test: Presubmit
Bug: 319501259
Flag: NONE
Change-Id: I9566b947bc7d5d64953a8c637fefd4fa37cca87c
2024-04-12 11:37:27 -07:00
Holly Sun 0b6dafbd3e [PS] Update PS tile icon.
Screenshot:
https://screenshot.googleplex.com/9XM6jYqhvz8etp3
https://screenshot.googleplex.com/3qUGXvqmvrWhWHr

Test: manual
Bug: 333929173
Flag: aconfig com.google.android.apps.nexuslauncher.enable_inject_private_space_tile trunkfood
Change-Id: Ibeb2a55cd80c8ae9a5446c40061f7e014f81ed4c
2024-04-12 11:14:57 -07:00
Schneider Victor-tulias 9622927c8d Add debug logs to AbsSwipeUpHandler
Investigating b/332386996

Flag: N/A
Bug: 332386996
Test: TaplTestsQuickstep#testQuickSwitchFromApp
Change-Id: Ic5245416df624b722819a3dcf1008ca0196d3161
2024-04-12 13:34:31 -04:00
Vadim Tryshev 2a6ce15290 Merge "Removing users synchronously" into main 2024-04-12 17:19:36 +00:00
Brandon Dayauon c1de065650 Merge "Fix stale header height being used in scroll to header calculation" into main 2024-04-12 17:00:40 +00:00
Sebastián Franco 7afe302bda Merge "If the user only had the default db, then migrate to the new default" into main 2024-04-12 16:55:13 +00:00
Jagrut Desai 4fe59a2ce8 Folder Title Change Listener
Bug: 305877212
Test: Manual
Flag: NONE
Change-Id: I10c7e0827a05010720daeb9da7a0be854ee06112
(cherry picked from commit 06a05c3806)
2024-04-12 16:54:56 +00:00
Schneider Victor-tulias f8f00f4233 Wait for LauncherModel loaded in waitForLauncherInitialized
Flag: N/A
Fixes: 326737440
Test: Launcher TAPL tests
Change-Id: I631b370198c393ad84419930c026b6a0ce63ec2b
2024-04-12 12:48:48 -04:00
Riddle Hsu 90ed0f9b32 Ensure that the recents start time is non-zero
It was only assigned when using gesture navigation.

When using non-gesture navigation, the calculation below in
ActivityMetricsLogger will be (uptime - 0) which could be several
hours or days.
 mSourceEventDelayMs = (int) (TimeUnit.NANOSECONDS.toMillis(
     launchingState.mStartUptimeNs) - sourceInfo.eventTimeMs);

Because the start time was set right after GestureState is created,
it can be simply set as the creation time of GestureState.
So non-gesture navigation can provide the timestamp when handling
OverviewCommandHelper.TYPE_TOGGLE.

Bug: 206872204
Test: Use 3-button navigation to enter recent.
      The value of LatencyTracker should not be unexpected large.
Change-Id: Ie661222822912e287d1ac295ccaf49e2086d909e
2024-04-12 11:10:07 +00:00
Himanshu Gupta 0faeff7f76 Update icon for install to private shortcut[final]
Bug: 333553036
Test: https://photos.app.goo.gl/KmQXWYWKQsWwg3fW6
Flag: NA
Change-Id: I50c2e6e0294097d3ce81ac590aaa8c753c6d23ad
2024-04-12 11:39:24 +01:00
Federico Baron 1db15a0ec8 Merge "Page resets when scrolling slowly fix" into 24D1-dev am: d7022dc0ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26930477

Change-Id: I929c449339f1ae45f4454149272409ce147ab825
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 05:15:00 +00:00
Federico Baron d7022dc0ac Merge "Page resets when scrolling slowly fix" into 24D1-dev 2024-04-12 04:53:49 +00:00
Treehugger Robot 2078ab6ab6 [automerger skipped] Merge "Launch AppPair live tile when not visible" into 24D1-dev am: 028e1fcd9d -s ours
am skip reason: Merged-In I6ae8cccc01401935bf96fba8a154216e6b1ad701 with SHA-1 637274ebc9 is already in history

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

Change-Id: I0019b0c90add2f66b466b38091c21862e8cb390e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 04:01:13 +00:00
Vinit Nayak aa5d27571e [automerger skipped] Launch AppPair live tile when not visible am: 95a7ca485e -s ours
am skip reason: Merged-In I6ae8cccc01401935bf96fba8a154216e6b1ad701 with SHA-1 637274ebc9 is already in history

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

Change-Id: Ibb326873bc3baa9a5fbbfe5754ce4d7f9ec0c858
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 04:01:11 +00:00
Treehugger Robot 037ba427ab [automerger skipped] Merge "Add placeholder divider view when starting split tasks" into 24D1-dev am: 8119d72903 -s ours
am skip reason: Merged-In I32e394a0bc361489473ee657161c8f3bcbf1e422 with SHA-1 cdaabc6199 is already in history

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

Change-Id: I1a8ec7a57951d9da280636bfa65fb915656086f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 04:00:32 +00:00
Vinit Nayak 3b83e53103 [automerger skipped] Add placeholder divider view when starting split tasks am: 32700f81ec -s ours
am skip reason: Merged-In I32e394a0bc361489473ee657161c8f3bcbf1e422 with SHA-1 cdaabc6199 is already in history

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

Change-Id: I16e9fe62fadd42c9ab926cc1e2b3e828b6bb4f91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 04:00:30 +00:00
Treehugger Robot 028e1fcd9d Merge "Launch AppPair live tile when not visible" into 24D1-dev 2024-04-12 03:59:27 +00:00
Treehugger Robot 8119d72903 Merge "Add placeholder divider view when starting split tasks" into 24D1-dev 2024-04-12 03:48:46 +00:00
Vinit Nayak 95a7ca485e Launch AppPair live tile when not visible
* End the recents animation and then relaunch as if
from scratch
* We explicitly ignore the anim for end of recents animation
since that will cause the taskbar to quickly show and stash
again, and we know in this case that we'll quickly be launching
right back into an app

Test: Tested w/ live tile + non live,
fullscreen + app pairs
Bug: 316485863

Change-Id: I6ae8cccc01401935bf96fba8a154216e6b1ad701
(cherry picked from commit 637274ebc9)
Merged-In: I6ae8cccc01401935bf96fba8a154216e6b1ad701
2024-04-12 03:41:20 +00:00