Commit Graph

35182 Commits

Author SHA1 Message Date
Tony Wickham f282735a08 Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050

Change-Id: If6ee9defe28dd7c9cb00bebc724bcc1ed8512f34
2021-11-01 20:21:09 +00:00
Tony Wickham c29f5441da Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev 2021-11-01 20:17:53 +00:00
Brian Isganitis 26bcfe19d4 Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev am: f0fa83e988
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132965

Change-Id: I695cc5dee4be671cf467221d356430c0243a06cc
2021-11-01 20:13:07 +00:00
Brian Isganitis f0fa83e988 Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev 2021-11-01 20:00:32 +00:00
Jonathan Miranda 170606543f Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev am: 9b85616119
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16151440

Change-Id: Ie1d4effa0daddbea4f60f693f3e5679fefa19300
2021-11-01 18:53:20 +00:00
Jonathan Miranda 9b85616119 Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev 2021-11-01 18:35:44 +00:00
Vinit Nayak 7af9bae493 Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev am: 6e5f4e3184
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142695

Change-Id: I67b67494303063640223e2dca971a6d2e24d614f
2021-11-01 18:16:18 +00:00
Vinit Nayak 6e5f4e3184 Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev 2021-11-01 18:01:37 +00:00
Tony Wickham 436a73d2d2 Merge "Add null check when settling on LAST_TASK" into sc-v2-dev am: d48fbecd1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150962

Change-Id: Ib9d50e6c351d0250b70a0f84db9701ad58cbf521
2021-11-01 16:38:28 +00:00
Thales Lima 277683455c Merge "add kotlin support for launcher" into sc-v2-dev am: 33f9de0225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101503

Change-Id: I8fe30f433f3ff8a668c8d351e0b95674bd5e81f6
2021-11-01 16:38:23 +00:00
Tony Wickham d48fbecd1a Merge "Add null check when settling on LAST_TASK" into sc-v2-dev 2021-11-01 16:22:15 +00:00
Thales Lima 33f9de0225 Merge "add kotlin support for launcher" into sc-v2-dev 2021-11-01 16:03:58 +00:00
Nick Chameyev 686c34237f Move floating rotation button handling to Launcher am: 0288d2e8bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101502

Change-Id: I4207dfc3d0f73ef7a02c2d5602ee67c7c0e09fd4
2021-11-01 12:50:26 +00:00
Nick Chameyev 0288d2e8bb Move floating rotation button handling to Launcher
Moves handling of floating rotation button when navigation
bar is not created to the launcher. This button was not
showing when taskbar is visible as it was initialized in
navigation bar (which is not created for large screens).

Bug: 200103245
Test: rotate phone when autorotate disabled on inner screen
Test: showing rotate suggestion when gesture nav enabled/disabled
Change-Id: I13dd555bcd811f1524be7ab9ad51b2b012b3b749
2021-11-01 10:36:34 +00:00
TreeHugger Robot c7fca84e13 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 047cb6c114 -s ours am: e6a04336eb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9947dbb66bf8c93d048cf36d54ee883d1103f6cc
2021-11-01 06:23:31 +00:00
Bill Yi 03a4ca7eb9 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: eceff103d4 am: 5b24688fc3 -s ours am: 14ef2d7650 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I36ef782f3973029a6e7297df9b5e3251a4ca6076
2021-11-01 06:23:27 +00:00
TreeHugger Robot e6a04336eb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 047cb6c114 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia365e3008cb3e6476c4eb6ae6e13d2f069877007
2021-11-01 06:16:46 +00:00
Bill Yi 14ef2d7650 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: eceff103d4 am: 5b24688fc3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0ca3cca154f3700286d9b1e80c4660c4940b59c3
2021-11-01 06:16:23 +00:00
TreeHugger Robot 681b9f4862 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 08e6d3a0f4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib884cc9964a6a3c0c5c3b31531ec0108061d7095
2021-11-01 06:15:53 +00:00
TreeHugger Robot ab867149a0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: d75cdbbc9e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iac368cbd97c080c4ccec34e9f8e4a75e48da07ee
2021-11-01 06:15:49 +00:00
TreeHugger Robot 08e6d3a0f4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-01 05:55:53 +00:00
TreeHugger Robot d75cdbbc9e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-01 05:55:37 +00:00
TreeHugger Robot 047cb6c114 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-11-01 05:55:36 +00:00
Hyunyoung Song d0f730229d Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082

Change-Id: I880c0487af2ef0cb791bcc32929536cc7374a81e
2021-10-31 22:16:42 +00:00
Hyunyoung Song f45ec6dc1d Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev 2021-10-31 21:59:09 +00:00
Bill Yi 9252143fb6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdcb1408fd64a714b08364c9e2106ade4c4a6fd7
2021-10-30 01:23:53 +00:00
Bill Yi dee85291d4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9a64b39bfc779dc7c8261f0571aee1b4e53ea605
2021-10-30 01:20:28 +00:00
Bill Yi 9dda7b700b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia72585210d668abd01bdce2556e1cf6265af4f8e
2021-10-30 01:19:55 +00:00
Bill Yi 5b24688fc3 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: eceff103d4
Blank merge reason: commit message contains skip directive

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

Change-Id: Ic62c29fb295ec8405db1a6cf454d23f5558ce102
2021-10-30 01:19:29 +00:00
Bill Yi eceff103d4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1fb8644a05495e312925301f254e67ba58cd50e9
2021-10-30 01:19:24 +00:00
Jon Miranda 029a644a6e Remove PROTOTYPE_APP_CLOSE feature flag and associated code.
Flag was never enabled, safe to remove.

Bug: 200999899
Test: manual
Change-Id: Ie2646d8c4b9a1c40fac1bfd7dadf4ec714171aec
2021-10-29 16:07:29 -07:00
Tony Wickham 2ca7e2695c Add null check when settling on LAST_TASK
Test: N/A
Fixes: 203237855
Change-Id: I511fde0ba3f22720ed1fe29769c97a3207a98a4b
2021-10-29 14:15:53 -07:00
Tony Wickham 908552fad3 Merge "Recreate taskbar when dark mode changes" into sc-v2-dev am: d71a4288cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16144065

Change-Id: I039bb27e57ad54c4688f787752ef52b9605b0e20
2021-10-29 17:43:19 +00:00
Tony Wickham d71a4288cf Merge "Recreate taskbar when dark mode changes" into sc-v2-dev 2021-10-29 17:13:57 +00:00
Thales Lima 26f44911a6 add kotlin support for launcher
Bug: 193432925
Test: click on the app icon and check logcat
Change-Id: I2ca4d57105fe4e1b1dfc6c968a7c1bbd3cbd2151
2021-10-29 15:40:41 +00:00
Becky Qiu ae0adc8d03 [OneSearch] Increase API version number for the one search plugin. am: 75c97f534b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143357

Change-Id: I9ae9d6036a747863cf5b66a538c5a2aaf906b101
2021-10-29 04:01:03 +00:00
TreeHugger Robot 038710dbaa Merge "[OneSearch] Add onesearch plugin api to trigger image from URL." into sc-v2-dev am: e9652c9a63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134702

Change-Id: Ia19c207a0856eb73e4af9659c76dda277456133c
2021-10-29 00:55:03 +00:00
Tony Wickham 5a5a926945 Recreate taskbar when dark mode changes
Also dispatch sysui flags to all controllers upon recreate, not just NavbarButtonsViewController. Additionally, tell the controllers to skip the animation due to the flag changes if it's fromInit.

Test: Enable themed icons, switch dark theme in quick settings, ensure taskbar updates
Fixes: 204403933
Change-Id: Ic43a50cf0456175f9beba5c29360440f051cbd2d
2021-10-28 17:49:03 -07:00
Becky Qiu 75c97f534b [OneSearch] Increase API version number for the one search plugin.
Bug: 199289915
Test: manual
Change-Id: I540730e067ce70956d2c3c8bb6336e8b6bd97713
2021-10-28 17:47:45 -07:00
TreeHugger Robot e9652c9a63 Merge "[OneSearch] Add onesearch plugin api to trigger image from URL." into sc-v2-dev 2021-10-29 00:36:42 +00:00
Tony Wickham d99eefc215 Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev am: 00841576d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143390

Change-Id: I841f96eeccf1f4ac9a120ae37fddfc232b4849d1
2021-10-28 22:55:01 +00:00
Tony Wickham 00841576d4 Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev 2021-10-28 22:40:01 +00:00
TreeHugger Robot 918a5156ad Merge "Update taskbar drag and drop treatment" into sc-v2-dev am: da86c0e64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134100

Change-Id: I9dc06f4b8633dec55578997dc60e4d009b0363ba
2021-10-28 21:12:36 +00:00
TreeHugger Robot da86c0e64d Merge "Update taskbar drag and drop treatment" into sc-v2-dev 2021-10-28 20:54:09 +00:00
Tony Wickham 956ce16f51 Fix NPE when TaskView isn't attached to RecentsView
Test: theoretical
Fixes: 201481275
Change-Id: Ie10b5ebac373e41a4d4113ee3cda737d88adad8a
2021-10-28 13:21:15 -07:00
TreeHugger Robot a236bdc446 Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev am: d84aaad11f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960473

Change-Id: I001be98b99214c05769bab873c7c87abf4c967bf
2021-10-28 20:00:55 +00:00
bquezada 4b58f6b934 Change AppTargetId for launcher events to align with other AppTargetId's. am: e12b321d5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16141869

Change-Id: I10595afb2da3c972431a029f134dc897b2359066
2021-10-28 20:00:51 +00:00
TreeHugger Robot d84aaad11f Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev 2021-10-28 19:51:05 +00:00
Tony Wickham 3c848b0dee Reapply TaskViewSimulator in onApplyWindowInsets()
Test: Long press on bottom of taskbar to stash without moving my finger, ensure underlying app draws all the way behind the stashed handle
Fixes: 204165836
Change-Id: Ia1e138b9c369ac789e862ba760068f90bd64d312
2021-10-28 12:50:58 -07:00
Vinit Nayak 0c05634a16 Clean up RemoteTargetHandles when RecentsAnimation ends
* When in SplitScreen in overview, rotation causes
surfaces to get released, so we tell RecentsView
to null out references to them.
* Unclear why this wasn't/isn't neceessary for a
single, fullscreen task.

Fixes: 202780874
Test: Can rotate in split screen, no crash
Change-Id: Ifdfa74943945029edec37dfeeb4187616e4a23d8
2021-10-28 12:21:46 -07:00