Commit Graph

33301 Commits

Author SHA1 Message Date
TreeHugger Robot 2f3d0566c9 Merge "log number of items deleted even when no item was deleted at all" into ub-launcher3-master 2020-01-07 00:01:32 +00:00
TreeHugger Robot 108cc51e03 Merge "include integration test for open settings menu from workspace" into ub-launcher3-master 2020-01-06 23:22:45 +00:00
Pinyao Ting fb9b779e9d log number of items deleted even when no item was deleted at all
Bug: 137678815
Change-Id: I1cf23921f863a17433ba803158e489b54c1aa35d
2020-01-06 14:10:35 -08:00
Jon Miranda c0f0694164 Merging from ub-launcher3-master @ build 6111698
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6111698.html

Change-Id: I599b5e78b721711694a3e96f6527f78368b3033a
2020-01-06 13:39:55 -08:00
Sunny Goyal 0fd48b51ba Merge "Updating Robolectric tests" into ub-launcher3-master 2020-01-06 20:12:16 +00:00
TreeHugger Robot 59104388eb Merge "Temporary workaround for long failure messages when running from AS" into ub-launcher3-master 2020-01-06 20:10:40 +00:00
TreeHugger Robot 4dd5bc770b Merge "include error log to determine root cause of sql statement failure when restoring work profile" into ub-launcher3-master 2020-01-06 20:02:02 +00:00
Pinyao Ting 3c79804f28 include error log to determine root cause of sql statement failure when
restoring work profile

Bug: 147114476
Change-Id: I25e57413faa569a30e27a0cde1fc47233ff8b603
2020-01-06 11:21:41 -08:00
Sunny Goyal 9ae9b60043 Updating Robolectric tests
> Adding multi-thread support
> Simulating actual loader loading flow
> Moving some android tests to robolectic

Change-Id: Ie17a448f20e8a4b1f18ecc33d22054bbf9e18729
2020-01-06 11:05:42 -08:00
android-build-team Robot 4f5f6d780c Snap for 6110375 from e8a4a2a031 to rvc-release
Change-Id: I8d0a6cb84a3ee22ec5264dddc986039a256856cf
2020-01-04 04:17:57 +00:00
Automerger Merge Worker e8a4a2a031 [automerger skipped] DO NOT MERGE - Merge QQ1A.200105.003 into stage-aosp-master am: af619d9525 am: 6c448695bc -s ours
am skip reason: subject contains skip directive

Change-Id: I1a0eb39ca0e1244e4567c374eb7a7b49b7b4e0ea
2020-01-03 18:20:40 +00:00
Automerger Merge Worker 6c448695bc DO NOT MERGE - Merge QQ1A.200105.003 into stage-aosp-master am: af619d9525
Change-Id: If4ed8c5980bf0c09b8419d86b6fbdc98c54c483f
2020-01-03 18:06:48 +00:00
Pinyao Ting 993aef828a Tips Gesture Navigation Tutorial [Part 1]
import various resources from tips gesture tutorial

Bug: 146173041
Test: build and verify it passes
Change-Id: Iacea7ba1f2d15452e7442f2976633da7012fab35
2020-01-02 16:17:52 -08:00
Xin Li af619d9525 DO NOT MERGE - Merge QQ1A.200105.003 into stage-aosp-master
Change-Id: I7278b13761134cef89953ad0fe5d19d3131af674
2020-01-02 13:29:53 -08:00
TreeHugger Robot f10903e601 Merge "Removing static reference of deep shortcut manager" into ub-launcher3-master 2020-01-02 20:54:05 +00:00
TreeHugger Robot 1ff53859a1 Merge "Move the cursor to the end after accepting gboard selection Bug: 146909183" into ub-launcher3-master 2020-01-02 20:19:56 +00:00
Sunny Goyal fa39536570 Removing static reference of deep shortcut manager
Bug: 141376165
Change-Id: Ie60b82be63a8926825598c681d8b2a1b2ace6413
2020-01-02 20:13:12 +00:00
Samuel Fufa 2c96dbc46c Enable Dragging on predicted hybrid hotseat items
Bug: 142753423
Test: Manual
Change-Id: I2d54f82129d30bd289d05039e009a10543d55f34
2019-12-28 13:48:43 -08:00
Hyunyoung Song 9153ff7eed Move the cursor to the end after accepting gboard selection
Bug: 146909183

Change-Id: Ic7868d6d98f0b5a1798178cbaf512be1d347a962
2019-12-27 06:16:26 -08:00
android-build-team Robot c0d10d1c69 Snap for 6099757 from a0c76ea65e to rvc-release
Change-Id: Ie0cd4d651c4670b6200b7a8da0c519b65277defd
2019-12-27 04:19:39 +00:00
Dan Willemsen 26b0938f09 Fix Launcher3Tests SDK version
In a879f9c481, the ub-launcher-aosp-tapl
was switched from current to system_current. Since Launcher3Tests links
against this library, we require it to use the system stubs as well.

But I broke the check in the build system while doing some cleanup, so
we never noticed. I'm fixing the check in:
https://android-review.googlesource.com/c/platform/build/+/1156840

Bug: 143748700
Test: treehugger
Change-Id: Ifcf47b19f7ed8f907e437325b4fd6a599fcca4cf
(cherry picked from commit 981ec8b789)
2019-12-26 22:18:32 +00:00
Tracy Zhou a0c76ea65e Merge "Merging from ub-launcher3-master @ build 6094789" 2019-12-26 21:36:57 +00:00
TreeHugger Robot 910b378d81 Merge "Fix Launcher3Tests SDK version" 2019-12-26 21:18:35 +00:00
James O'Leary 027cb32a96 Merge "Compose overscroll gesture updates" into ub-launcher3-master 2019-12-26 17:27:24 +00:00
Automerger Merge Worker cb058bfccc Increase drag distance threshold when drag starts from deep press am: 848696ac1d
Change-Id: Id6d7385cf2942cdbf76e5cbab5059e0d9b91baba
2019-12-24 23:10:27 +00:00
Tony Wickham 848696ac1d Increase drag distance threshold when drag starts from deep press
Also don't update distance dragged until drag actually starts
(otherwise we add a lot of motion before deep press triggers).

Bug: 146146413
Change-Id: I28bd23707a9be53c709d7a4e779e84b9a0be9ce2
(cherry picked from commit a7704c09c7)
2019-12-24 19:00:32 +00:00
Tony Wickham 74b492cc37 Merge "Increase drag distance threshold when drag starts from deep press" into ub-launcher3-master 2019-12-23 23:00:21 +00:00
Tony Wickham a7704c09c7 Increase drag distance threshold when drag starts from deep press
Also don't update distance dragged until drag actually starts
(otherwise we add a lot of motion before deep press triggers).

Bug: 146146413
Change-Id: I28bd23707a9be53c709d7a4e779e84b9a0be9ce2
2019-12-23 13:28:58 -08:00
Tracy Zhou b8e78bf4e6 Merging from ub-launcher3-master @ build 6094789
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6094789.html

Change-Id: Iebd789eadfae2930807cc28373c2e1765f70e481
2019-12-23 12:24:35 -08:00
James O'Leary a9156a05c4 Compose overscroll gesture updates
Two changes for the latest Compose prototype:
1. Pass the identity of the underlying app to the Overscroll plugin.
2. Enable the Compose gesture over an app when there's a Recents extra
card plugin active (otherwise the current app won't count as the
rightmost one).

Some changes to the gesture:
- Angle decreased from 35° to 25° to remove overlap with
Assistant gesture
- Distance increased from 8 to 110 dp. 110 dp is 2x the Assistant
gesture and roughly the same as scrubbing into an app from Home.
- Fling detection added; uses same distance threshold, 110 dp.
- If a touch was recognized as another gesture, the touch will not be
reinterpreted as a Compose gesture, no matter what touch movement occurs
- Fixes issue where Assistant + Compose could both be triggered
- Fixes issue where scrubbing apps to the left, then back to the right,
would bring in Compose. i.e. if a touch down + touch movement starts
bringing in Assistant UI elements, then, the user moves their touch
below the Assistant angle, the Compose gesture will not start
being recognized
- Gesture length required for fling lowered from 110 dp to 40 dp, per
tuning with PM.

Bug: b/146508473
Change-Id: I414573d1a92684d1d992837a5f1df522346ec211
2019-12-23 10:59:30 -05:00
android-build-team Robot fcf49c248e Snap for 6091606 from 2442a351da to rvc-release
Change-Id: Icff7e60df8bb3c54eddcba3d9a1833a8a453b9fc
2019-12-21 04:05:12 +00:00
vadimt a8523300da Temporary workaround for long failure messages when running from AS
AS installs tests in such a way that they don't get necessary
permissions; the result is a long message starting with "Failed to get
system health diags" when a test fails.

While I'm looking for a good solution, removing this annoyance.

Change-Id: I9e439c3aefb9dd365c841c98d530b9346d7ccd10
2019-12-20 19:15:20 -08:00
TreeHugger Robot 800aaa0d32 Merge "Not using SIDELOADED_LAUNCHER name" into ub-launcher3-master 2019-12-21 01:45:50 +00:00
TreeHugger Robot 2f285996dd Merge "Collect app usage data for hybrid hotseat feedback" into ub-launcher3-master 2019-12-21 01:35:21 +00:00
Winson Chung 274ede682f Adding new tracing call from SysUI
Bug: 144854916
Test: This change is only to ensure the changes build
Change-Id: I62b247b45454861328b6062ed571c854a374aa34
2019-12-20 16:03:37 -08:00
Automerger Merge Worker 2442a351da Fix shortcut componentname in workspace layout logging am: b0738b0739 am: 132b38ab3f
Change-Id: I4b7152266c9252e06500e285ced14e90f4b04389
2019-12-21 00:02:35 +00:00
Automerger Merge Worker 132b38ab3f Fix shortcut componentname in workspace layout logging am: b0738b0739
Change-Id: I9baccb7ea95586fc46b5cbda19bf659254bf6da8
2019-12-20 23:49:42 +00:00
Pinyao Ting e94baee999 include integration test for open settings menu from workspace
Bug: 146432215
Change-Id: I2d42984dd77506385230744361ae74944cc9b3bd
2019-12-20 15:37:36 -08:00
Becky Qiu 28a287624f [Overview chips] Turn overview chips off.
Change-Id: Ic200fa5e570abae6c41a12eb22bb3b853d02d504
2019-12-20 13:31:09 -08:00
Zak Cohen 2011efe0bb Merge "Overview actions - Add controller for actions." into ub-launcher3-master 2019-12-20 01:21:30 +00:00
Zak Cohen 1e58d99531 Overview actions - Add controller for actions.
Add the actions to the task overlay to simplify code sharing.

Test: added unit tests for controller

Change-Id: Ie497a717b189903cc1834685f4b7d0cb926a7f52
2019-12-19 15:24:10 -08:00
Samuel Fufa 89d100197a Collect app usage data for hybrid hotseat feedback
Bug:145858435
Test:Manual
Change-Id: Ib9cbe0cb87a152a751e6253db42d58d2d0625c52
2019-12-19 15:08:23 -08:00
Hyunyoung Song b0738b0739 Fix shortcut componentname in workspace layout logging
Bug: 146172747
Test: $ adb shell dumpsys activity provider com.google.android.apps.nexuslauncher/com.android.launcher3.LauncherProvider --proto --debug
SHORTCUT, package=com.android.vending, component=VIEW_MY_DOWNLOADS, grid(3,4), span(1,1), pageIdx=0 user=0


Change-Id: Ic8537d499d66675fbe190f137b50fb693d6c21d5
(cherry picked from commit b9ba427576)
2019-12-18 22:34:55 +00:00
android-build-team Robot 8b2cc184e5 Snap for 6081300 from 6ec8f79767 to rvc-release
Change-Id: I7d4b645b52b8724f4f50e63af55a305d7bb59ebf
2019-12-18 04:19:16 +00:00
TreeHugger Robot c7d601e923 Merge "TAPL: logging incoming intents" into ub-launcher3-master 2019-12-18 02:58:28 +00:00
TreeHugger Robot 9ca5cc76a9 Merge "keep androidx fragment through proguard optimization" into ub-launcher3-master 2019-12-18 01:36:37 +00:00
Andy Wickham b8a56800e9 Fixes keyboard dismissal of current task.
Dismiss current task in Recents view by
pressing the Delete key.

Test: Manual
Change-Id: Ieff6c5e5153efdf1c2a491cdc6e91fb7e50879f8
2019-12-17 16:02:41 -08:00
Pinyao Ting 8b4ed23ef7 keep androidx fragment through proguard optimization
Bug: 146432215
Test: on android master, apply the proguard config, build and flash and
verifies crash no longer occurs

Change-Id: Ie967bcbd33bfbc1b8ec088c55829760145f7b597
2019-12-17 15:54:32 -08:00
Automerger Merge Worker 30f232de4c Fix shortcut componentname in workspace layout logging am: b9ba427576
Change-Id: I6ffef9cc9dabb32e1d6b1a16e7011d3c9b6b9c3b
2019-12-17 23:31:48 +00:00
vadimt 97d7b9024d Fixing typo
Change-Id: Ifba10c3d804f6c009b9ce40732c08ea17ee7b559
2019-12-17 14:58:10 -08:00