Commit Graph

21446 Commits

Author SHA1 Message Date
Sunny Goyal 85cb1b65c2 Fixing widgets enabled ag/9375162
Change-Id: I2e7e731dacf3c617fc2abe4c5289519856d0c2a3
2020-01-07 20:32:40 -08:00
Samuel Fufa aed008de90 Hybrid hotseat user edu
Starts by showing a notification, which will open a dialog
with options for users to keep their hotseat layout or fully
migrate to hybrid hotseat

Bug:142753423
Test:Manual
Change-Id: I178de612837ec8551f6776fa7c6fb6111bc7431d
2020-01-07 12:02:26 -08:00
Samuel Fufa f43a5d32bf Merge "Add dismiss option for hotseat items" into ub-launcher3-master 2020-01-07 18:22:11 +00:00
TreeHugger Robot 1db3be37e4 Merge "Removing tracing for a fixed flake" into ub-launcher3-master 2020-01-07 17:11:59 +00:00
TreeHugger Robot 2f4eff3fd6 Merge "Keep folder notification dot on rotation" into ub-launcher3-master 2020-01-07 17:11:56 +00:00
TreeHugger Robot defb0562c4 Merge "Tips Gesture Navigation Tutorial [Part 2]" into ub-launcher3-master 2020-01-07 17:04:57 +00:00
vadimt 675c877765 Removing tracing for a fixed flake
Presumably, the flake was fixed when I added waiting for model load
before the test body starts.

Bug: 138729456
Change-Id: Ie921ebd40e42a7d73884c19949ca5f0129afc96e
2020-01-06 18:35:37 -08:00
Tony Wickham a538d2b97a Keep folder notification dot on rotation
FolderIcon#mDotInfo is stored per instance, but not kept up to date
when re-binding on rotation.

Bug: 144369875
Change-Id: Ia429e4b4039eb02fb4587f54e33a0717408e4ac2
2020-01-06 18:08:05 -08:00
Samuel Fufa a18eb686d0 Add dismiss option for hotseat items
Bug: 145556909
Test:Manual
Change-Id: Ia40d22226b5cf9482f19f82ef08e399d294be6da
2020-01-06 16:40:24 -08:00
Pinyao Ting 72f9375ada Tips Gesture Navigation Tutorial [Part 2]
include actual implementation of gesture tutorial.

Bug: 146173041
Test: adb shell am start -a \
"com.android.quickstep.action.BACK_GESTURE_TUTORIAL"
Change-Id: Ic166f0a10d8efc22d9684f089142de164ca24c90
2020-01-06 16:33:55 -08:00
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
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
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
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
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
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
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
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
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
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
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
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
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