Commit Graph

63237 Commits

Author SHA1 Message Date
Bill Yi b79fa567c5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdbc1a0cf -s ours am: b4b14bf48a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia901b91668af0b40b5aee0a846a9637dc0b80732
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-16 18:30:00 +00:00
Bill Yi a164e77c32 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dabcd0f326 -s ours am: 0bfd828001 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I17ab6e5d93a002244ca4a24a1c45713fec856a11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-16 18:29:44 +00:00
Bill Yi b4b14bf48a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdbc1a0cf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1ccc276667d946ed2de896f349cbcb8ea1c92a2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-16 17:27:53 +00:00
Bill Yi 0bfd828001 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dabcd0f326 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I990293e617bbf4a42f61640ede194f7f1c339549
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-16 17:27:37 +00:00
Bill Yi dabcd0f326 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iad116b9472e2c75b0fc5424aec475891334a7df5
2023-08-15 09:46:45 -07:00
Bill Yi efdbc1a0cf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ac6ce68a6a55b1326fcbe1dd90c43beb4df0deb
2023-08-15 09:45:09 -07:00
Colin Cross ae14bc26e2 Fix kotlin nullable errors in Launcher3 am: 4cc251e6c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24406718

Change-Id: Id52bac704d54d31eafda8c8b648a576ab56617c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 19:00:56 +00:00
Colin Cross 4cc251e6c1 Fix kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

This relands I26edfec35dca14abe90b08e3c74de0446eda95d2 with a fix in
SplitSelectDataHolder.kt to call createPackageContext when user is null
instead of asserting that it is not null.

Bug: 294110802
Test: builds
Test: WMShellFlickerServiceTests
Change-Id: I4525d0fa83a1db9cc5cff90f340fc3f863537c01
Merged-In: I4525d0fa83a1db9cc5cff90f340fc3f863537c01
2023-08-11 11:29:10 -07:00
Colin Cross 86c3fd002c [automerger skipped] Merge "Fix kotlin nullable errors in Launcher3" into main am: fc786807ad am: 9f7fab352b -s ours am: 5589b9bd39 -s ours
am skip reason: Merged-In I26edfec35dca14abe90b08e3c74de0446eda95d2 with SHA-1 2608381792 is already in history

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

Change-Id: If279617019c0ad8d123cb93ebfd562f80f25fb22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-11 06:48:26 +00:00
Colin Cross 5589b9bd39 [automerger skipped] Merge "Fix kotlin nullable errors in Launcher3" into main am: fc786807ad am: 9f7fab352b -s ours
am skip reason: Merged-In I26edfec35dca14abe90b08e3c74de0446eda95d2 with SHA-1 2608381792 is already in history

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

Change-Id: I8cabfa50aaf7ced869d02febea8eb043dba90fd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-11 06:01:11 +00:00
Colin Cross 4b5bfb7096 Fix kotlin nullable errors in Launcher3 am: 2608381792
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24392740

Change-Id: Ia6fd37aa0a437da84b5b3108b49f0e9edb95a794
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-11 05:20:53 +00:00
Colin Cross 9f7fab352b Merge "Fix kotlin nullable errors in Launcher3" into main am: fc786807ad
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2702133

Change-Id: Ia1f973cc7e67c3a51bf0ec80489df09f16f4cb73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-11 05:19:55 +00:00
Colin Cross fc786807ad Merge "Fix kotlin nullable errors in Launcher3" into main 2023-08-11 04:40:48 +00:00
Colin Cross 7b5878e03e Fix kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
Change-Id: I26edfec35dca14abe90b08e3c74de0446eda95d2
Merged-In: I26edfec35dca14abe90b08e3c74de0446eda95d2
2023-08-10 11:16:55 -07:00
Colin Cross 2608381792 Fix kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
Change-Id: I26edfec35dca14abe90b08e3c74de0446eda95d2
Merged-In: I26edfec35dca14abe90b08e3c74de0446eda95d2
2023-08-10 11:16:17 -07:00
Bill Yi 22a9a079dc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours am: 674b8d059b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id7647c8e6f653b30f84d9f49f398190851e1beb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 08:43:19 +00:00
Bill Yi 6671d1c471 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours am: 84f8b32a61 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I053b87a52fadc0a3d9d797b90868e4b9929cad28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 08:17:57 +00:00
Bill Yi 674b8d059b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5fe4401513ef8716abca057571e80c2e735c82a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:56:52 +00:00
Bill Yi 84f8b32a61 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib753922c42e619bc7c3b42b6f48d5282f351a7c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:55:47 +00:00
Bill Yi 39a0822389 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I46480725d054efd82e8a465ccc6b570686263bd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:11:17 +00:00
Sunny Goyal a0a0100210 [automerger skipped] Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f am: 0c5ddeb3af -s ours
am skip reason: Merged-In Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf with SHA-1 2303acd7d4 is already in history

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

Change-Id: Id355c2c310b28e201714ad7737b60eb39ddd8dd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 21:25:39 +00:00
Sunny Goyal adfbec8d4e Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f am: 0b1089978f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24154592

Change-Id: I23624392e6bcde0f97ee4302c75a6e5b7f3fa671
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 21:03:39 +00:00
Sunny Goyal 0c5ddeb3af Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24154592

Change-Id: Id507b9d9faf1c209e11fcf7ece9d87119cf9d4f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 20:44:28 +00:00
Sunny Goyal 0b1089978f Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24154592

Change-Id: Ibf1f54176e73578fc9cd1cc2510022e3c6a84237
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 20:39:57 +00:00
Sunny Goyal 7a080a7e0f Merge "Log appear animation's scale factor" into udc-dev 2023-08-04 20:13:43 +00:00
Bill Yi 6cf39f2857 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 39e9688873 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0966ed68da37b2cbfbc54b9b2e0de783c44f38f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 19:35:32 +00:00
Bill Yi 19e80fd3e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1cab0c87deec793f9deb39d01005d9a90e8d5d8b
2023-08-03 21:56:44 -07:00
Bill Yi 39e9688873 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic65ee5796da63c3999571e23307fffec332bebfe
2023-08-03 21:56:20 -07: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
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 2234a8252d Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-08-03 00:02:58 +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 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 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
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
Nick Chameyev 2e53f5ef97 [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
Change-Id: Ic437ff4d19cbd5764635f3007d99880622150f5b
Merged-In: Ic437ff4d19cbd5764635f3007d99880622150f5b
(cherry picked from commit 6d756970e7)
2023-08-02 11:41:53 +00:00
Sebastián Franco 32e0bb887e Disable FOLDABLE_SINGLE_PAGE am: 8d606e89d3 am: ce836c83a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24231346

Change-Id: Ic70aca31e57496572adab05228f28fa618b7be2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 17:42:08 +00:00
Sebastián Franco ed918f3935 Disable FOLDABLE_SINGLE_PAGE am: 8d606e89d3 am: 5e740e5d15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24231346

Change-Id: Iacb206b6f17d81bc4fa8330d6d9b8e750bce5295
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 17:41:54 +00:00
Sebastián Franco 5e740e5d15 Disable FOLDABLE_SINGLE_PAGE am: 8d606e89d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24231346

Change-Id: I9aaf13f64be8fa29022a7107472735048560e0a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 16:58:41 +00:00
Sebastián Franco ce836c83a6 Disable FOLDABLE_SINGLE_PAGE am: 8d606e89d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24231346

Change-Id: I47ce4d7e6f88b2577f70db63e818c4f2566b5f10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 16:57:30 +00:00
Sebastián Franco 8d606e89d3 Disable FOLDABLE_SINGLE_PAGE
The functionality should go back to the same as with phones.
There shouldn't be issues with the reorder or similar behavior since we
are switching form using the MultipageCellLayout to the regular
CellLayout.

The things we need to pay attention to is the the behavior of having two
panels like adding the right number of panels when loading (folding, unfolding and rotating).

Bug: 291822492
Change-Id: I903873e32f35c5ee9e0f3da8581a37d4087d021f
Test: ReorderWidgets
Merged-In: I903873e32f35c5ee9e0f3da8581a37d4087d021f
2023-07-28 22:16:52 +00:00
Automerger Merge Worker ee973a3c00 Merge changes from topic "am-0044f066ae544b2db72e3759316cdaf7" into udc-d1-dev-plus-aosp
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours am: a1ebb61476 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours am: 54b663017a -s ours
2023-07-27 20:55:10 +00:00
Automerger Merge Worker 2d4d14f3b9 Merge changes from topic "am-340505ec150944a9b88ef5fcec38b52a" into udc-d1-dev-plus-aosp
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours am: 7ef4b4a037 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours am: d636ef0772 -s ours
2023-07-27 20:50:39 +00:00
Bill Yi bcb6172c04 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours am: a1ebb61476 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I99455409722953218c18b73a265c5566be7de873
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:49:45 +00:00
Bill Yi 3560547415 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours am: 54b663017a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I94ddba79f8dffe3ae90a41ae948f4bcc0d0a0a65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:49:35 +00:00
Bill Yi 19242c159c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours am: 7ef4b4a037 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia3e1c1091dbaf6b82449142757c7b934408f0289
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:47:54 +00:00
Bill Yi 3cddea5742 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours am: d636ef0772 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ice638593c34041d046280e14f1bba0a91bd229e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:47:43 +00:00