Commit Graph
78507 Commits
Author SHA1 Message Date
Jon Spivack 77edb686d7 Send NIU Actions Intents to default Assistant
This changes the recipient for NIU Actions from a package hard-coded in a config file to the currently selected default Assistant. The user can change this under Settings -> Default apps.

ImageActionUtils has also been updated to handle the case where its
Intents cannot be resolved, preventing a crash if the user sets the
default Assistant to something that cannot receive NIU Actions.

Bug: 186655099
Test: Manual (Pixel 3A, set default Assistant to Google Go and None)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I03b93597092575902d507615f32b63f4050c4c69
2021-06-11 13:58:57 -07:00
vadimt 6c2e3b3031 Removing UB flavor of TAPL library
Test: presubmit
Bug: 187761685
Change-Id: Ide5060886f1b9856c1046bc2028f55418e8c1e0e
2021-06-11 13:34:57 -07:00
Brian Isganitis 2b81fec450 Add flag for widgets in Launcher preview
Test: Flag available in developer options (does nothing)
Bug: 185306338
Change-Id: I74063d0ef29f828f740633ce0dab860672f69d3d
2021-06-11 16:04:54 -04:00
Brian Isganitis 93031bc2ae Revert "Revert "Update preferences to Material Next styling""
There should be enough free space to merge this change into S V2.

This reverts commit 19d623d921.

Test: Settings root, all apps, and about have new style on S
Bug: 187732263
Fix: 188254205, 188012913
Change-Id: I346bbf819f3fe1eb13b47125b53c15baab11e439
2021-06-11 16:04:35 -04:00
Steven Ng 77a1393c44 Fix CellLayout cast exception when drag is canceled
Test: Long press a widget and then release when the resize frame is
      shown. Then, click the content of the widget to launch the
      widget's activity. Go back to home screen and then immediately
      long press the same widget again. No crash was observed.
Bug: 189814379
Change-Id: I4232ecf9d9d9efaba817b7777314f0814bb7ef21
2021-06-11 20:18:21 +01:00
Schneider Victor-tulias 7fec8fc10c Polish the gesture navigation tutorial sandbox
- Updated in-memory tutorial steps to a array so we can better track the tutorial progress after changing the theme.
- Added a 1.5 second delay for the gesture video when the user first starts a step, and when the app resumes.
- Updated the tutorial step indicator color: previous color was invisible against the background.

Bug: 188972959
Test: manual
Change-Id: Ia1a67f7cd9e7ed9802dbc0d88d1e3b432acfa127
2021-06-11 12:16:28 -07:00
Jonathan Miranda 10b3d2954b Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: cdc4789db8 am: cc51e3aaa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I781ae552c90682bf37c3e8adf6d1d49b732f259d
2021-06-11 18:03:24 +00:00
Jonathan Miranda 65c0324c23 Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: a51ef571ad am: 9210b14c22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: If17c9d237eae4fb4825c909e29c99ab3cbf5994f
2021-06-11 18:03:13 +00:00
Jonathan Miranda cc51e3aaa9 Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: cdc4789db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I1e32348d8790d24bcbbbbb8109eed5e105b3ee04
2021-06-11 17:44:45 +00:00
Jonathan Miranda 9210b14c22 Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: a51ef571ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I5e462f782416356c6eedbc8341ef6c89c44f45ff
2021-06-11 17:44:25 +00:00
Jonathan Miranda 670348b9fa Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: 8b14b2da8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: Ief9fa2a56db25bfcb0870b3db7004c0fc114a33c
2021-06-11 17:43:58 +00:00
Jonathan Miranda a51ef571ad Merge "Adding color back to popup container." into sc-dev am: d88f572864
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: If0211bbefae257d97e7b652acff0b569bf088b4d
2021-06-11 17:30:04 +00:00
Jonathan Miranda 8b14b2da8a Merge "Adding color back to popup container." into sc-dev am: d88f572864
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I04cf5e44f34ef354959ccc9fe7aaac5f09bb2f45
2021-06-11 17:29:26 +00:00
Jonathan Miranda cdc4789db8 Merge "Adding color back to popup container." into sc-dev am: d88f572864
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I449e101bc4fca3f9f8672d6b889406dac25b6c42
2021-06-11 17:29:23 +00:00
Hyunyoung Song 57ca7e53a9 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8 am: 877e193ed0 am: ba4109ae75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: Ic08144eb5ff41fba7828e2dce02062132376b42d
2021-06-11 17:20:50 +00:00
Hyunyoung Song 5c9619831d Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8 am: 40344e2d7b am: f01dd5128b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I75750c2251835e131f4277066d072b68136f2d00
2021-06-11 17:20:12 +00:00
Jonathan Miranda d88f572864 Merge "Adding color back to popup container." into sc-dev 2021-06-11 17:16:27 +00:00
Hyunyoung Song ba4109ae75 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8 am: 877e193ed0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I3ffcf993bc1c181495787ab585ce0b543151eb9a
2021-06-11 17:15:25 +00:00
Hyunyoung Song f01dd5128b Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8 am: 40344e2d7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I77ce13b8fa5687b83056b4583b9fdb36aa6b37ca
2021-06-11 17:07:57 +00:00
Hyunyoung Song c3fa7c35e7 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8 am: 12084a47a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: Iac315f1b49a9c3e609b4d6d481c91aa32777c80c
2021-06-11 17:07:21 +00:00
Hyunyoung Song 877e193ed0 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I5bec96c3038121247bed12a6f8bdf8f32ca46e2e
2021-06-11 16:59:39 +00:00
Hyunyoung Song 12084a47a8 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I7eec995ead1d7714f0b5dbf223c589f01c664c03
2021-06-11 16:58:53 +00:00
Hyunyoung Song 40344e2d7b Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I0bb0d1bd2994e562a8d07da030306b3b63a4791b
2021-06-11 16:58:36 +00:00
Hyunyoung Song 6e673c7ed8 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev 2021-06-11 16:45:23 +00:00
Hyunyoung Song 7cc29dc44d Fix RecyclerViewFastScroller bugs, hide keyboard
Bug: 189982238
Bug: 187561242
Bug: 187909098

Test: manual
Change-Id: I693810e5761004c48d028253c25a2fe96477af40
2021-06-11 09:43:10 -07:00
Stevie Kideckel 2dab912b95 Use LayoutManager.onLayoutCompleted as a signal that content has changed
onChildAttachedToWindow is called before the layout manager is finished
processing the layout, so incorrect measurements / intermediate
animation states can be present.

onLayoutCompleted occurs after each full layout calculation, including
measuring multiple views or animating, and is a better signal to use.

Fix: 190391539
Test: verified locally with search use case and other expand collapse
cases

Change-Id: If01caf33c6c3371636895e1361d80de536363239
2021-06-11 16:40:49 +00:00
Anton Hansson 6dda209af4 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: d7b9bf8995 am: 1823c61ec8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I792459ad5b25703dd480caa0db488705c1d71027
2021-06-11 15:34:23 +00:00
Anton Hansson ff369c1f5c Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 8b780d8517 am: 9d76378464
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: Ib566f7899c046d19ad6cac9e58e88e0c0535cfd0
2021-06-11 15:34:13 +00:00
Anton Hansson 1823c61ec8 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: d7b9bf8995
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: Ieccd3a52addc4ddf6e86cc898a3467010ee368a7
2021-06-11 15:25:12 +00:00
Anton Hansson 9d76378464 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 8b780d8517
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: Id8c453621a6a4ae3d6e49ec86b53e2764adf7382
2021-06-11 15:24:49 +00:00
Anton Hansson ac68fe0f3f Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 6ad1a8d1d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I1fa905ca481e450e1fb0017de9e781c52adc2c98
2021-06-11 15:24:23 +00:00
Anton Hansson 8b780d8517 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I47bd374d48ee1cdbdc69b4cb3504296c7d475396
2021-06-11 15:13:08 +00:00
Anton Hansson 6ad1a8d1d2 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I77f6ce3a2108f4e1547e11d85b16d15483f175e4
2021-06-11 15:12:20 +00:00
Anton Hansson d7b9bf8995 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I75e6989b9cf1d82eb3d5df9a32f9047f63387314
2021-06-11 15:12:19 +00:00
Anton Hansson 17ef90b2cb Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev 2021-06-11 15:02:25 +00:00
Anton Hansson fc235903ab Revert "[AllApps][Work] Introduce work toggle Fab"
This reverts commit 08cca82eca.

Reason for revert: broke errorprone build
Bug: 190150515

Change-Id: I1d8707392310e745713b8780bdb957299b88a3a6
2021-06-11 14:05:07 +00:00
android-build-team Robot 212616fba8 Snap for 7445904 from 7c9e8c2ed7 to tm-release
Change-Id: I47c719d22fa4beb54f6ddddb2a210864fef17ca6
2021-06-11 03:07:44 +00:00
android-build-team Robot c7fbb428b5 Snap for 7447849 from 6247cf8a68 to sc-v2-release
Change-Id: I1960fa6fddb6ec733398a501e07bae58d3bbce7c
2021-06-11 01:21:50 +00:00
android-build-team Robot eabc4ea4c5 Snap for 7447836 from 65c20f4a91 to sc-release
Change-Id: I218f980cd0bbf7c2d727260498a32c6ee5b4f38a
2021-06-11 01:08:40 +00:00
Hongwei Wang cb5c35e5d1 Calculate the position from start bounds for auto-enter PiP
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eUpkH2il1vYBVBPt1Vks2u
Bug: 190748719
Test: manual, see video
Change-Id: I053bd5607200ad6341d04c9bcfec5222f101cf65
2021-06-10 17:59:00 -07:00
Jonathan Miranda 96a22670c5 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: b0cb17aa95 am: d00ab6057f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I0d8c3fe0218286d3c6528da8a5074c6445c5629f
2021-06-10 23:49:04 +00:00
Jonathan Miranda 43c9212fcb Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 6247cf8a68 am: 06fc7bc1f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: Ibff1db24cd4e9199b5e8a449302ecf1eb8a14757
2021-06-10 23:48:56 +00:00
Jonathan Miranda d00ab6057f Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: b0cb17aa95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I80ca9f11a82203b878daad00ae6c89fe494579b1
2021-06-10 23:37:54 +00:00
Jonathan Miranda 06fc7bc1f7 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 6247cf8a68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I39ee96a082aa6679b0d84cc06f7379ec0ddb94d8
2021-06-10 23:37:33 +00:00
Jonathan Miranda 80accb6b07 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 685a32f666
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I86f0b4110e9886ff9370fa2a965e7efc97f98617
2021-06-10 23:37:08 +00:00
Jonathan Miranda 6247cf8a68 Merge "Folder preview polish." into sc-dev am: 65c20f4a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I7f9abd7f390c7bec329b8600faa051d162e68d1d
2021-06-10 23:24:35 +00:00
Jonathan Miranda 685a32f666 Merge "Folder preview polish." into sc-dev am: 65c20f4a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: If4a5430bf410f69d34c92279636cd19d430899a1
2021-06-10 23:23:52 +00:00
Jonathan Miranda b0cb17aa95 Merge "Folder preview polish." into sc-dev am: 65c20f4a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I517db45b1857b52c61b13468877a528ed3ba8e55
2021-06-10 23:23:51 +00:00
Jonathan Miranda 65c20f4a91 Merge "Folder preview polish." into sc-dev 2021-06-10 23:11:06 +00:00
Evan Rosky 8a672e15cc Finish wrapped launcher animations if impl is gone
If the runner impl is gone (since it is a weakreference), we
still need to complete the animation contract by calling the
finish callback, so do that.

Bug: 183993924
Test: atest ActivityMetricsLoggerTests
Change-Id: Idce1859f0417cb74bbb9884e0d06750539e4545e
2021-06-10 14:54:12 -07:00