Commit Graph

33301 Commits

Author SHA1 Message Date
Jon Miranda 088b9c2f87 Adding in missing changes to ub-launcher3-master.
Manual merge marked as DO NOT MERGE: Id60ae2c08ec7aca6780fec1f873920f3857d598e
also including the subsequent fix I8ee6836d3a06f315518aa4829c8e2ddf8cf5f74d
that I had to Skip from the automerger since the first CL never made it in.

Change-Id: I5a4a39278010099dded8fe06e960c0397c49c0aa
2019-09-17 11:51:49 -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
Vadim Tryshev 66fca5f8f6 Merge "Support for tests that a leak is detected" into ub-launcher3-master 2019-09-17 18:43:06 +00:00
Jonathan Miranda 903abfc48f Merge "Support defining X column layout for all apps as a display option." into ub-launcher3-qt-future-dev
am: 315732e524

Change-Id: I1c47d689fbec052859d5fdbfcf8d10b07ddd0202
2019-09-17 11:25:21 -07: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
vadimt 4e4e4da66a Support for tests that a leak is detected
Bug: 139137636
Change-Id: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
2019-09-17 18:17:10 +00: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
Pinyao Ting f7e9b051b5 Merge "Revert "support scroll backward to minus one screen via voice/switch access"" into ub-launcher3-qt-future-dev
am: 4ca6449e39

Change-Id: Id11261547476ef4f43dfda5cbf63f1e30cae936f
2019-09-17 10:30:14 -07: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 2cfa8dc020 Merge changes from topic "cache-shortcut-image" into ub-launcher3-qt-future-dev
am: 570d9a1e9c

Change-Id: I3182c90a69d1c93daf8d33cfe7f15f613ac972fd
2019-09-17 09:54:17 -07: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
Pinyao Ting 388a2122b1 Merge "support scroll backward to minus one screen via voice/switch access" into ub-launcher3-qt-future-dev
am: 6462a44935

Change-Id: I686c2204c4229a1027924bca11c048408ff80315
2019-09-16 20:51:13 -07:00
Samuel Fufa b5a16812a6 Merge "Add Logs to track app uninstall and icon removal" into ub-launcher3-qt-future-dev
am: 2b06908252

Change-Id: I638ad5d2f48a577503b8925253152e0a9b42ab6d
2019-09-16 20:50:55 -07:00
Tracy Zhou 2141c39be5 Make sure that live tile overlay is added only once. am: 6b272369e7
am: c1711c65ea

Change-Id: I3c87118d1b72bc7107d4bbeb8537c52a13062c18
2019-09-16 20:50:34 -07:00
Pinyao Ting 0651614984 Merge "Revert "cache shourtcut image"" into ub-launcher3-qt-future-dev
am: 3463d1c5f9

Change-Id: Ic71994e9567e023666fb435c989c19362b41861f
2019-09-16 20:50:17 -07:00
vadimt 25f9eb1e64 Fully qualifying @Ignore am: b1ccbd9def
am: c563ec22ef

Change-Id: I2c6fb106418f1d7fc1f2641dca497282855402fd
2019-09-16 20:49:58 -07:00
Vadim Tryshev 764bb788b6 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev am: 90f4536ae3
am: a8a23bd745

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

Change-Id: I085984d4d887a8a89c4a163c53a365d91a85ae58
2019-09-16 20:49:23 -07:00
Vadim Tryshev 667e8cb74a Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-dev am: de5e5afae5
am: 91261e38d9

Change-Id: I5f034b7f3664ded275394561bb20a666d40e1681
2019-09-16 20:49:02 -07:00
Jon Miranda 6bba27f195 [automerger skipped] Fix failing test testPromiseIcon_addedFromEligibleSession. am: d6ae55d968
am: f1ce0f31ab -s ours
am skip reason: SHA1 f1ce0f31ab skipped by user jonmiranda

Change-Id: I5bfc823c2e73b0278bf1cee0292f12581e85df36
2019-09-16 20:48:40 -07:00
Tony Wickham 4aa0a6ca7c Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev am: fc520edbc6
am: 3ff1000632

Change-Id: I34b83f2038a6cb20e39c95aeba310e201060b564
2019-09-16 17:37:58 -07:00
Jon Miranda 45be25c6b4 [automerger skipped] [DO NOT MERGE] resolve merge conflicts of cfdeb06205 to ub-launcher3-qt-future-dev
am: b548b3c7b0 -s ours
am skip reason: subject contains skip directive

Change-Id: I6192de456ac25e50c6ba638279d5722685cbf04d
2019-09-16 17:37:44 -07:00
Sunny Goyal 34ca0d3c62 Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev am: 791dd73217
am: 30d998c625

Change-Id: Icd3d2bd914ba30bed3257de33af00ae201ecf17b
2019-09-16 17:37:24 -07:00
vadimt 1a5df3f1ef Adding testing for opening a widget am: 5e742772d0
am: 87b871eaee

Change-Id: I8554d43fc23b81bf06df09bedc7a0a26d757d7b9
2019-09-16 17:37:03 -07:00
Hyunyoung Song fe2e430a71 Merge "resolve merge conflicts of 057059665e to ub-launcher3-master" into ub-launcher3-master 2019-09-17 00:15:15 +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
Hyunyoung Song 338e4ea7df resolve merge conflicts of 057059665e to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: I8a92d1389acbefc5bf33ef9760373bfbf54d682b
2019-09-16 15:29:37 -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
Tracy Zhou 757d62dcaa 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
Fixes: 140337263
Change-Id: I9d3325c56e76654f1397cc65979b97a6c0a80aee
(cherry picked from commit d3ef57b4dd)
(cherry picked from commit 4fa6f63ffd)
2019-09-16 21:25:51 +00: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
Shashwat Razdan ae084dafd9 Added AppLaunchEventsPlugin which relays app launch/dismiss events to
all connected plugins.
Listener for this plugin is added in PredictionAppTracker which receives
all app events.

Change-Id: Iec53d20272f6a587f78e3d84666efa4f02cf6962
2019-09-16 13:27:13 -07: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
android-build-team Robot c2f9eee121 Snap for 5876498 from a7a1b57bc8 to qt-qpr1-release
Change-Id: I866d5ec8927a6212cd51532492d91c88d6822cc8
2019-09-14 23:17:16 +00:00
android-build-team Robot 626f39a395 Snap for 5876588 from a82498b98f to rvc-release
Change-Id: I11c3d73aa2b17e6c702f0ef2889518e02219e506
2019-09-14 23:09:46 +00:00
TreeHugger Robot a82498b98f Merge "[DO NOT MERGE] Fix NumberFormatException for launcher." 2019-09-13 23:58:59 +00:00
Hyunyoung Song 82173698eb Merging ub-launcher3-qt-qpr1-dev, build 5872416 am: a7a1b57bc8
am: 1d43b107b3

Change-Id: Ied41d63d50033cb01b647abbf0f8f62139c3a901
2019-09-13 16:01:28 -07:00
Hyunyoung Song 1d43b107b3 Merging ub-launcher3-qt-qpr1-dev, build 5872416
am: a7a1b57bc8

Change-Id: I60dd1710d7c54e2e47b926453fd79a2c2031edd4
2019-09-13 15:54:36 -07: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