Commit Graph

20635 Commits

Author SHA1 Message Date
Vadim Tryshev 493ea23bfd Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev
am: 37cc797fd0

Change-Id: I0ab81659ea9aaf6b75cd1106bbbaf9c75c679a41
2019-09-18 19:33:40 -07:00
Vadim Tryshev 37cc797fd0 Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev 2019-09-19 02:13:44 +00:00
vadimt fead086f2d Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
Merged-in: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 01:18:46 +00:00
Bill Yi 47ea8eb8fd [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours am: a7fd1427da -s ours
am: 92a95bc537 -s ours
am skip reason: subject contains skip directive

Change-Id: Iefb137b703cf19e3c419ab015bd0b386d9ae6279
2019-09-18 16:42:39 -07:00
Bill Yi 92a95bc537 [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours
am: a7fd1427da -s ours
am skip reason: subject contains skip directive

Change-Id: I6ed30b3b83de7cc7c018b8e4ef53f8012f34e43a
2019-09-18 16:35:08 -07:00
Bill Yi 4c0d862711 [automerger skipped] Import translations. DO NOT MERGE am: d6feab9fca -s ours
am: 638b36f628 -s ours
am skip reason: subject contains skip directive

Change-Id: I01b9bdb1cee0f13cddee3692eaa386f43192cc6b
2019-09-18 16:35:08 -07:00
Bill Yi 638b36f628 [automerger skipped] Import translations. DO NOT MERGE
am: d6feab9fca -s ours
am skip reason: subject contains skip directive

Change-Id: Ib1e67bd2313fe62b99abb44723d5654195cc227a
2019-09-18 16:28:08 -07:00
Bill Yi a7fd1427da [automerger skipped] Import translations. DO NOT MERGE
am: 885dfb7134 -s ours
am skip reason: subject contains skip directive

Change-Id: I515adc3e8a0a534fde521ec1f0ff909b53c28057
2019-09-18 16:28:08 -07:00
TreeHugger Robot 24790aa3c8 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2019-09-18 23:18:38 +00:00
Tony Wickham c9c88ee0f1 Update mIsBeingDragged in onTouchEvent(ACTION_DOWN)
am: a0aee21fcd

Change-Id: I4e0b6c7e057421d7501f84f8c8e3544eab2b15de
2019-09-18 12:22:12 -07:00
Tony Wickham a0aee21fcd Update mIsBeingDragged in onTouchEvent(ACTION_DOWN)
The logic to keep mIsBeingDragged when touching down during a scroll
animation was in onInterceptTouchEvent(), which we were bypassing by
using onTouchEvent() directly. Now we update mIsBeingDragged on touch
down in both onInterceptTouchEvent() and in onTouchEvent().

Bug: 141024521
Change-Id: I77abd4c36f3ccee27e160c817dadb3923e6cfc06
2019-09-18 11:04:37 -07:00
Bill Yi 3cd719e63b Import translations. DO NOT MERGE
Change-Id: I2a1cabf4bef377ad5fb37b3329c4532f4ea71c85
Auto-generated-cl: translation import
2019-09-18 10:53:13 -07:00
Bill Yi d6feab9fca Import translations. DO NOT MERGE
Change-Id: Idcab9c726488667be60b5ea153f974ae27ff971a
Auto-generated-cl: translation import
2019-09-18 10:45:45 -07:00
Bill Yi 885dfb7134 Import translations. DO NOT MERGE
Change-Id: I70e8f100eea4f162ebd27217ea885cc52f390e56
Auto-generated-cl: translation import
2019-09-18 10:42:11 -07:00
Tony Wickham cdcfd98c05 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev
am: 24fb1526e2

Change-Id: I59bf92b05d45c31705166e1211cf02ccbc348383
2019-09-18 08:12:41 -07:00
Tony Wickham 24fb1526e2 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev 2019-09-18 14:54:20 +00:00
Jon Miranda 7cfab69b1c Fix BindWidgetTests.
am: 6ed680258e

Change-Id: Ifca5fc650f88bd18985f264ccf4d0c33698faf52
2019-09-17 21:52:57 -07:00
Jon Miranda 6ed680258e Fix BindWidgetTests.
Broken by change I03c31bb308fc496b9fc633c2fde23ae4568f8c44.

Bug: 139281702
Test: Ran BindWidgetTest with 8/8 successful.
Change-Id: I6a03744c9cd919316ff27b12c50acc70c91d47fa
2019-09-17 19:18:02 -07:00
Tony Wickham 0638249b3e Allow scroll to clear all in 3 button+fallback mode
We weren't calling onSwipeUpToRecentsComplete(), which meant we kept the
disallowScrollToClearAll from prepareRecentsUi indefinitely.

Also don't update the icon scale if it is supposed to be scaled down, to
avoid it from scaling up and overlapping with the app window.

Fixes: 141184247
Change-Id: I49406764373e7121e289da7477dcbb58d0b98fd5
2019-09-17 15:10:33 -07:00
vadimt c708384087 resolve merge conflicts of a24ed7267c to ub-launcher3-qt-future-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I89f3bcf309b10a359b12167474fcb3f93640787f
2019-09-17 13:03:18 -07:00
Vadim Tryshev a24ed7267c Merge "Support for tests that a leak is detected" into ub-launcher3-qt-qpr1-dev 2019-09-17 19:16:00 +00:00
Jon Miranda bf7371e510 Key by both package and user for list of active install sessions.
am: c1322b6ac8

Change-Id: I112298649de8f9abd0898fdf4feda02395b7a31c
2019-09-17 12:00:03 -07:00
vadimt 8c2ae545cf Support for tests that a leak is detected
Bug: 139137636
Change-Id: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
Merged-in: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
2019-09-17 18:49:42 +00:00
Jon Miranda c1322b6ac8 Key by both package and user for list of active install sessions.
This fixes the bug where items are left on the home screen for the wrong
user.

Bug: 139281702
Change-Id: I03c31bb308fc496b9fc633c2fde23ae4568f8c44
2019-09-17 11:20:35 -07:00
Jonathan Miranda 315732e524 Merge "Support defining X column layout for all apps as a display option." into ub-launcher3-qt-future-dev 2019-09-17 18:14:29 +00:00
TreeHugger Robot 4ca6449e39 Merge "Revert "support scroll backward to minus one screen via voice/switch access"" into ub-launcher3-qt-future-dev 2019-09-17 17:14:46 +00:00
Pinyao Ting 3ad4ace203 Revert "support scroll backward to minus one screen via voice/switch access"
This reverts commit d5af944f41.

Reason for revert: Test failure on master that might be related to this code change.

Change-Id: I269bf5b0a6505da291e1ff4ed181a851268d6ed8
2019-09-17 16:58:07 +00:00
Pinyao Ting 570d9a1e9c Merge changes from topic "cache-shortcut-image" into ub-launcher3-qt-future-dev
* changes:
  fix the issue update handler tries to cache a shortcut without valid bitmap.
  Revert "Revert "cache shourtcut image""
2019-09-17 16:47:26 +00:00
Jon Miranda 6f7e9702e3 Support defining X column layout for all apps as a display option.
Bug: 124967099
Change-Id: I7bf576759b3fa4f6ca617fbbd660541c12fd09ac
2019-09-16 16:24:59 -07:00
Pinyao Ting 6462a44935 Merge "support scroll backward to minus one screen via voice/switch access" into ub-launcher3-qt-future-dev 2019-09-16 22:05:59 +00:00
Samuel Fufa 2b06908252 Merge "Add Logs to track app uninstall and icon removal" into ub-launcher3-qt-future-dev 2019-09-16 21:54:20 +00:00
Samuel Fufa cc1e1075bb Add Logs to track app uninstall and icon removal
Some users are affected by a bug that keeps orphaned app icons after a
package is uninstalled. Since we are unable to pinpoint to what exactly
is causing this, we're adding logs so we could tell where exactly things
are failing.

Bug: 124817089
Change-Id: If168935115a7d323fd60c2b19426c1dbd43dbce3
2019-09-16 14:35:44 -07:00
Tracy Zhou c1711c65ea Make sure that live tile overlay is added only once.
am: 6b272369e7

Change-Id: Id708de7bd777451f2b111cb9a5f79f4270513770
2019-09-16 14:33:51 -07:00
Pinyao Ting d5af944f41 support scroll backward to minus one screen via voice/switch access
Bug: 140406263
Test: Manual
Change-Id: I604b12f8ba8706cbabc28acafd6c151166832f22
2019-09-16 14:21:49 -07:00
Tracy Zhou 6b272369e7 Make sure that live tile overlay is added only once.
Users report seeing empty launcher. After adding some logging, live tile
overlay can be added twice and removed only once. I added some logic to
make sure that it can only be added once.

Test: manual
Fixes: 135864059
Change-Id: I9d3325c56e76654f1397cc65979b97a6c0a80aee
(cherry picked from commit d3ef57b4dd)
(cherry picked from commit 4fa6f63ffd)
2019-09-16 20:52:35 +00:00
Pinyao Ting cfbeab15f5 fix the issue update handler tries to cache a shortcut without valid
bitmap.

Change-Id: Ie400fdb811928015903319eed69879de1728539a
2019-09-16 20:38:44 +00:00
Pinyao Ting d13f0c5c45 Revert "Revert "cache shourtcut image""
This reverts commit f3d58f1f84.

Reason for revert: Rolling forward for development and fixes.

Bug: 140242324
Change-Id: I954cface2e50a5a9a5e143d2ea29fbcebb298ede
2019-09-16 20:20:38 +00:00
TreeHugger Robot 3463d1c5f9 Merge "Revert "cache shourtcut image"" into ub-launcher3-qt-future-dev 2019-09-16 19:20:48 +00:00
Pinyao Ting f3d58f1f84 Revert "cache shourtcut image"
This reverts commit 050f9b1279.

Reason for revert: Test failure on ub-launcher3-master (b/140998509)

Possible Root Cause: This happens when fallback image or default icon was
used for shortcut icon, but shortcut caching logic do not have the logic
to create either fallback image or default icon. So upon updating icon cache,
the icon remains to be null, causing an NPE.

Change-Id: I1ee3bb7a3cab2af5730c2ee77d9370c1578a9ad6
2019-09-16 18:00:26 +00:00
vadimt c563ec22ef Fully qualifying @Ignore
am: b1ccbd9def

Change-Id: Ia4aee260bf57fde304e1e54364b15c6880899c7c
2019-09-13 14:31:12 -07:00
Vadim Tryshev a8a23bd745 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev
am: 90f4536ae3

Change-Id: If045b86ee809fd4b727d82bd4926ccd40aa01e27
2019-09-13 14:30:54 -07:00
Pinyao Ting 3f2cc47303 [automerger skipped] Fix the issue deep shortcuts cannot be added to workspace via voice/switch access
am: 39216c1533 -s ours
am skip reason: change_id Ie54d9c738fc51445f3aa49458ff4fc1dd6e4fc67 with SHA1 8a739f9511 is in history

Change-Id: I43aca45ef426ed596aac78e8264d8358c25862c6
2019-09-13 14:30:37 -07:00
Vadim Tryshev 91261e38d9 Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-dev
am: de5e5afae5

Change-Id: I11eb799cce35de602243ba1c46706f2d03178ce9
2019-09-13 14:30:10 -07:00
Jon Miranda f1ce0f31ab Fix failing test testPromiseIcon_addedFromEligibleSession.
am: d6ae55d968

Change-Id: I733da069b9de54d11f8e736ccd84eca610d65f91
2019-09-13 14:29:52 -07:00
Tony Wickham 3ff1000632 Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev
am: fc520edbc6

Change-Id: I8e5b43a582bd243e21f02b5a83b931f4f277eb95
2019-09-13 14:29:31 -07:00
vadimt b1ccbd9def Fully qualifying @Ignore
Strangely, @Ignore-s won't be recognized in ub-launcher-master

Bug: 140837771
Change-Id: Ie5e4911d4812d396826b50024943c14c6bfe3376
2019-09-12 17:46:17 -07:00
Vadim Tryshev 90f4536ae3 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev 2019-09-13 00:06:56 +00:00
vadimt b59f65d2d8 Disable failing widget tests
Bug: 140837771
Change-Id: Ibba7769543e682315ea23640f68416defa85f365
2019-09-12 17:05:39 -07:00
Jon Miranda b548b3c7b0 [DO NOT MERGE] resolve merge conflicts of cfdeb06205 to ub-launcher3-qt-future-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id60ae2c08ec7aca6780fec1f873920f3857d598e
2019-09-12 23:13:25 +00:00
Sunny Goyal 30d998c625 Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev
am: 791dd73217

Change-Id: I1ecde4721df9895b0fb215f36a43d8cb85a392ef
2019-09-12 15:05:48 -07:00