Commit Graph

78245 Commits

Author SHA1 Message Date
Xin Li 829423919d [automerger skipped] Merge 24Q4 into AOSP main am: 078f13fca8 -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I0c880bb1ff134d6960bdc501465a04edf6403b19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:18:31 -08:00
Xin Li 078f13fca8 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909
Change-Id: Ie23029dc17b8bee64cd8bfc9638057dc3d062950
2024-12-13 11:15:20 -08:00
Xin Li c7ff9cc0af Merge ab/AP4A.241205.013 into aosp-main-future
Bug: 370570306
Merged-In: Ia507354f42959ce9d320114a313bfc533186b524
Change-Id: I2cf8baad00355252c5621766e1da472c87007f9d
2024-11-27 12:53:11 -08:00
Treehugger Robot 08137ade78 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: ce3171e7a0 -s ours
am skip reason: contains skip directive

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

Change-Id: I15e7e15ceb946749272606385c2f90633ea77b42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:31 +00:00
Bill Yi 3b4e2c156f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2e0b4ce52e -s ours
am skip reason: contains skip directive

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

Change-Id: I0ae40aedd9b82483a2dad33d9045fdf3ec9a15c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:28 +00:00
Treehugger Robot 63266f76a6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 9513daa779 -s ours
am skip reason: contains skip directive

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

Change-Id: Idfa023f57d97a7ac72b46814f316a449e4ba7aea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:25 +00:00
Bill Yi 9b6eca3cd1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 47853ec09f -s ours
am skip reason: contains skip directive

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

Change-Id: I2be79edde259e12132c2a2c464bf9e56f5e73ff4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:19 +00:00
Treehugger Robot 40ca16b415 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: d4218d8b46 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia665828dc4edb8085a6bfe74467c9d402c0cc4fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:12 +00:00
Bill Yi aa800fb960 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 42a07b47e1 -s ours
am skip reason: contains skip directive

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

Change-Id: Ic216500f63b5334cc6ef9b7abdd233341961c1ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-27 07:17:04 +00:00
Treehugger Robot fc92d73bb2 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-11-26 20:24:13 +00:00
Treehugger Robot 2980145793 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-11-26 20:24:13 +00:00
Treehugger Robot ce3171e7a0 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-26 18:59:15 +00:00
Treehugger Robot 9513daa779 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-26 18:59:15 +00:00
Treehugger Robot d4218d8b46 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-26 18:59:15 +00:00
Bill Yi c53bf7890a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909
2024-11-26 08:54:19 -08:00
Bill Yi d8b551f5e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifc912f63a98981d58b7ca3c11102cca16171589d
2024-11-26 08:53:51 -08:00
Bill Yi 2f784ae9ff Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie974d62c56f4e2b5a8a915c29c93a5d26fd94811
2024-11-26 08:53:30 -08:00
Bill Yi 2e0b4ce52e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic16394da3ded917b22342bf6bfbefb3f9dfb4c90
2024-11-26 07:36:15 -08:00
Bill Yi 47853ec09f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6ea65f527652a356445233d3cdba31ee0f901f02
2024-11-26 07:35:54 -08:00
Bill Yi 42a07b47e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic9e26fa7f91bd7b0e2ca251032e115f46f715b2c
2024-11-26 07:35:35 -08:00
Xin Li 7b31be6dfa Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: If0497fcc17bb0ec44294c4ea1163104b4d8be459
Change-Id: I3bdc59ea3914bcde4104f82de3ce6f8949f40e7d
2024-11-21 15:10:02 -08:00
Xin Li 9a9e10609d Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Id70ceed141e2106f746d4a0e68a09675ba45dd28
Change-Id: I84eee058761cb1fe716a7c91c022dbf435efbe7e
2024-11-06 10:31:30 -08:00
Android Build Coastguard Worker 712da2cf48 Merge cherrypicks of ['googleplex-android-review.googlesource.com/30068451'] into 24Q4-release.
Change-Id: If21861e06be4781ab4af912129eadb7483554fe5
2024-10-28 23:33:36 +00:00
Jagrut Desai 72417bb06c Fix Taskbar Touchable Region when overview is in split select mode
The problem: when Overview is in split slect mode second split app pick from taskbar take you back home. Why, because upon touch the taskbar touch region get
 set to empty and then we later don't meet any conditions to set default touch region to something.

The solution: change the condition of checking overview in onTaskbarOrBubblebarWindowHeightOrInsetsChanged so that we check that taskbar is in any overview s
tate and we don't rely on the stash controller flag alone. we follow similar logic in updateInsetsTouchability, but we gate that only behind transient taskba
r hence this was not an issue for transient taskbar.

Test: Manual
Bug: 373559050
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9aa005b657bebe60867b2c2961c2f5deac8cf359)
Merged-In: Ia507354f42959ce9d320114a313bfc533186b524
Change-Id: Ia507354f42959ce9d320114a313bfc533186b524
2024-10-28 23:33:02 +00:00
Android Build Coastguard Worker 43ce93230a Merge cherrypicks of ['googleplex-android-review.googlesource.com/29753546'] into 24Q4-release.
Change-Id: I3940c51a0c576d43afd3e731ef5e907c3a8618ab
2024-10-25 23:03:31 +00:00
Charlie Anderson 219371c4ef Prevent archived apps content description from being overridden unexpectedly
Bug: 372035896
Test: manually tested archiving/unarchiving with Talkback
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:91a2aad67f2f5a9b8773d49daaf8c634884867e3)
Merged-In: Ief7f7d176c6ed23a8d7798cf31506e0a9c8921ed
Change-Id: Ief7f7d176c6ed23a8d7798cf31506e0a9c8921ed
2024-10-25 23:02:18 +00:00
Android Build Coastguard Worker b93ba761d5 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29738756'] into 24Q4-release.
Change-Id: Id1d607c26e2f72ff2e6dcfdb0bbafd8adb1c4e1c
2024-10-21 23:31:04 +00:00
Jagrut Desai c4f9510874 Fix Taskbar to Hotseat Animation for Non-Predective back apps
- Refactored Taskbar animation duration to under one method and added logic to sync animation duration according to enableScalingRevealHomeAnimation.
- Change the interpolator for TaskbarLauncherStateController based on enableScalingRevealHomeAnimation.

Test: Presubmit, Manual
Bug: 369378541
Flag: EXEMPT Bug Fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0a65c5bd72d755856148faeb070a5d2ad2c79cb0)
Merged-In: I942829b475f91e9102801b758eb7ee0d27eee912
Change-Id: I942829b475f91e9102801b758eb7ee0d27eee912
2024-10-21 23:30:48 +00:00
Android Build Coastguard Worker 98a8922e41 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29694146'] into 24Q4-release.
Change-Id: I40ab3875937e5d443fc62b800f7ddaae1166cbbf
2024-10-08 22:58:29 +00:00
Tony Wickham 045814a2c6 Don't invalidate swipe handler until parallel anim finishes
- When invalidateHandler() is called, it calls endRunningWindowAnim()
  which includes mParallelRunningAnim. This causes a jump if
  mParallelRunningAnim was not already finished, so we now wait to
  invalidate the handler after mParallelRunningAnim ends.

Flag: EXEMPT bugfix
Test: AbsSwipeUpHandlerTestCase (added two tests for this)
Fixes: 370208192
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ee98cd4bdf739c2f93f7cf0a20764acb2a837b0c)
Merged-In: I37ed281a993b1d2fa3634754378314511f3295f0
Change-Id: I37ed281a993b1d2fa3634754378314511f3295f0
2024-10-08 22:55:35 +00:00
Android Build Coastguard Worker 2b71139a8a Merge cherrypicks of ['googleplex-android-review.googlesource.com/29673278', 'googleplex-android-review.googlesource.com/29669026', 'googleplex-android-review.googlesource.com/29669027', 'googleplex-android-review.googlesource.com/29706942'] into 24Q4-release.
Change-Id: Ia05eba3ca8000805b1b50abf9638d86a7f291e64
2024-10-04 23:05:04 +00:00
Tony Wickham 0a176950df Fix Taskbar unlock transition
- There are multiple signals that come just after FLAG_DEVICE_LOCKED
  is removed, and those should still be considered part of the unlock
  transition. We already did this for TaskbarStashController so I copied
  it to TaskbarLauncherStateController.
- Also animate when changing SYSUI_STATE_OVERVIEW_DISABLED, since this
  happens when the device is locked/unlocked and changes the visibility
  of TaskbarView icons.

Test: manually unlock over both home screen and in-app, verify clean
transition without jump (e.g. Hotseat is immediately visible as part of
Workspace, and Taskbar fades in during unlock to an app)
Flag: EXEMPT bug fix
Fixes: 364586744

(cherry picked from commit 7519b7c2e6)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:060a883fca73711684ad3a1069677569a264b7fb)
Merged-In: If0497fcc17bb0ec44294c4ea1163104b4d8be459
Change-Id: If0497fcc17bb0ec44294c4ea1163104b4d8be459
2024-10-04 22:51:03 +00:00
Bill Yi c12e4e8581 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 369418613
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3b1c32f9d588c2d73368cc229ffd45adef6ab7d6)
Merged-In: I8a28241561c626e50803cbbdaf2f764bba841183
Change-Id: I8a28241561c626e50803cbbdaf2f764bba841183
2024-10-04 22:50:51 +00:00
Bill Yi e75f202289 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 369418613
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3b3d2f1cd063100667c2a740eaac200fb2e4b3e2)
Merged-In: I5cd6ba4238969a8af830a2a3453077c2fbeb7a6e
Change-Id: I5cd6ba4238969a8af830a2a3453077c2fbeb7a6e
2024-10-04 22:50:40 +00:00
Shamali P e147685a20 Move padding from parent to WidgetPagedView and siblings in 2-pane pkr
WidgetPagedView seems to rely on padding to position it such that
 talkback doesn't focus on it before sticky header.

Bug: 348107507
Test: With talkback
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:adc171b3136dda72225ad2930604195a3c13122e)
Merged-In: I2fcdc0cbf027a7a8c1bee104f85a61f700faf776
Change-Id: I2fcdc0cbf027a7a8c1bee104f85a61f700faf776
2024-10-04 22:50:30 +00:00
Android Build Coastguard Worker eeff3497e0 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29616053', 'googleplex-android-review.googlesource.com/29656286'] into 24Q4-release.
Change-Id: If5fb394c4a29ca3153eecdc894f54321dbaa3927
2024-10-02 23:23:28 +00:00
Jeremy Sim 7b33cd902b Fix small bug with TaskView tile expansion
There was a small typo that resulted in the wrong measurement being returned for the remaining TaskView. This CL fixes it.

Fixes: 365476600
Test: Manual
Flag: NONE bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:21f504e0f14f0d3b983bf6694eeda8fc7bedda34)
Merged-In: I1abf993abcaa8d06e5475f31c0322017f6e96e6f
Change-Id: I1abf993abcaa8d06e5475f31c0322017f6e96e6f
2024-10-02 23:22:06 +00:00
Jagrut Desai 73532bf515 Two Taskbar Bug
This cl fixes two taskbar bug being present when invoking CtS.

Solution: simply measure displacement and compare that with slop to animate taksbar background or not.

Test: Presubmit
Bug: 360116669
Flag: EXEMPT Bug Fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7cada7c46b0462bc56d2dc363d61e8967a42001f)
Merged-In: I7d5a95e1a3729e30e5cf588dcf5b823f3d7de93f
Change-Id: I7d5a95e1a3729e30e5cf588dcf5b823f3d7de93f
2024-10-02 23:21:56 +00:00
Android Build Coastguard Worker afabbb624b Merge cherrypicks of ['googleplex-android-review.googlesource.com/29573568'] into 24Q4-release.
Change-Id: I32f46d6425e475f8cdc4b76c7ad4d6a00ca2b100
2024-10-02 01:58:44 +00:00
Sunny Goyal 8c53be4b11 Fixing wallpaper preview rendered not being cleaned properly
> Using a single RunnableList for all the cleanup
> Performing cleanup when renderer surface is released

Bug: 362292374
Test: Verified manually using heapdump
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:be796be5e66b70bde118996dd5650d7fc9901ca5)
Merged-In: Idc1ee20dee2a2944d8e1c1d06b2662818d2b7001
Change-Id: Idc1ee20dee2a2944d8e1c1d06b2662818d2b7001
2024-10-02 01:57:42 +00:00
Android Build Coastguard Worker 9128c94ba7 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29569940'] into 24Q4-release.
Change-Id: Iffbf98ba50195e55b7acf1b556f2b9ed7fc5300d
2024-09-30 17:32:43 +00:00
Charlie Anderson e6fdb5e2be Update test activities with a non-default icon.
Check against default app icon in FolderIconLoadTest

Bug: 357441807
Bug: 369222239
Bug: 369240511
Flag: EXEMPT bc-triaged bugfix
Test: FolderIconLoadTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:65c1010029e65c7e3062fd5e1407fa53437ac417)
Merged-In: I0e224f5b8bf8c0a8c51d88abd7c562d8e1ff7a55
Change-Id: I0e224f5b8bf8c0a8c51d88abd7c562d8e1ff7a55
2024-09-30 17:31:30 +00:00
Android Build Coastguard Worker 6e975b5b73 Snap for 12406339 from e792bc3a5c to 24Q4-release
Change-Id: I590e4d80112ab1b36a8070d921dd090b96ed34b3
2024-09-24 17:54:57 +00:00
Treehugger Robot e792bc3a5c Merge "Revert "Add support for taskbar background to wrap around hotseat"" into main 2024-09-24 00:57:04 +00:00
Jeremy Sim 26a0afe14f Merge "Fix bug with over-expanding split task tile" into main 2024-09-24 00:52:24 +00:00
Sunny Goyal f84b6edee7 Merge "Removing unnecessary package validation during grid migration" into main 2024-09-24 00:31:54 +00:00
Android Build Coastguard Worker 854b867698 Snap for 12404440 from d3460af469 to 24Q4-release
Change-Id: Ib15fd2f0f83b1ff403f542c2c6645205b53250ba
2024-09-23 23:22:42 +00:00
Jon Miranda 9c09196dfd Revert "Add support for taskbar background to wrap around hotseat"
This reverts commit 5dc07d786f.

Reason for revert: b/360116669

Bug: 345768019
Change-Id: Id70ceed141e2106f746d4a0e68a09675ba45dd28
Fixes: 360116669
Test: open taskbar, open all apps w/ ime, use ime back button
Flag: com.android.launcher3.enable_scaling_reveal_home_animation
2024-09-23 22:38:35 +00:00
Jeremy Sim 803a4a5bb1 Fix bug with over-expanding split task tile
This CL changes GroupedTaskView#onMeasure() to return more robustly in the case where a single task from a GroupedTaskView is staged.

See bug for fine details, but basically we no longer allow onMeasure() to re-bound the split task to fullsize in split selection state -- we leave it in half size all the time (with scale and translation applied). To allow it to stay scaled-up and translated properly across rotations and stuff, we now avoid resetting translation and scale until split select is exited.

Fixes: 365476600
Test: Manual test with offscreen tiles, rotations, fake landscape and seascape
Flag: NONE bugfix
Change-Id: I0ee8d13d310ed1f134f3f396bb87541a5ea685ef
2024-09-23 15:31:02 -07:00
Sunny Goyal c3dd1c380f Removing unnecessary package validation during grid migration
package validation happens during loader anyway. And using MATCH_INSTALLED
for checking cross user apps may not work all the time

Bug: 363324203
Test: atest GridSizeMigrationUtilTest
Flag: EXEMPT bug fix
Change-Id: Id36e8fdff132242705ef53c85dc6567fbde5d952
2024-09-23 15:16:37 -07:00