Commit Graph

34630 Commits

Author SHA1 Message Date
Samuel Fufa 449c1d6f50 Merge "Allow LongPress between homescreen icons" into ub-launcher3-qt-future-dev
am: 762aaaa817

Change-Id: I490a19089c46567da03fc9db669c0a424099d740
2019-09-24 16:33:46 -07:00
TreeHugger Robot ffa00614b4 Merge "Move offscreenTranslation calculation to LauncherRecentsView" into ub-launcher3-qt-future-dev 2019-09-24 23:25:46 +00:00
Samuel Fufa 762aaaa817 Merge "Allow LongPress between homescreen icons" into ub-launcher3-qt-future-dev 2019-09-24 23:24:10 +00:00
TreeHugger Robot 86634e19f0 Merge "Fixing some tests" into ub-launcher3-master 2019-09-24 22:28:37 +00:00
Sunny Goyal 599e95bdde Fixing some tests
> Adding retry to fallback recents tests
> Fixing provider test after provider name change
> Fixing AllApps icon detection when there is no more scroll available

Bug: 141390432
Bug: 141523101
Bug: 141517004
Bug: 141524555
Bug: 141522764
Change-Id: I425638d20c053206134835dabde819f16160f035
2019-09-24 15:10:06 -07:00
Pinyao Ting 30414c5699 Merge changes from topic "a11y-minus-one" into ub-launcher3-qt-future-dev
am: ff4977d42d

Change-Id: I5c565a2d67274240dcd06e41ad03564526d486ce
2019-09-24 14:58:53 -07:00
TreeHugger Robot ff4977d42d Merge changes from topic "a11y-minus-one" into ub-launcher3-qt-future-dev
* changes:
  fix test for a11y change in supporting -1 page
  Revert "Revert "support scroll backward to minus one screen via voice/switch access""
2019-09-24 21:37:01 +00:00
Tony Wickham 8a1ba838f4 Move offscreenTranslation calculation to LauncherRecentsView
Couple of benefits here:
- Doesn't rely on having a measured TaskView, since it already knows how
  to calculate the task size
- Code can be shared (planning to use this for quick switch from home)

Bug:
Change-Id: I517a78506ac95fcc37d9225a074427941d691903
2019-09-24 14:23:26 -07:00
Samuel Fufa 4a1d9b12c5 Allow LongPress between homescreen icons
approach: Ignore BubbleTextView touches in padding

Test: Manual
Bug:141265063
Change-Id: I579d414293e922e926410d0373f101f9dde9bce0
2019-09-24 14:10:03 -07:00
Jon Miranda a4deb15c30 Merge "Fixed a bug where restored promise icons stay promise icons." into ub-launcher3-qt-future-dev
am: 32a3421f1a

Change-Id: Ic8c429b151e4e679c7e38e0b33bc30f885dd4ba1
2019-09-24 13:25:16 -07:00
vadimt b222c2c5f4 [automerger skipped] Removing "Failed to get system health diags" message from fallback tests am: 9b1c168273
am: bba8c98de3 -s ours
am skip reason: change_id Ibba5f0471a83525a64544c62dbe82ab3e11712cd with SHA1 6096451dbf is in history

Change-Id: Iaedd50d46c61f817e26d455ffae74a8c755cdee1
2019-09-24 13:19:16 -07:00
TreeHugger Robot 32a3421f1a Merge "Fixed a bug where restored promise icons stay promise icons." into ub-launcher3-qt-future-dev 2019-09-24 20:15:51 +00:00
vadimt bba8c98de3 Removing "Failed to get system health diags" message from fallback tests
am: 9b1c168273

Change-Id: I4528370073f0258e5f0276dfb1d71dae9816ddea
2019-09-24 13:13:12 -07:00
Jon Miranda 3944746fb6 Fixed a bug where restored promise icons stay promise icons.
Test:
1 Turn off WiFi
2 Install app. (Promise icon gets added to home screen).
3 Backup launcher.
4 Restore launcher.
5 Turn on WiFi
6 Note promise icon gets updated with as installation progresses.

Will submit to future/master later.

Bug: 140212732
Change-Id: I63cedc6c16f5028297fb1a0852ffbd4473319ae9
(cherry picked from commit 0e1b17f8c4)
2019-09-24 19:40:30 +00:00
vadimt 9b1c168273 Removing "Failed to get system health diags" message from fallback tests
Now getting diags though the test process that has right permissions.

This doesn't fix other failures in fallback tests.

Bug: 141517004
Change-Id: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
Merged-in: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
2019-09-24 19:31:35 +00:00
vadimt 6096451dbf Removing "Failed to get system health diags" message from fallback tests
Now getting diags though the test process that has right permissions.

This doesn't fix other failures in fallback tests.

Bug: 141517004
Change-Id: Ibba5f0471a83525a64544c62dbe82ab3e11712cd
2019-09-24 19:30:02 +00:00
Jon Miranda 79d6b30dce Fix NPE when trying to construct WorkspaceItemInfo with null intent data.
We change the way we parse the install queue; so this seems to be a rare case
when trying to flush an install queue from an old apk with a launcher apk
with the new parsing changes.

Bug: 140935140
Change-Id: I14db4c3f70ed2e1bc5ad31dec7e6473cd6f8f13c
2019-09-24 18:30:44 +00:00
Jon Miranda 10b898eee6 Fix NPE when trying to construct WorkspaceItemInfo with null intent data.
We change the way we parse the install queue; so this seems to be a rare case
when trying to flush an install queue from an old apk with a launcher apk
with the new parsing changes.

Bug: 140935140
Change-Id: I14db4c3f70ed2e1bc5ad31dec7e6473cd6f8f13c
2019-09-24 11:26:57 -07:00
Hongwei Wang 95a6dba078 Updates shelf visibility from Launcher to SysUI
We used to set shelf visibility (and its height) from Launcher to WM and
with the PiP-SysUI migration, this function will be called from Launcher
to SysUI directly since SysUI will be the new source of truth for PiP
bounds.

Bug: 139016518
Test: atest PinnedStackTests
Test: Manual
Change-Id: Id0931333da76b52ccc6fa23877c72fbe2747203b
2019-09-24 10:00:08 -07:00
Winson Chung 280242e5dd Merge "Updating launcher interface for recents animation change" into ub-launcher3-master 2019-09-24 05:26:59 +00:00
android-build-team Robot be24c2c8ec Snap for 5895720 from b85e199052 to rvc-release
Change-Id: Ic394392aa5f734bb72f5ba45b4c4667f283ce7f3
2019-09-24 03:10:36 +00:00
android-build-team Robot 8ddc17f325 Snap for 5895359 from d2d58656a4 to qt-qpr1-release
Change-Id: I05de7323b6e2ab3617eb0e14e30467c67a4be797
2019-09-24 01:11:24 +00:00
Tony Wickham b85e199052 [automerger skipped] Don't crash when swiping up if there are no TaskViews am: d2d58656a4
am: b8f722e7d2 -s ours
am skip reason: change_id I2180cc5e72c343977ea53cc02907ed8dac0f8bc6 with SHA1 84250aa576 is in history

Change-Id: I3bcb02a23631a9329d77a26bfe5cadad500083f0
2019-09-23 15:51:15 -07:00
Tony Wickham b8f722e7d2 Don't crash when swiping up if there are no TaskViews
am: d2d58656a4

Change-Id: I251ffd2ad1103efe1313e52e05f8a027789312d4
2019-09-23 15:44:27 -07:00
vadimt e139dee1c3 Merge "Removing debug tracing for flakes that stopped reproing" into ub-launcher3-qt-qpr1-dev am: 76aadac4e4
am: 6d5511a42f

Change-Id: I7df8a8322bae3fa6aed5978679f477c90fe14dc0
2019-09-23 15:04:06 -07:00
vadimt 6d5511a42f Merge "Removing debug tracing for flakes that stopped reproing" into ub-launcher3-qt-qpr1-dev
am: 76aadac4e4

Change-Id: I5099741d3502584f7d501d74897944edc3339977
2019-09-23 14:56:04 -07:00
TreeHugger Robot 76aadac4e4 Merge "Removing debug tracing for flakes that stopped reproing" into ub-launcher3-qt-qpr1-dev 2019-09-23 21:44:26 +00:00
vadimt 5466699f0b Removing debug tracing for flakes that stopped reproing
Bug: 139941530
Bug: 140311911
Change-Id: Idf4c013373e627db92aa96f9207e25336ee039f8
2019-09-23 13:57:32 -07:00
Winson Chung eff177a7f2 Fix wrong check for debug mode
Bug: 140246642
Change-Id: I4ce7cf623fe31d53fd9f6506f339d51a64ed8f8d
2019-09-23 20:11:43 +00:00
Pinyao Ting 7752023c08 fix test for a11y change in supporting -1 page
Bug: 140406263
Change-Id: I0a39db135a5e5b0fe570ace55a368a7f4b6cb453
Test: run TaplTestLauncher3 locally
2019-09-23 13:06:36 -07:00
Pinyao Ting af6daa2873 Revert "Revert "support scroll backward to minus one screen via voice/switch access""
This reverts commit 3ad4ace203.

Reason for revert: roll forward and bugfixes

Change-Id: Icd56cdeddb3baf9819700cc567c04af0905825ef
2019-09-23 12:56:11 -07:00
android-build-team Robot e836240cbb Snap for 5892445 from 1cfbdcec9b to rvc-release
Change-Id: Ia3983064252d6a99da280ca214233aee1f5433a2
2019-09-21 23:25:03 +00:00
android-build-team Robot b5a9b67fca Snap for 5892339 from 3adf6ff5a2 to qt-qpr1-release
Change-Id: I54885c11c1e51f4fb660ec9e391166caead6dc13
2019-09-21 23:12:10 +00:00
Tony Wickham d2d58656a4 Don't crash when swiping up if there are no TaskViews
This can happen in LockTask mode, after enabling Overview. In that case,
you are locked to the current task, but are allowed to go to overview
but no tasks are shown there.

Bug: 139917483
Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
Merged-In: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
(cherry picked from commit 60bf8c117b)
2019-09-21 04:10:35 +00:00
Tony Wickham 84250aa576 Don't crash when swiping up if there are no TaskViews
This can happen in LockTask mode, after enabling Overview. In that case,
you are locked to the current task, but are allowed to go to overview
but no tasks are shown there.

Bug: 139917483
Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6
(cherry picked from commit 60bf8c117b)
2019-09-21 04:09:41 +00:00
Vadim Tryshev c59e40bfcc [automerger skipped] Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-qt-qpr1-dev am: dcb5412e1c
am: 52b1ff2050 -s ours
am skip reason: change_id Ia060b5d2b98ea9ea3b6e61ae11d610f1a888d7a0 with SHA1 6a585df8d1 is in history

Change-Id: I5e7e24a08850c26b415b1316d834b2cef30c35f3
2019-09-20 19:55:15 -07:00
Vadim Tryshev 52b1ff2050 Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-qt-qpr1-dev
am: dcb5412e1c

Change-Id: I70b2434f162f6575a88bcc0b43bdf8cce1cbc359
2019-09-20 19:48:40 -07:00
Vadim Tryshev dcb5412e1c Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-qt-qpr1-dev 2019-09-21 02:11:26 +00:00
vadimt 3bdba61542 Not using dropbox entries before the test start for diagnostics
Change-Id: Ieb48d969d86a855c91109f4ace0d636fa01aafc7
Merged-in: Ia060b5d2b98ea9ea3b6e61ae11d610f1a888d7a0
2019-09-21 01:37:56 +00:00
Vadim Tryshev 8a499867a6 Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-master 2019-09-21 01:37:32 +00:00
Vadim Tryshev b35bf23ef4 Merge "Adding recognition of R launcher builds for test stability rule" into ub-launcher3-qt-qpr1-dev am: f8a9a14aca
am: 7cb5a6e973

Change-Id: Id72382adcdeac4360c23a5671fde28dcb5aabfc9
2019-09-20 18:32:22 -07:00
Vadim Tryshev 7cb5a6e973 Merge "Adding recognition of R launcher builds for test stability rule" into ub-launcher3-qt-qpr1-dev
am: f8a9a14aca

Change-Id: I0eb777bd191da9708976431a944fc7441c1800ff
2019-09-20 18:25:52 -07:00
Vadim Tryshev f8a9a14aca Merge "Adding recognition of R launcher builds for test stability rule" into ub-launcher3-qt-qpr1-dev 2019-09-21 01:15:53 +00:00
vadimt 6a585df8d1 Not using dropbox entries before the test start for diagnostics
Change-Id: Ia060b5d2b98ea9ea3b6e61ae11d610f1a888d7a0
2019-09-20 18:12:05 -07:00
vadimt fc041efe92 Adding recognition of R launcher builds for test stability rule
Change-Id: Icf1251c02d328e634bf4d5c951dd53f203905838
2019-09-20 17:23:11 -07:00
Tony Wickham 5a58c29930 resolve merge conflicts of 5c229885fc to ub-launcher3-qt-future-dev
am: 521224131e

Change-Id: Id2d960da6c9739c0b20bdea3c5f340741c39941a
2019-09-20 17:08:00 -07:00
Tony Wickham 521224131e resolve merge conflicts of 5c229885fc to ub-launcher3-qt-future-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.

Change-Id: I41247ff46308b72158731e4a47466533d42e67c6
2019-09-20 16:22:59 -07:00
Tony Wickham 5c229885fc Merge "Don't crash when swiping up if there are no TaskViews" into ub-launcher3-qt-qpr1-dev 2019-09-20 22:44:28 +00:00
TreeHugger Robot 25986ffd64 Merge "Adding test to check view inflation during swipe up" into ub-launcher3-master 2019-09-20 22:44:01 +00:00
Sunny Goyal 8f90d5da8a Adding test to check view inflation during swipe up
Bug: 137851409
Change-Id: Ic8e6f0b3c667051b921d1d4fad03c94122ee92e9
2019-09-20 15:36:02 -07:00