Commit Graph

78507 Commits

Author SHA1 Message Date
Nick Chameyev 8e263cb930 [Unfold animation] Do not preemptively start the animation if it has run already
Currently if we open an app, unfold the device and then go to home
screen we will start the unfold animation preemptively in Launcher
because Launcher activity will receive updated configuration change
(where isTablet = true) only after going back to home screen, not
when unfolding the device.

This causes a problem because SystemUI won't send the unfold animation
events after going back home as the animation has already run, so we
end up with wrongly started animation in Launcher.

This CL fixes the issues by checking if SystemUI has finished the
animation (or if it is currently running) to avoid preemptive animation
start in this case. This is done by subscribing to the original
unfold transition progress provider which emits progress events
sent through IPC from SystemUI.

Bug: 285150685
Bug: 293131586
Test: open an app on folded screen, unfold, go to home screen =>
  check that icons are not squished
Test: fold/unfold when launcher is open
(cherry picked from commit 6d756970e7)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2e53f5ef97a02d25f508774e82985e24dc2f4d2d)
Merged-In: Ic437ff4d19cbd5764635f3007d99880622150f5b
Change-Id: Ic437ff4d19cbd5764635f3007d99880622150f5b
2023-08-04 02:05:36 +00:00
Bill Yi af8808fdd6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I14602770c68454215510efed11a4e502b31c5070
2023-08-03 18:59:30 -07:00
Bill Yi 98830fcbd6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib3a3dee039404b6f7fdad4d2ac524ea78262a5d3
2023-08-03 18:58:26 -07:00
Bill Yi 2160d51f14 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0eb61f43b6dcbf6acafbccb225dca80db5991a1c
2023-08-03 18:57:57 -07:00
Sebastian Franco a99e1d2a14 Ensure the reorder test runs on the foldable devices
It moves some classes form the Nexus package into the launcher package
so it can be used in both projects.

It also adds more test for foldables and test multiple
grids for each test.

Bug: 289584301
Fix: 291346193
Test: ReorderWidgets
Change-Id: I04db5f685d0344b8a3f3d42b429bbde061b3d8ea
2023-08-03 16:35:29 -07:00
Android Build Coastguard Worker 8cc195c016 Snap for 10607267 from c325c686c7 to udc-qpr1-release
Change-Id: I8c6a10eb5f2c431211da4fbca1db7d6f7117cfc0
2023-08-03 23:19:54 +00:00
Fengjiang Li 2303acd7d4 Log appear animation's scale factor
Test: Grabbed a bug report b/291974797
Flag: N/A
Bug: 290320302
Change-Id: Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf
Merged-In: Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf
2023-08-03 14:25:00 -07:00
Fengjiang Li fd129bd418 Turn off ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY
These two flags was accidentally turned on in ag/24107285, reverting them

Flags: ENABLE_ALL_APPS_RV_PREINFLATION ALL_APPS_GONE_VISIBILITY
Test: N/A
Bug: 264341825
Change-Id: If53e6c8e2219e2e95a5b08e15d9ea8669cd77385
2023-08-03 12:09:15 -07:00
Alex Chau 4bfc0ee720 Fix return condition in getWorkspacePageTranslationProvider
- When EDIT_MODE was introduced, it added a wrong condition to make it always return DEFAULT_PAGE_TRANSLATION_PROVIDER

Bug: 294228521
Test: manual
Change-Id: If970949c8ab55bc67f98f987a7654ec2db89cdfb
(cherry picked from commit c325c686c7)
2023-08-03 18:58:58 +00:00
Alex Chau 98ba3fd7d0 Fix return condition in getWorkspacePageTranslationProvider am: c325c686c7 am: e7cfae1a26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24308816

Change-Id: I1384528f2dcc5011198233fe85cc5a20699202b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 17:29:24 +00:00
Alex Chau e7cfae1a26 Fix return condition in getWorkspacePageTranslationProvider am: c325c686c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24308816

Change-Id: I0df5a0249578f949bab666c8f4bfb5484300636f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 16:47:01 +00:00
Holly Sun 19f6525546 Refresh mNumAppsPerRowAllApps when device profile changes.
The return value of SrollableLayoutManager#getItemsHeight is wrong, which is caused by the return value of `incrementTotalHeight` (https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/src/com/android/launcher3/util/ScrollableLayoutManager.java;l=151-163). In AllAppsGridAdapter#incrementTotalHeight (https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsGridAdapter.java;l=172), `item.rowAppIndex` is still the staled value after app grid change / device fold & unfold. This value is calculated in AlphabeticalAppsList (https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/src/com/android/launcher3/allapps/AlphabeticalAppsList.java;l=276-280). The mod `mNumAppsPerRowAllApps` is staled. So add an setter in `AlphabeticalAppsList` to update `mNumAppsPerRowAllApps`.

Bug: 262003765
Bug: 284940820
Test: manual
Flag: N/A
Change-Id: I74a99a3dc58ee45f066bcefb3e9c56be02b62f82
2023-08-03 09:39:18 -07:00
Alex Chau c325c686c7 Fix return condition in getWorkspacePageTranslationProvider
- When EDIT_MODE was introduced, it added a wrong condition to make it always return DEFAULT_PAGE_TRANSLATION_PROVIDER

Bug: 294228521
Test: manual
Change-Id: If970949c8ab55bc67f98f987a7654ec2db89cdfb
2023-08-03 14:38:33 +00:00
Vinit Nayak a2b89e6c83 Merge "Ensure matching insets for taskbar gesture and 3 button nav" into udc-qpr-dev am: 3adfa41951 am: c57f20bb47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24139629

Change-Id: I6f8d79429e781a53b02bd378352070366ecd5c9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:49:47 +00:00
Treehugger Robot f8c1c4c193 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours am: 42b3ff1cc9 -s ours am: 8c0eea9491 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id95f28c08ada25795e7a17a3a8b421600c2aa6ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:47:04 +00:00
Bill Yi 76187c7884 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours am: e0310ac878 -s ours am: 1af7b24a1b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iabe196c132b27e9b3a10f5c08b96cf1d6dc0248a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:46:49 +00:00
Treehugger Robot 34e0eb97e7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours am: 03241a5c28 -s ours am: e476249d55 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I298801210734a35806630346145d34c2f3b2040e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:43:27 +00:00
Bill Yi dba9e76633 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours am: fa1583041d -s ours am: a6095a8568 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1d2f3df519585de41ec00f60a2773f16335fa705
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:43:12 +00:00
Vinit Nayak c57f20bb47 Merge "Ensure matching insets for taskbar gesture and 3 button nav" into udc-qpr-dev am: 3adfa41951
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24139629

Change-Id: I7b5fd049ab44f90cb165e92fbdb9e6da43eb7add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:20:44 +00:00
Treehugger Robot 8c0eea9491 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours am: 42b3ff1cc9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I48deba8c20a50c0ff61fc339d1ad5dd5fae96bf7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:17:31 +00:00
Bill Yi 1af7b24a1b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours am: e0310ac878 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If467628b922ec2e75ef6d4d8c35608ae98e87fa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:17:15 +00:00
Treehugger Robot e476249d55 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours am: 03241a5c28 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic1a782996608283612cbd31efda200a1f0b21552
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:57:02 +00:00
Bill Yi a6095a8568 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours am: fa1583041d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1deb52f93c7fe1caa9583797c0891829ae3591fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:56:46 +00:00
Vinit Nayak 3adfa41951 Merge "Ensure matching insets for taskbar gesture and 3 button nav" into udc-qpr-dev 2023-08-03 00:49:21 +00:00
Treehugger Robot 03241a5c28 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9514b980302bff83afb341f92443364cd2c75a98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:38:29 +00:00
Bill Yi fa1583041d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ied34306a93542839f02ac838176699e9e0b22ccd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:38:14 +00:00
Treehugger Robot 42b3ff1cc9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I519b7dde4ddec84da367dd0321eaa6fbd9999fa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:38:02 +00:00
Bill Yi e0310ac878 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia057c2a207c61ef3650b1c0cd35bb7c88e9d3edb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:37:46 +00:00
Treehugger Robot 2234a8252d Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-08-03 00:02:58 +00:00
Sunny Goyal afcb617566 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 85d1a1cea1 -s ours am: 1ba5f1e186 -s ours am: d9e34b5028 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: I2e41fa997d7e6d4d1c60d913998dfb9a3dc56576
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 23:32:15 +00:00
Automerger Merge Worker 486444549e Merge "[automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours am: a2a8c566b3 -s ours" into udc-qpr-dev-plus-aosp am: f9cb748220 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: I24c83b6d128d9d89a97c87f345096922faa8ec2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 23:32:05 +00:00
Sunny Goyal 2fb2e6307f [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours am: a2a8c566b3 -s ours am: 07fcbd28f5 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

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

Change-Id: I44b824b4c6b7ee23fe20623cd4611a12d806557e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 23:32:02 +00:00
Sunny Goyal 942e4d9d89 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 am: 644d85ad0d -s ours am: c5fa244f58 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

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

Change-Id: I9d17a08d1c3aecb558d82c433c6d06684da1e64a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 23:31:48 +00:00
Android Build Coastguard Worker 685d172db0 Snap for 10600946 from a0e328abe7 to udc-qpr1-release
Change-Id: Ia5d6d06db6e84a3da10c5e0b6f6065d8fdacad09
2023-08-02 23:19:21 +00:00
Sunny Goyal d9e34b5028 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 85d1a1cea1 -s ours am: 1ba5f1e186 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: Icecc1251a1bd2545d7e5c30520a2f473553597ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:44:23 +00:00
Automerger Merge Worker f9cb748220 Merge "[automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours am: a2a8c566b3 -s ours" into udc-qpr-dev-plus-aosp 2023-08-02 22:42:37 +00:00
Sunny Goyal 07fcbd28f5 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours am: a2a8c566b3 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

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

Change-Id: Ic2d562ffbc54a9a3a0ea4c89199cd30fe3f4ab9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:42:31 +00:00
Sunny Goyal c5fa244f58 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 am: 644d85ad0d -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

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

Change-Id: I9dd30bcf7f21ba503eb4b0ddc5c2db863e265b24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:42:29 +00:00
Sunny Goyal b81178dc4d [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e7bfae98c -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

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

Change-Id: I0fe22ab50c12aa4f69db21c10c7155428acbb279
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:22:43 +00:00
Sunny Goyal 1ba5f1e186 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 85d1a1cea1 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: I55d626474f1011a8430d7f78f147fd2e6d21d319
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:02:55 +00:00
Sunny Goyal a2a8c566b3 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

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

Change-Id: I4a51f0dc07628f51694eb91641007f5704882678
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:01:26 +00:00
Sunny Goyal 644d85ad0d Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I9587890282eacc4cb29f626591aefedad9078208
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:00:22 +00:00
Sunny Goyal 9e7bfae98c Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I75ef7d5e11cf7ffdb18bef5f93df7a298d96d539
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 21:36:21 +00:00
Sunny Goyal 85d1a1cea1 Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I7fa7f4ae8e69f8ae07f1b38053d2f738c2e35726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 21:35:37 +00:00
Sunny Goyal 9e10ffc553 Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I38c903a70bb637d78403a29a468d6722269553dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 21:34:25 +00:00
Vinit Nayak 1fd1b68870 Ensure matching insets for taskbar gesture and 3 button nav
* WM checks that the number of insets don't change for
a given window once it's added. Previously when we changed
nav modes the window was removed and a new one was added, so
changing insets amounts/types didn't matter.
* Now that we use the same window and re-provide the insets,
the number of them provided have to match (insets values themselves
can change as much as needed)
* Fix minor bug when checking bit mask for gravity

Test: Switch between nav modes, no crash; no change in behavior
w/ flag turned off
Bug: 274517647
Flag: persist.wm.debug.hide_navbar_window
Change-Id: I750f843e8210ba1c800b61ac79664265924c054a

Change-Id: Idba4e8e1888fa58bf872c04cb042f77a8b5b0573
2023-08-02 14:21:31 -07:00
Bill Yi 22c51bf135 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I289e821ff4b091ffa506a3176f27a884e0c1dde3
2023-08-02 14:18:50 -07:00
Sunny Goyal 343b896081 Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev 2023-08-02 20:51:13 +00:00
Schneider Victor-tulias 7b739e9c65 Update All Set page vibrations on large screens
Updated the vibrations in the all set page to match the background animation and the rest of the SUW

Flag: not needed
Fixes: 291876894
Test: launched all set page on tablet, foldable and handlheld
Change-Id: I1eefb7191563f7ca867da1e35bb3d2cf5031bad3
2023-08-02 13:27:02 -07:00
Pat Manning f85463143e Merge "Add test to access overview app menu." into udc-qpr-dev am: a0e328abe7 am: 4e1099094b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24179827

Change-Id: I136b52a6cd044c79b6c180a1efb167bddcf1d6fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 19:22:18 +00:00