Commit Graph

60459 Commits

Author SHA1 Message Date
Bill Yi 8a573dda95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib01aa951a3dbdff0e66f9f7591538bbf508a7e8c
2021-10-30 01:24:28 +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 67ba817c9b [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: eceff103d4 2p: 21fdd0042f
Blank merge reason: parent was merged -s ours

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

Change-Id: I66174309cecb63ab504620369dd54cbc59bafcc1
2021-10-30 01:19:35 +00:00
Bill Yi befc4950d8 [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: I92ba4bd46f2671c0bc33a71631ce1b0290198c67
2021-10-30 01:19:30 +00:00
Bill Yi 21fdd0042f [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: Icb66609561ea7ec975faf36a94bbce506003a84b
2021-10-30 01:19:29 +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
Android Build Coastguard Worker 42c17e0bb6 Snap for 7867461 from d71a4288cf to sc-v2-release
Change-Id: Ib2fa5d45e182e5371ab58ce2b014682ee959f7e2
2021-10-30 01:10:45 +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
Rajeev Kumar 5cc195f449 Merge "P2P App Sharing: Gray out disabled SystemShortcut" 2021-10-29 22:32:44 +00: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
Vinit Nayak 0ca3f98ec6 Invoke IME switcher for taskbar through SysUI
Bug: 191814219
Test: IME switcher works small and large screen
Change-Id: Ic2db60357a13846bb34dddd64b27ecbbf8ff656f
2021-10-29 11:46:18 -07:00
Tony Wickham 30f8e7f45f Merge "Recreate taskbar when dark mode changes" into sc-v2-dev am: d71a4288cf am: 446dfa8b11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16144065

Change-Id: Iff95244b9cc0b75ee4e1ea4e88031d3057b5a025
2021-10-29 18:10:53 +00:00
Tony Wickham 446dfa8b11 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: I7d5777ed488f8e200cc556e584d29c9cd0545daf
2021-10-29 17:43:38 +00: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
Nick Chameyev 5c446d9ed4 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-10-29 10:17:18 +00:00
Becky Qiu 02ed3e92be [OneSearch] Increase API version number for the one search plugin. am: 75c97f534b am: d9fc8c2d27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143357

Change-Id: I977c66fa18a47a266d71f5247d66c0bb1c274f6c
2021-10-29 04:17:49 +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
Becky Qiu d9fc8c2d27 [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: Ied160f0f52cfd5f28aa58eb869d944f9fc7d2c48
2021-10-29 04:00:22 +00:00
Jon Spivack 688621498a P2P App Sharing: Gray out disabled SystemShortcut
The Share App system shortcut is disabled for apps that are deemed unshareable. This updates the UX to gray out the shortcut instead of hiding it. When the user clicks on the grayed out shortcut, a Toast message is displayed. This update also enables the shareability check.

In order to properly gray out the shortcut, this also fixes a bug with BubbleTextView in which ColorStateLists weren't applied correctly.

Bug: 202556634
Bug: 204495363
Test: Manual (observed UX on Wembley device in regular and dark themes)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Ieb04baf8c9cb9d325119cb97fceb96f2fc5a62ff
2021-10-28 19:30:31 -07:00
TreeHugger Robot ff1613c27d Merge "[OneSearch] Add onesearch plugin api to trigger image from URL." into sc-v2-dev am: e9652c9a63 am: 64ff0fad31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134702

Change-Id: I7f165a4e5427e7e21a9760000469db6a57353e51
2021-10-29 01:11:46 +00:00
Android Build Coastguard Worker 1ec509397f Snap for 7863959 from 92a6bccb4c to tm-release
Change-Id: I1a2b1fc9a95f7029512f450525ff8c7e9c3cec79
2021-10-29 01:08:35 +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
TreeHugger Robot 64ff0fad31 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: I202c60175d28cfe65239e137ad62f25e73b5d5ed
2021-10-29 00:54:24 +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 481a988409 Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev am: 00841576d4 am: e984618610
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143390

Change-Id: I90e5f55362bf4e404f7919792cb5ac0a5ea158d3
2021-10-28 23:11:39 +00:00
Android Build Coastguard Worker 3d278b8949 Snap for 7863714 from e12b321d5f to sc-v2-release
Change-Id: I36e23a38a35d40e74d51ee2026b288cea4cf5d24
2021-10-28 23:08:28 +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 e984618610 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: I2521d09e43988565816de0c60f5d1a4b9500b808
2021-10-28 22:53:44 +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 5f91e8b617 Merge "Update taskbar drag and drop treatment" into sc-v2-dev am: da86c0e64d am: ccb17341b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134100

Change-Id: I78de1b27ca39cc050b7dd9884e5312e7f12cbbc5
2021-10-28 21:24:28 +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 ccb17341b1 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: I0964f7f4aa1ef9c12758d4cdda22f171279b84ac
2021-10-28 21:11:55 +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 92a6bccb4c Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev am: d84aaad11f am: 3a5e6199eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960473

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

Change-Id: I8bff854eff8570a0011586bb0a7ffdc65dc5e290
2021-10-28 20:11:28 +00: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 3a5e6199eb 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: I6da155c5df23f3636ec3e6d790908a498f02e06b
2021-10-28 20:00:17 +00:00
bquezada c9845ed750 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: I804e0eb0ee5c449d5b441c78f3128eae5eea4fcb
2021-10-28 20:00:10 +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