Commit Graph

49755 Commits

Author SHA1 Message Date
Samuel Fufa a4c1891723 Merge "[Hotseat] Fix hotseat migration in landscape mode" into sc-v2-dev am: cf175820c4 am: fb0bd63b32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862162

Change-Id: I5f465b7078b4ae35521678b88fff0613c80b3ba7
2021-09-21 07:01:37 +00:00
Samuel Fufa 8998a393b0 Merge "[Hotseat] Fix legacy shortcut with config activity drawing on top of predicted app" into sc-v2-dev am: e4057e628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15864327

Change-Id: Ic5165aeabf619e649f3a9291bf64c689644c6c0b
2021-09-21 06:48:59 +00:00
Samuel Fufa fb0bd63b32 Merge "[Hotseat] Fix hotseat migration in landscape mode" into sc-v2-dev am: cf175820c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862162

Change-Id: I8649602454a097b553e94048027d772c68a14941
2021-09-21 06:48:53 +00:00
Samuel Fufa e4057e628c Merge "[Hotseat] Fix legacy shortcut with config activity drawing on top of predicted app" into sc-v2-dev 2021-09-21 06:33:06 +00:00
Samuel Fufa cf175820c4 Merge "[Hotseat] Fix hotseat migration in landscape mode" into sc-v2-dev 2021-09-21 06:24:37 +00:00
vadimt 99479a9925 Adding screen record for a flake
Test: presubmit
Bug: 195673272
Change-Id: I3ea99f68872554d688b30bf87f595fef1538a7cb
2021-09-20 20:09:07 -07:00
Samuel Fufa e6ae3768cb Merge "Restore hidden text on Popup close" into sc-v2-dev am: 414f17138f am: d7f8c399c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862032

Change-Id: I2c72501bb118239f342c7d6e4ff413904b5ab0b3
2021-09-21 00:36:28 +00:00
Samuel Fufa d7f8c399c0 Merge "Restore hidden text on Popup close" into sc-v2-dev am: 414f17138f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862032

Change-Id: I3990e6c63912670c9dec452e28d7c244c9ee0daa
2021-09-21 00:21:57 +00:00
Jon Spivack 89c21c77f5 P2P App Sharing: Add Shareability Cache
This update allows Launcher to check with an external API to determine whether apps
are shareable before displaying the Share App button. To prevent
extraneous calls to the API, the retrieved shareability data
are cached. A job is scheduled to update this cache once a week.

This feature can be toggled with the ENABLE_SHAREABILITY_CHECK flag in
AppSharing.java. It is currently disabled, as the Play API has only been
partially rolled out.

More details on the design are available at go/app-shareability-cache-design

Bug: 168831749
Test: manual (local Wembley device)
Test: m -j RunLauncherGoGoogleRoboTests ROBOTEST_FILTER="AppShareabilityManagerTest|AppSharingTest"
Change-Id: I971a3776e09b6842dedf315ec592317050dd6790
2021-09-20 17:11:04 -07:00
Samuel Fufa 414f17138f Merge "Restore hidden text on Popup close" into sc-v2-dev 2021-09-21 00:10:46 +00:00
Android Build Coastguard Worker 73d11b4e9d Snap for 7749288 from 6173a7302b to sc-v2-release
Change-Id: Ieb2d31bead7fd6be6ab073fb10479fe7bb0900bc
2021-09-20 23:07:59 +00:00
Evan Rosky 218b8cff1d Merge "Register remote transitions on activity start" into sc-v2-dev am: 26c596b813 am: 5684dffff6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15847881

Change-Id: I1554e3c24019525dc07b58a35307a4475d81ba1e
2021-09-20 22:56:27 +00:00
Evan Rosky 5684dffff6 Merge "Register remote transitions on activity start" into sc-v2-dev am: 26c596b813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15847881

Change-Id: Idad928c2d632ed79a6065cc8f6ec4ebfdaaae70f
2021-09-20 22:46:45 +00:00
Evan Rosky 26c596b813 Merge "Register remote transitions on activity start" into sc-v2-dev 2021-09-20 22:29:57 +00:00
Samuel Fufa 335edad9ca Merge "Support Accessibility workspace addition for WorkspaceItemInfo" into sc-v2-dev am: 964c7641ad am: e29042026d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15868593

Change-Id: I2a6ad1be51ead69593e06914bc64186e816c9501
2021-09-20 22:18:36 +00:00
TreeHugger Robot b357b3a4e9 Merge "[AllApps] NORMAL <-> ALL_APPS motion clean fixes for AOSP" into sc-v2-dev am: 0f4e4856a2 am: e892818d74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15807632

Change-Id: I5f03905462e81dbc1597e6b8465850911df08ccc
2021-09-20 22:18:30 +00:00
Tony Wickham bab101c818 Take panel count into account for page indicator size
Test: on a device with 2 panels, workspace page indicator width reflects number of needed scrolls rather than number of pages.
Fixes: 200607741
Change-Id: Ic2d0bdc644a15944c2d69a832068889071dc25e2
2021-09-20 15:13:33 -07:00
Samuel Fufa e29042026d Merge "Support Accessibility workspace addition for WorkspaceItemInfo" into sc-v2-dev am: 964c7641ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15868593

Change-Id: I9501412ebd52d98e081934fe09e3fb33a6ed5090
2021-09-20 22:06:19 +00:00
TreeHugger Robot e892818d74 Merge "[AllApps] NORMAL <-> ALL_APPS motion clean fixes for AOSP" into sc-v2-dev am: 0f4e4856a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15807632

Change-Id: I9362d09b6a65d09e7e39a5f9ca3cbc4b2673d29c
2021-09-20 22:06:11 +00:00
Samuel Fufa 964c7641ad Merge "Support Accessibility workspace addition for WorkspaceItemInfo" into sc-v2-dev 2021-09-20 22:00:51 +00:00
TreeHugger Robot 0f4e4856a2 Merge "[AllApps] NORMAL <-> ALL_APPS motion clean fixes for AOSP" into sc-v2-dev 2021-09-20 21:50:58 +00:00
Samuel Fufa f2a8ead524 Merge "[AllApps] Fix ConcurrentModificationException in AppPredictionRow" into sc-v2-dev am: 7f693253c8 am: 700858930d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862035

Change-Id: I34420cc5c0d4a1ac6cd5037b50e915ea1f5bf44a
2021-09-20 21:38:05 +00:00
Samuel Fufa 8ab7a2eb28 Merge "[Hotseat] Remove stale predictions when AppIcon is removed" into sc-v2-dev am: 091d91a84b am: de409fc30a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862161

Change-Id: I616fb524b3f8b95cedb450889e32e9778c56617c
2021-09-20 21:37:46 +00:00
Samuel Fufa 700858930d Merge "[AllApps] Fix ConcurrentModificationException in AppPredictionRow" into sc-v2-dev am: 7f693253c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862035

Change-Id: Iec7a78c53173b4b001c2ace6cd6b26a95cb17b19
2021-09-20 21:29:23 +00:00
Samuel Fufa de409fc30a Merge "[Hotseat] Remove stale predictions when AppIcon is removed" into sc-v2-dev am: 091d91a84b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15862161

Change-Id: Ia34a8eeb0672139521e1590fa6c93b36b4a20344
2021-09-20 21:29:18 +00:00
sfufa@google.com 0828fec3d2 [Hotseat] Show edu tip within screen bounds
Screenshot: https://screenshot.googleplex.com/8grkbkYQu5jQhU8
Bug: 163162675
Test: enable hotseat predictions while in landscape mode, dismiss hotseat edu dialog and verify toolTip is shown properly.
Change-Id: Ia6daa7412d728be702e30972136f4c849315793d
2021-09-20 14:22:25 -07:00
sfufa@google.com d0a332371d [Hotseat] Fix legacy shortcut with config activity drawing on top of predicted app
Bug: 182937704
Test: Add direct call widget from widget tray on a predicted spot. verify prediction clears space and no overlap.
Change-Id: Ie4977ca71ec0b7c2297ffe1454cb4a1e78518a75
2021-09-20 14:22:25 -07:00
sfufa@google.com ef5ee36e90 [Hotseat] Fix hotseat migration in landscape mode
Bug: 189860214
Test: performed migration in landspace and verified items are moved properly. change is persisted when device is rotated or launcher is restarted.
Change-Id: Ice088e5524a1405dbfa20c21b4edc597f23da07e
2021-09-20 14:22:24 -07:00
Samuel Fufa 7f693253c8 Merge "[AllApps] Fix ConcurrentModificationException in AppPredictionRow" into sc-v2-dev 2021-09-20 21:19:00 +00:00
Samuel Fufa 091d91a84b Merge "[Hotseat] Remove stale predictions when AppIcon is removed" into sc-v2-dev 2021-09-20 21:16:49 +00:00
Evan Rosky cab41ed670 Register remote transitions on activity start
Was only registering once, but launcher can stop/start
its activity (eg when changing gesture modes), so we
need to try and re-register every time

Bug: 200213691
Test: atest CloseAppHomeButtonTest
      change gesture mode and observe functional animations
Change-Id: I29f1eb647c2168d753e37f57657906979c5518be
2021-09-20 13:41:01 -07:00
Vinit Nayak b7c91b9d2e Prevent focusing next task if focused task part of split select
* Also ensure that in tablet portrait we shift
thumbnails to prevent overlap with the placeholder
view. I'm guessing the time that was written maybe
the grid was taking up a smaller space?

Fixes: 199898622
Test: Go into split selection with focused task,
next task doesn't take focus. Grid shifts down
to not overlap with placeholder view.

Change-Id: I4ed37b1d28287685ad01885331dffd764c7ddfc9
2021-09-20 11:28:55 -07:00
TreeHugger Robot 006f51cb41 Merge "Workaround: don't migrate grid when hotseat size or device type changes in multi display" into sc-v2-dev am: 6173a7302b am: 0ed2edc078
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15868868

Change-Id: I87368f40a2bb220d58378c8451f3f734f64ccf09
2021-09-20 15:51:43 +00:00
TreeHugger Robot eb341fa5e8 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-09-20 15:43:09 +00:00
TreeHugger Robot 0ed2edc078 Merge "Workaround: don't migrate grid when hotseat size or device type changes in multi display" into sc-v2-dev am: 6173a7302b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15868868

Change-Id: I6ed74df64ae269916b9aea3c02485276d6fd1dc9
2021-09-20 15:37:54 +00:00
TreeHugger Robot 6173a7302b Merge "Workaround: don't migrate grid when hotseat size or device type changes in multi display" into sc-v2-dev 2021-09-20 15:19:58 +00:00
Thales Lima 558ff50698 Merge "launcher: fix animation for quick switch + recents" into sc-v2-dev am: 3b151d630c am: deb17f413b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15853747

Change-Id: Ic7746f14e6f86d554860f38ec11a62cdcafeb599
2021-09-20 14:53:11 +00:00
Thales Lima deb17f413b Merge "launcher: fix animation for quick switch + recents" into sc-v2-dev am: 3b151d630c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15853747

Change-Id: I27d7b8cc4e4841afd927a752c679ae63a0da50b1
2021-09-20 14:38:33 +00:00
Steven Ng 4b346108d1 Add an animation for invalid widget resizing in 2 panel UI
Test: manual
Fix: 197509872
Change-Id: Ibcfae107e7f4b3bfbc562d4a6436f4b9237db122
2021-09-20 15:33:23 +01:00
Thales Lima 3b151d630c Merge "launcher: fix animation for quick switch + recents" into sc-v2-dev 2021-09-20 14:23:19 +00:00
Bill Yi 6e015ae61e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 20642e0e83 -s ours am: b56f3e2d21 -s ours am: 34a6e85e2c -s ours am: c843e7c9a1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I75c99f69ff61728135126b4bd21b5b75f13bad91
2021-09-20 14:00:57 +00:00
Bill Yi 2e95e763d3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 93f231a67d -s ours am: 86bc19767a -s ours am: fa88b494e8 -s ours am: de3a399e51 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia6ed53759a62fcd1004d07f790381c610a99970e
2021-09-20 14:00:46 +00:00
Bill Yi e01ba33b14 Merge changes from topic "presubmit-am-db33ed04940a45cdb749d4f32e140047" into sc-qpr1-dev am: c8eff0cf70 am: bd4be71d78 am: f87e9725b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15860487

Change-Id: I574855085c097592137797c55ac39dc668bdc996
2021-09-20 14:00:30 +00:00
Bill Yi 1b0e6d31dc [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 4146464bf5 am: 0f8ffac4c6 -s ours am: 30c5cd8981 -s ours am: 61a60ad2c3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3ace675f59eed80b63e8d4a65de76e5acd306446
2021-09-20 14:00:29 +00:00
Bill Yi a478ac0d36 Merge changes from topic "presubmit-am-4e0667c00fd14f20821e1bf2df948968" into sc-qpr1-dev am: 5976e12f9d am: 0c93a4adc7 am: c32ff19a69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15860494

Change-Id: I58d80244fafa119a321a6fa2064a6f3d30c0c3fa
2021-09-20 14:00:05 +00:00
Bill Yi b11de5b4ab [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: fb359eb579 am: fff16945af -s ours am: b301ecf10a -s ours am: ebae349162 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5a224a4a4691fd1658a9ff2ae964a3a63a7a4e96
2021-09-20 14:00:04 +00:00
Bill Yi a51a38859b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 20642e0e83 -s ours am: b56f3e2d21 -s ours am: 289cd2f3f2 -s ours am: e5df9f23c5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idcb6cf56a9de9601586a74fc75c3c9b2c2a8336f
2021-09-20 13:59:41 +00:00
Bill Yi d9195f4720 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 93f231a67d -s ours am: 86bc19767a -s ours am: a489f00634 -s ours am: b31d379b1c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7ccdef3de652bfd5f478dabfeb3027779fb3487c
2021-09-20 13:59:17 +00:00
Bill Yi fe90d821ef [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 20642e0e83 -s ours am: 6e218fcd48 -s ours am: cc2fcada49 -s ours am: ed7d5b6072 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia421fb4bce27d9ccbce3f921c62a73267e5cda74
2021-09-20 13:59:05 +00:00
Bill Yi 5e14d09f0b Merge changes from topic "presubmit-am-db33ed04940a45cdb749d4f32e140047" into sc-qpr1-dev am: c8eff0cf70 am: 980279e161 am: 0ce8277d93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15860487

Change-Id: Iea6f51d19481258da31f2f31944b21313bc697e7
2021-09-20 13:58:34 +00:00