Commit Graph

49925 Commits

Author SHA1 Message Date
Pat Manning 0f5a1e3661 Prevent repeated haptics on task dismissal.
Test: manual
Fix: 200813011
Change-Id: I74ce053023935a037074db25552f730d30f8ef52
2021-09-28 17:35:58 +00:00
Vinit Nayak 8217054355 Add toast instructing user to select second split app
Fixes: 200131929
Change-Id: I1825fba64a42cef1d067bd5e085273d1eca68fce
2021-09-28 10:26:21 -07:00
Tony Wickham b43374e9f9 Use falllback animation when going back to no icon
Test: Open settings from the shade (not on home screen) and go back, ensure animates reasonably
Bug: 197656915
Change-Id: I78baa3ad03655f66b9e9727e62247ec8a15f3bf9
2021-09-28 09:19:47 -07:00
Alex Chau 21698c5799 Always let Hotseat touches follow through to Workspace if not intercepted
Fix: 200812841
Fix: 201306660
Test: Long press around QSB, hotseat, inbetween hotseat icons works
Test: Can scroll pages on top of hotseat and QSB
Test: Drag and drop still works in hotseat
Test: Can still press and long press on QSB
Change-Id: I3f6807be08ff2c55644e3bf8f6d05a3954a8ede6
2021-09-28 12:27:26 +00:00
TreeHugger Robot c757961fa0 Merge "Reset split selection state on animation end instead of success" into sc-v2-dev am: 9c871ae7b6 am: 3161498140
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15926077

Change-Id: Ia918d87abf220854a096b39503f24523caa4e294
2021-09-28 04:13:26 +00:00
TreeHugger Robot 3161498140 Merge "Reset split selection state on animation end instead of success" into sc-v2-dev am: 9c871ae7b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15926077

Change-Id: Ib06cf5c8a7a7f3347d12fa480c7f9de5921323fd
2021-09-28 03:58:29 +00:00
TreeHugger Robot 9c871ae7b6 Merge "Reset split selection state on animation end instead of success" into sc-v2-dev 2021-09-28 03:43:09 +00:00
Bill Yi 22af63e81e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I207986576a30bbba439cd63bd06c8dd98c7921b5
2021-09-28 02:34:47 +00:00
Bill Yi a169335627 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idcfc99111d364805832038bcf4726cf41c6ceaf4
2021-09-28 02:33:18 +00:00
Bill Yi a0c54b6745 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3484a02c57703953c91cbe02c787b7f633e319fc
2021-09-28 02:32:40 +00:00
Bill Yi 9663b94a13 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 46a7262d30 2p: 50934cae3e
Blank merge reason: parent was merged -s ours

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

Change-Id: Ide2b47ada819d1b4b6274eb0cc51b7e267a88473
2021-09-28 02:32:18 +00:00
Bill Yi 50934cae3e [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 46a7262d30
Blank merge reason: commit message contains skip directive

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

Change-Id: I7900dc87ee85b919af62329bcb7fd19eeb26749b
2021-09-28 02:32:13 +00:00
Bill Yi 96d5ff6368 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 46a7262d30
Blank merge reason: commit message contains skip directive

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

Change-Id: I559b9b1ddc3f41e4f4232d049c03353f60dce0ce
2021-09-28 02:32:13 +00:00
Bill Yi 495ec1daba [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 46a7262d30
Blank merge reason: commit message contains skip directive

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

Change-Id: I4a712c0754e46b406cc23f6b31919c343e599121
2021-09-28 02:32:12 +00:00
Bill Yi 46a7262d30 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I87c5b7c67e41d1db02ae5d08b50c7087ec1dfb3c
2021-09-28 02:32:00 +00:00
Vinit Nayak ef25271b2a Merge "Unbind service only if it was bound" into sc-v2-dev am: df7a526931 am: 04fcb16bb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925082

Change-Id: I4f0daf6e747a9672c3946d85d2d2129315c33ac6
2021-09-28 00:24:26 +00:00
Vinit Nayak 04fcb16bb8 Merge "Unbind service only if it was bound" into sc-v2-dev am: df7a526931
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925082

Change-Id: I4470906f2cafbaa680baee8dff7fe9aacc9399e7
2021-09-28 00:12:38 +00:00
Vinit Nayak df7a526931 Merge "Unbind service only if it was bound" into sc-v2-dev 2021-09-27 23:56:21 +00:00
Vinit Nayak 29e900b907 Reset split selection state on animation end instead of success
When overview button tapped in while in overview,
the animation to undo split gets cancelled
(probably because Launcher gets destroyed before the animation
can fully run successfully)

Fixes: 201011797
Test: Same steps in bug don't cause placeholder view
to be shown

Change-Id: I2ea1eac637d6f2a3185d50d01601d3588ec9f535
2021-09-27 16:14:58 -07:00
Android Build Coastguard Worker 5f810f4cb8 Snap for 7771957 from c77e3fde09 to sc-v2-release
Change-Id: I726b4c08b96e9bbeef64f5027ce97c6d50344fe0
2021-09-27 23:08:08 +00:00
Vinit Nayak a26e4f8e43 Unbind service only if it was bound
Removed unused SplitPlaceholderView

Fixes: 200004580
Change-Id: I54ee819260ad6e4e6da2d3efafd38bad0336486e
2021-09-27 14:56:45 -07:00
TreeHugger Robot 0abaf45250 Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09 am: 93318f746f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I1cb8c49ab25dde0deb6417cac5ab582b9ba0d354
2021-09-27 20:47:26 +00:00
TreeHugger Robot 93318f746f Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I410e69625206328aa72765cea55d05c990d998ae
2021-09-27 20:32:37 +00:00
TreeHugger Robot c77e3fde09 Merge "Moving activity tracker to Launcher process" into sc-v2-dev 2021-09-27 20:10:02 +00:00
Schneider Victor-tulias ab60c1fc6e Update gesture navigation tutorial for foldable devices.
- Updated mock conversation layout to work on large devices.
- Added AnimatedTaskView helper view to animate previous task view.
- Added animation from single previous app to two peaking previous apps.
- Updated app orientation to work with larger screens (forced protrait was causing letterboxing).

Test: manual, tested tutorial on non-foldable device, foldable device (closed, opened in landscape, opened in portait and switching between the three)
Bug: 198434693
Bug: 187701213
Known issue: 200579260

Change-Id: I98cb269f7d25985989cf66e791bf535228ab5293
2021-09-27 19:55:53 +00:00
Brian Isganitis bea022197c Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev am: 03be53443d am: 55626aedb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897839

Change-Id: Ic51602d41a025986dfdf5b502609d5d23bd31bea
2021-09-27 19:06:42 +00:00
Zak Cohen b48b84634f Remove Content Push prototype.
Bug: 201314561
Test: Build and run
Change-Id: I64f5ab40b349d68a50b0f49361f019456667b933
2021-09-27 11:57:50 -07:00
Brian Isganitis 55626aedb4 Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev am: 03be53443d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897839

Change-Id: I21635764787023c6fc7340c7e12f60a939b1dc5d
2021-09-27 18:45:31 +00:00
Brian Isganitis 03be53443d Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev 2021-09-27 18:31:26 +00:00
TreeHugger Robot 2c93d473dd Merge "Remove screen actions plugin" into sc-v2-dev am: fd583efb71 am: 19fcff9657
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15475128

Change-Id: I4d196c9caafc48ed7f504673c89d84b053460937
2021-09-27 18:18:17 +00:00
TreeHugger Robot 19fcff9657 Merge "Remove screen actions plugin" into sc-v2-dev am: fd583efb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15475128

Change-Id: I64ef858331653aaea2804b9fdc69c3c9400eb7c5
2021-09-27 18:04:25 +00:00
TreeHugger Robot fd583efb71 Merge "Remove screen actions plugin" into sc-v2-dev 2021-09-27 17:52:28 +00:00
vadimt 5ade8e890d Moving activity tracker to Launcher process
This will improve diagnostics for OOP tests,
like we now have a list of leaked activity classes.

Also some cleanups.

Bug: 187761685
Test: local runs
Change-Id: I8b5711ac727874fd826cfef9c742ea97048763e0
2021-09-27 17:36:14 +00:00
TreeHugger Robot 8bdf39445b Merge "Overview - leave modal state on orientation changes." 2021-09-27 16:58:09 +00:00
TreeHugger Robot 9ffe1a7b01 Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev am: ac81e8a92a am: 4bdc026863
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897184

Change-Id: I40647fc8c45f10de132c6e2599dfbcab65d7908e
2021-09-27 16:38:13 +00:00
TreeHugger Robot 4bdc026863 Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev am: ac81e8a92a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897184

Change-Id: I84c24d06cec3001ecc93dd1d904010b473801da2
2021-09-27 16:11:20 +00:00
TreeHugger Robot ac81e8a92a Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev 2021-09-27 15:52:33 +00:00
Steven Ng 6d8deb32f6 Fix getWidgetItemSizePx estimation
The size returned by getWidgetItemSizePx is used by the widget picker
for the NavigableAppWidgetHostView. We should NOT deduct the padding
applied to NavigableAppWidgetHostView to this size.

If a launcher grid insets NavigableAppWidgetHostView, then we must
add the inset to the NavigableAppWidgetHostView width / height.

Test: Compare the size of widgets in preview and home screen using
      layout inspector. See screenshots in the bug
Fix: 200983939
Change-Id: I35022861b65f2624f69940cf3856d9c47f8dbbd9
2021-09-27 15:01:04 +01:00
Android Build Coastguard Worker a88f50aba1 Snap for 7767938 from d58e7b6fc4 to sc-v2-release
Change-Id: I4b62f45e7224f7aafe25ac3f84b5e1b74f21957c
2021-09-25 21:10:52 +00:00
TreeHugger Robot bd7cead303 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4 am: 3a684ac265
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Iedec7b38faa175c0ca655fd5ef1d7e32aee3f2ed
2021-09-25 04:33:00 +00:00
TreeHugger Robot 3a684ac265 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Idf1e7806ce0dfd81cfd1986b75fdaa587eb67d55
2021-09-25 04:19:27 +00:00
TreeHugger Robot d58e7b6fc4 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev 2021-09-25 04:06:48 +00:00
Jonathan Miranda 535b128fdf Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev am: 2eb7511781 am: 508814d8f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910515

Change-Id: I94e130af99a41f856399f14f0a761bba1599f433
2021-09-25 02:27:22 +00:00
Jonathan Miranda 8fc7aae956 Merge "Update notification dot colors." into sc-v2-dev am: 1fc7507a29 am: 8bef782317
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15898789

Change-Id: I81659c152e3680c8277673e3e8913eae6ed27035
2021-09-25 02:27:03 +00:00
Jonathan Miranda 508814d8f3 Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev am: 2eb7511781
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910515

Change-Id: Ifba94b72bd0dfe9f57a230f1bdcae7d45f26c526
2021-09-25 02:17:30 +00:00
Jonathan Miranda 8bef782317 Merge "Update notification dot colors." into sc-v2-dev am: 1fc7507a29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15898789

Change-Id: I13a2f85b9f4a2a10db3e91e9165260862c46427d
2021-09-25 02:17:11 +00:00
Jonathan Miranda 2eb7511781 Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev 2021-09-25 02:04:48 +00:00
Jonathan Miranda 1fc7507a29 Merge "Update notification dot colors." into sc-v2-dev 2021-09-25 02:03:06 +00:00
Android Build Coastguard Worker cff1423885 Snap for 7766737 from 9a0d98f483 to sc-v2-release
Change-Id: I8f927fef5f602038834326dbd9279a084bd21c4d
2021-09-25 01:08:02 +00:00
Brian Isganitis a85ae69c72 Refactor arrow popups to allow easier code overriding and sharing.
Test: Existing menus work as intended.
Bug: 188222480
Change-Id: I7d19b06ce8bb7d765624c64c0042c4efd6faf348
2021-09-24 20:32:14 -04:00