Commit Graph

10334 Commits

Author SHA1 Message Date
Samuel Fufa eacaf8aee6 Enable touches on hotseat area
Test: Manual
Bug:130294785
Change-Id: Ib3ace6633aae1ad2acc71520afd7bfdc96ffb285
2019-09-19 11:22:27 -07:00
Samuel Fufa 95942b02f0 Merge "Change onAppWidgetRemoved to public" into ub-launcher3-qt-future-dev
am: fb884ec895

Change-Id: Icc56f59e7f6424918998027ead628fb6f450596d
2019-09-19 10:35:55 -07:00
Samuel Fufa 79f803888e Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev
am: 4498241117

Change-Id: I10f1077df8f89c96f7ad3f35f333787568d238cd
2019-09-19 10:35:34 -07:00
TreeHugger Robot fb884ec895 Merge "Change onAppWidgetRemoved to public" into ub-launcher3-qt-future-dev 2019-09-19 17:25:20 +00:00
Samuel Fufa 4498241117 Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev 2019-09-19 17:15:22 +00:00
Samuel Fufa 791ed47320 Change onAppWidgetRemoved to public
Bug:141279939
Change-Id: I02aa7b8b54cbd75ebe34acd88c8006c23c52f002
2019-09-19 10:11:45 -07:00
Pinyao Ting f98f4d9d07 plugin for user event logging
am: fefe2c8374

Change-Id: I5052db2cd1fc0b1bfa28d3eaf986a59df63801ac
2019-09-19 08:21:45 -07:00
Pinyao Ting fefe2c8374 plugin for user event logging
Bug: 140243695
Change-Id: If9c620aa10334b26ad9b489d6544201d38439fea
2019-09-19 07:53:09 -07:00
Samuel Fufa f28f843d74 Fix app crash on deep shortcut restore
Although the recovery logic for app shortcuts and deep shortcuts are
mostly the same, in deepshortcut's case we don't care about the
component name. This CL fixes the bug where we reset the intent if the
activity a deepshortcut points to is not found. resetting the intent is
problematic as we'll need the shortcut id (which is stored as an
extra on the intent) to recover the deep shortcut using pinned shortcuts.

Bug: 140819317
Change-Id: I22f0266b98a9f6175303cc92a85397e240443250
2019-09-19 00:59:19 +00:00
Winson Chung a879f9c481 Adding binder tracking support in tests
- Whitelist specific binder calls when handling touch during swipe up
  gestures
- Only track binding for touch handling and certain launcher lifecycle
  changes for now

Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
Tony Wickham 2e71b8351c Update mIsBeingDragged in onTouchEvent(ACTION_DOWN) am: a0aee21fcd
am: c9c88ee0f1

Change-Id: I1d66b3173afd2ce3edffdbc89145707a58fcbe6e
2019-09-18 12:29:21 -07: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
Jon Miranda 1fb549727f Fix BindWidgetTests. am: 6ed680258e
am: 7cfab69b1c

Change-Id: Icaf64c61ccd354b41e5cd0ed84059147c157ad8b
2019-09-17 21:59:35 -07: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
vadimt 8804a43d22 resolve merge conflicts of a24ed7267c to ub-launcher3-qt-future-dev
am: c708384087

Change-Id: I30c8c5b6541b7e5d149ae940513ea97269c61902
2019-09-17 14:44:33 -07:00
TreeHugger Robot 1ac3640c86 Merge "Adding in missing changes to ub-launcher3-master." into ub-launcher3-master 2019-09-17 20:06:10 +00: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 935cfb8633 Key by both package and user for list of active install sessions. am: c1322b6ac8
am: bf7371e510

Change-Id: I7b18a068f88ec3aef84d04d80b54f6252230bbc8
2019-09-17 12:06:21 -07: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
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
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
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
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
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
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
Jon Miranda f1ce0f31ab Fix failing test testPromiseIcon_addedFromEligibleSession.
am: d6ae55d968

Change-Id: I733da069b9de54d11f8e736ccd84eca610d65f91
2019-09-13 14:29:52 -07:00
Pinyao Ting a186a1f7de Merge "cache shourtcut image Deep shortcuts now supports icon cache." into ub-launcher3-qt-future-dev
am: 52e551e734

Change-Id: Idb15f429647349b6f054d02b814ad9bab4b78fa5
2019-09-12 17:14:11 -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