Commit Graph

34630 Commits

Author SHA1 Message Date
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
Automerger Merge Worker 6ec8f79767 [automerger skipped] Merging from ub-launcher3-qt-future-dev @ build 6073465 am: af431d130c am: 77d3127f5c -s ours
am skip reason: Change-Id Iefe48be1562428d98ebf08c5f68a01856dbefad2 with SHA-1 54334661e4 is in history

Change-Id: Ia985d0cf4e1def66c21056968d2926479e6f07fc
2019-12-17 05:38:46 +00:00
Hyunyoung Song b9ba427576 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
2019-12-17 05:25:35 +00:00
Automerger Merge Worker 77d3127f5c Merging from ub-launcher3-qt-future-dev @ build 6073465 am: af431d130c
Change-Id: Ia3bf6db2e067282d7d0d307cf09fe5eed05a9e85
2019-12-17 05:24:50 +00:00
android-build-team Robot cc5258b17a Snap for 6077728 from 330067e26c to rvc-release
Change-Id: I009e5b43e600822a25a05dd03ca367e2c803548b
2019-12-17 04:18:41 +00:00
vadimt baf5fbbe58 TAPL: logging incoming intents
Even though ActivityTaskManager already logs intents, logging this will
simplify flake/error investigations that are considered to be too
time-consuming.

Also, this will make it possible in future to programmatically detect
whether the bug is introduced by the system or Launcher.

Bug: 133010698
Change-Id: I7dcadd95baa23f29bb661d6b42280bd2a2f0e099
2019-12-16 18:56:09 -08:00
TreeHugger Robot 158a0b9059 Merge "Defer resetting the animation controller and targets on cancel" into ub-launcher3-master 2019-12-17 01:15:33 +00:00
Tony Wickham b31467f3ec Use same content description for Recent apps
There were two descriptions before, one saying Overview and the
other saying Recent apps. Now we always use Recent apps.

Bug: 145181858
Change-Id: I0d33fdccb30ad3eb56ebfb3d533ea01c2e7866c1
2019-12-16 16:49:19 -08:00
TreeHugger Robot c16667032a Merge "Logging state change events when in test to simplify diagnosing" into ub-launcher3-master 2019-12-16 23:40:40 +00:00
TreeHugger Robot 45657afdde Merge "Adding diagnostics for failing click-to-home" into ub-launcher3-master 2019-12-16 22:49:21 +00:00
TreeHugger Robot c9a907bec1 Merge "Removing temporary workarounds to make tests pass on Cuttlefish" into ub-launcher3-master 2019-12-16 22:37:09 +00:00
TreeHugger Robot 0f58b63445 Merge "Diagnosing visible windows' packages for Background mode" into ub-launcher3-master 2019-12-16 22:36:48 +00:00
TreeHugger Robot 7d8901689c Merge "Improving navigation mode switch rule and around" into ub-launcher3-master 2019-12-16 22:36:42 +00:00
Winson Chung af431d130c Merging from ub-launcher3-qt-future-dev @ build 6073465
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-qt-future-dev_6073465.html

Change-Id: Id227106ea68a7f1a5594c4f19319ba7a24c8067a
Merged-In: Iefe48be1562428d98ebf08c5f68a01856dbefad2
2019-12-16 22:32:24 +00:00
vadimt 44e697b0a3 Adding diagnostics for failing click-to-home
Bug: 133010698
Change-Id: Id887543f65812bb5607043a1cfcb2e95cf97ccb5
2019-12-16 13:38:27 -08:00
TreeHugger Robot bdfa251d67 Merge "Add boolean to differentiate icons from workprofile" into ub-launcher3-master 2019-12-16 20:31:33 +00:00
Winson Chung 330067e26c Merge "Merging from ub-launcher3-master @ build 6075050" 2019-12-16 19:09:19 +00:00
Winson Chung 54334661e4 Merging from ub-launcher3-master @ build 6075050
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6075050.html

Change-Id: Iefe48be1562428d98ebf08c5f68a01856dbefad2
2019-12-15 21:57:02 -08:00
TreeHugger Robot 03b14a6d44 Merge "Generating state-changed-to-home event for Widgets->Home transition" into ub-launcher3-master 2019-12-14 03:21:09 +00:00
vadimt bd28a8ec0c Not using SIDELOADED_LAUNCHER name
It may imply something malicious, while we simply mean a third-party
launcher.

Bug: 79437767
Change-Id: I2e169fda9404ca7a042e40877ed6f4b7d2d723a1
2019-12-13 17:22:48 -08:00
Tony Wickham 899557c048 Add null check before updating NotificationItemView
It's possible that the notifications were removed between the popup opening
and updating its UI. In that case, mNotificationItemView will be null.

Bug: 146152941
Change-Id: I60b44ea6d766720613cf2f25481fa3fc17cab6af
2019-12-13 15:23:21 -08:00
Vadim Tryshev f4b5bcac43 Merge "Starting swipe-to-all-apps outside of areas triggering long-press" into ub-launcher3-master 2019-12-13 18:50:22 +00:00