Commit Graph

60651 Commits

Author SHA1 Message Date
Sunny Goyal 41737b3e8b Fixing icon cache thrashing due to an unsupported icon
Bug: 284032965
Test: Verified by reproducing the use case
Flag: N/A
Change-Id: I835dd545a01eb2fd7990e0fd5ad51bac0e4b1f33
2023-05-31 23:21:13 +00:00
Treehugger Robot c0f24b4e7e Merge "Removing memory object checks based on "dumpsys meminfo"" into udc-dev 2023-05-31 23:11:53 +00:00
Schneider Victor-tulias 2b06cbc748 Merge "Fix flaky null pointer in LauncherWidgetHolder" into udc-dev 2023-05-31 22:07:57 +00:00
Jagrut Desai e208e02aba Merge "Fixing Toast Hiding behind Taskbar - Part 2" into udc-dev 2023-05-31 20:45:37 +00:00
TreeHugger Robot db7009544e Merge "Insert a check that keyguard is invisible into waitForLauncherCondition" into udc-dev 2023-05-31 20:00:08 +00:00
Treehugger Robot 19cd5df8b1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 29c1b88d5f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8caf567dbce8effc168da12a5c0871e9141187f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 18:33:37 +00:00
Bill Yi 53e020417c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 61733ae6f9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic74071f938af9c1d6bc62968ec757010d792dce7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 18:33:28 +00:00
Treehugger Robot 29c1b88d5f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-05-31 18:30:21 +00:00
Bill Yi 6cc0b50bf0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3c0e2eaba1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibe3a78cbaef910b0649172e8586d71508bf58c0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 18:15:54 +00:00
Schneider Victor-tulias 8f95307087 Merge "Fix launcher activity leak in TouchInteractionService" into udc-dev 2023-05-31 17:49:35 +00:00
Jagrut Desai 84e959a72a Fixing Toast Hiding behind Taskbar - Part 2
Test: Visual, Manual
Bug: 282964229
Flag: not needed
Change-Id: If2373d8f0bc44a555844c78d20877e9636a7e176
2023-05-31 10:41:16 -07:00
TreeHugger Robot eebea953d7 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-05-31 16:52:27 +00:00
TreeHugger Robot 6136566902 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-05-31 16:52:27 +00:00
Nick Chameyev 0bb67d4c2c Merge "[Unfold animation] Disable preemptive launcher animation" into udc-dev 2023-05-31 10:03:03 +00:00
TreeHugger Robot f7d08912fa Merge "Add LAUNCHER_APP_LAUNCH_PENDING_INTENT where an app is launched through pending intent." into udc-dev 2023-05-31 06:13:38 +00:00
TreeHugger Robot 7dabd57f2d Merge "Possibly fix the widget restoration bug" into udc-dev 2023-05-31 01:32:53 +00:00
Anushree Ganjam cfbbf8510c Add LAUNCHER_APP_LAUNCH_PENDING_INTENT where an app is launched through
pending intent.

Bug: Bug: 282236269
Test: Manual
Flag: NA
Change-Id: I6fb15a77f32ce5914f9632f5fb77f340acd3cfda
Merged-In: I6fb15a77f32ce5914f9632f5fb77f340acd3cfda
2023-05-30 23:47:22 +00:00
Treehugger Robot 6c3c6b3ae6 Merge "Fix widget picker crash" into udc-dev 2023-05-30 22:53:34 +00:00
Sihua Ma 48465319f6 Possibly fix the widget restoration bug
The update will always be considered as failed because we always return 0 for all the commits.

Test: N/A
Bug: 234700507
Change-Id: I33ee8af996cef62dbc14349f9a7dd3cb72836ab6
2023-05-30 15:12:00 -07:00
Vinit Nayak 52ac882e9b Merge "Resize mRemoteTargetHandles when RecentsAnimationStarts" into udc-dev 2023-05-30 22:10:28 +00:00
Treehugger Robot 3b7f4eb675 Merge "Fix invalid outline after widget resizing" into udc-dev 2023-05-30 22:06:10 +00:00
Fengjiang Li a640098439 Merge "Clip folder chidren during folder open/close animation" into udc-dev 2023-05-30 20:10:48 +00:00
Sihua Ma 734da5c1eb Fix invalid outline after widget resizing
Fix: 283778989
Test: Manual
Change-Id: I8821658a1db333159684562ba79f30fd92291fad
2023-05-30 13:03:08 -07:00
fbaron bbab64e00c Fix widget picker crash
It looks like if shouldClearVisibleEntries() evaluates to true and we clear mVisibleEntries, we get an Inconsistency IndexOutOfBounds error, the same as the one reported in the crash.

Bug: 276766307
Test: Verify that with these changes the widgets still update correctly when changing languages
Change-Id: I9f92e61d967aab2c8297cfc2fb4b04193df67650
2023-05-30 18:46:55 +00:00
Stefan Andonian 57eaf86f8d Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev 2023-05-30 17:49:54 +00:00
TreeHugger Robot 78b6e76486 Merge "Add logs to see if launcher model isn't loaded when work profile app is added" into udc-dev 2023-05-30 17:26:53 +00:00
Nick Chameyev 0873afd7fa [Unfold animation] Disable preemptive launcher animation
Disables preemptive unfold animation by default.

Bug: 281821523
Test: unfold on launcher
Change-Id: I767f25cf0414a91c82a33cf86ca16db2e4dcfa22
2023-05-30 18:10:08 +01:00
Bill Yi 3c0e2eaba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ice9061dd21494a414604a8662b9d41efa1ffa332
2023-05-28 22:53:38 -07:00
Bill Yi dc030ce28a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0e9bb41699c268df3b7b60bcde81aad13bd0fb2
2023-05-28 22:52:52 -07:00
Bill Yi 61733ae6f9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1eb7096ec0f5ec5ba0a95ab5a4bce57d7fca27a6
2023-05-28 22:51:48 -07:00
Bill Yi 1f1006a32b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icaab575a19af3fc98557b9bf65388a66aebbee71
2023-05-28 22:51:02 -07:00
Achim Thesmann 2bcfbd3739 Merge "Allow BAL in Launcher" into udc-dev 2023-05-27 17:48:16 +00:00
Randy Pfohl d2905028fb Merge "update padding to allow long text to not be truncated" into udc-dev 2023-05-27 02:02:34 +00:00
Vinit Nayak 2c353f29a2 Add logs to see if launcher model isn't loaded when work profile app is added
* Add helper method to avoid checking sDebugTracing when
logging for tests

Bug: 243688989
Flag: None
Change-Id: Id6cc3b286171eb598e593c5a8aaea6f2466aad60
2023-05-26 15:45:42 -07:00
Schneider Victor-tulias fb2affac5f Fix flaky null pointer in LauncherWidgetHolder
- LauncherWidgetHolder.startListening is called before Launcher.setupView, so it's possible for getWorkspace() to be called as part of the appWidgetRemovedCallback. Reordered these calls to fix this null pointer

Flag: not needed
Fixes: 283850341
Test: Screenshot tests
Change-Id: Ied1f23647721fc4199eab2a5a79def1e306b00f3
2023-05-26 15:09:41 -07:00
Schneider Victor-tulias f304ab8e2b Fix launcher activity leak in TouchInteractionService
TouchInteractionService cannot be garbage collected until it has been cleared from the sysui process. Switching to use a WeakReference to help with garbage collection.

Flag: not needed
Bug: 283490010
Test: ran launcher and performed gestures
Change-Id: I37aa5f858f2ae0ac78b46478ab4c5f24770bd64f
2023-05-26 14:39:14 -07:00
Stefan Andonian 0a8fab01da Revert "Keep ViewCaptureRule logic self-contained."
This reverts commit eec7a9d90f.

Reason for revert: Failing tests.

Change-Id: Idf16453bbd7f0ace17d8e80d3303fae26b50333b
2023-05-26 21:11:41 +00:00
randypfohl 4613be550b update padding to allow long text to not be truncated
Test: built and run locally, screenshots in bug
Flag: none

Bug:279624252
Change-Id: I932782757e1087cc7a321bab2e4d682419ec4a28
2023-05-26 13:35:53 -07:00
Vinit Nayak ed7b50efee Merge "Handle fullscreen app launchs in split init flow for SplitSelectDataHolder" into udc-dev 2023-05-26 20:19:19 +00:00
Schneider Victor-tulias b4e91b14bd Merge "Update gesture nav edu motion and colors" into udc-dev 2023-05-26 16:12:06 +00:00
Schneider Victor-tulias 010a55d377 Merge "Fix keyboard quick switch d-pad left/right traversal direction" into udc-dev 2023-05-26 16:11:51 +00:00
Winson Chung a5fb95df57 Merge "Try to handle side-task launches even if not fully transitioned to overview" into udc-dev 2023-05-26 04:25:21 +00:00
vadimt ee77946a7f Insert a check that keyguard is invisible into waitForLauncherCondition
This will unify diagnostics because otherwise waitForLauncherCondition would fail with a different message if keyguard is present.

Test: presubmit
Bug: 187761685
Flag: N/A
Change-Id: I1a34b4c2ad859b87263733a8a65527b8357e1950
2023-05-25 17:44:34 -07:00
Stefan Andonian 9678d9470c Merge "Keep ViewCaptureRule logic self-contained." into udc-dev 2023-05-25 22:53:28 +00:00
Ikram Gabiyev 749a2d2a6a Merge "Remove contentDescription attribute in filter icon" into udc-dev 2023-05-25 18:40:00 +00:00
Stefan Andonian eec7a9d90f Keep ViewCaptureRule logic self-contained.
This will make it easier for other apps / processes to integrate the
ViewCapture logic into their integrated testing frameworks.

Bug: 270158224
Test: Verified that a zip file was generated properly and was able to be
loaded into go/web-hv properly.

Change-Id: Ib3e4a0b60497937b750126590071884882b22917
2023-05-25 17:59:46 +00:00
Vadim Tryshev 8cf338148b Merge "Adding tracing for workspace loading that never finishes" into udc-dev 2023-05-25 17:17:50 +00:00
Saumya Prakash 4ccfbf38bb Merge "Update Lottie files in gesture nav education" into udc-dev 2023-05-25 17:10:23 +00:00
Hui Kang 879d746de7 Merge changes from topic "Annotate Platinum Test" into udc-dev
* changes:
  [3/7]Add PlatinumTest annotation to tests
  [4/7]Add PlatinumTest annotation to tests
2023-05-25 16:04:10 +00:00
Luca Zuccarini 07c3491ec2 Merge "Add a view type check to ensure the right animation is used." into udc-dev 2023-05-25 15:42:51 +00:00