Pinyao Ting
fefe2c8374
plugin for user event logging
...
Bug: 140243695
Change-Id: If9c620aa10334b26ad9b489d6544201d38439fea
2019-09-19 07:53:09 -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
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
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
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
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
Hyunyoung Song
057059665e
When DeviceConfig/FeatureFlag value is different than the previous value, refresh icon cache
...
am: e17a699618
Change-Id: I5c2e54c069fc03172f471f9655cd8b09b5ac6dce
2019-09-12 15:05:19 -07:00
TreeHugger Robot
26f21d5231
Merge "[DO NOT MERGE] Merge commit '735d1fe124812fd11feabc644c9a4f8482039f57' into manual_merge_735d1fe124812fd11feabc644c9a4f8482039f57" into ub-launcher3-qt-future-dev
2019-09-12 21:42:36 +00:00
Pinyao Ting
52e551e734
Merge "cache shourtcut image Deep shortcuts now supports icon cache." into ub-launcher3-qt-future-dev
2019-09-12 20:39:07 +00:00
Pinyao Ting
39216c1533
Fix the issue deep shortcuts cannot be added to workspace via
...
voice/switch access
Bug: 140405990
Change-Id: Ie54d9c738fc51445f3aa49458ff4fc1dd6e4fc67
Merged-In: Ie54d9c738fc51445f3aa49458ff4fc1dd6e4fc67
(cherry picked from commit 8a739f9511 )
2019-09-12 20:33:03 +00:00
Pinyao Ting
8a739f9511
Fix the issue deep shortcuts cannot be added to workspace via
...
voice/switch access
Bug: 140405990
Change-Id: Ie54d9c738fc51445f3aa49458ff4fc1dd6e4fc67
2019-09-12 12:05:54 -07:00
Jon Miranda
d6ae55d968
Fix failing test testPromiseIcon_addedFromEligibleSession.
...
Test: Ran tests on device
Bug: 140819614
Change-Id: I8ee6836d3a06f315518aa4829c8e2ddf8cf5f74d
2019-09-12 16:58:51 +00:00
Pinyao Ting
050f9b1279
cache shourtcut image
...
Deep shortcuts now supports icon cache.
When workspace is being loaded, we will now attempt to load deep
shortcuts from memcache/db.
The icon for deep shortcuts loaded in the workspace is saved to
memcache/db after the workspace is loaded.
Bug: 140242324
Change-Id: I49da8319ad203476fe1e45683e2848dbde3473f2
2019-09-12 09:14:43 -07:00
TreeHugger Robot
a9a1c45967
Merge "Enable FileLog for release devices" into ub-launcher3-qt-future-dev
2019-09-11 21:23:55 +00:00
TreeHugger Robot
cfdeb06205
Merge "Fix bug where existing icon is removed when install session is abandonded." into ub-launcher3-qt-qpr1-dev
2019-09-11 20:43:36 +00:00
Samuel Fufa
d61f73d935
Merge "Remove launcher widget onAppWidgetRemoved" into ub-launcher3-qt-future-dev
2019-09-11 20:33:23 +00:00
Samuel Fufa
44043ec3eb
Remove launcher widget onAppWidgetRemoved
...
Test: manual
Bug:79462255
Change-Id: Ib5dd32d9db11acf27cb9e0e6fee266b57cff1828
2019-09-11 13:21:11 -07:00
TreeHugger Robot
791dd73217
Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev
2019-09-11 20:16:19 +00:00
Jon Miranda
1c247cf451
Fix bug where existing icon is removed when install session is abandonded.
...
- Ensure we only add promise icons for apps that aren't already installed to
our internal list of session ids.
- Ensure we only remove promise icons created from the install session when
that session is abandonded.
Bug: 140819614
Change-Id: I3c93865b5e96a9c7a160154b45a38eb90ac9d183
2019-09-11 12:37:14 -07:00
Hyunyoung Song
e17a699618
When DeviceConfig/FeatureFlag value is different than the previous
...
value, refresh icon cache
Bug: 135638690
Bug: 138964490
Test: manually toggled feature flag UI on/off
$ adb shell device_config put launcher APP_SEARCH_IMPROVEMENTS [true|false]
when launcher is in foreground and also when it is in the background
Afterwards, saw if "bank" would show BofA app or not
Change-Id: I98b62bd07b14a225168217d7eb9bfdfc7f74435d
2019-09-11 10:38:14 -07:00
TreeHugger Robot
8aee0b2cb5
Merge "Ensure the icon load request matches the ItemInfo for the floating view." into ub-launcher3-qt-qpr1-dev
2019-09-10 16:49:24 +00:00
Jon Miranda
bdda7251df
Ensure the icon load request matches the ItemInfo for the floating view.
...
This fixes the bug where the wrong icon is present during the app close
animation.
Bug: 138195597
Change-Id: Ife2c6ad135dde54583f6f2bb2caf3b1e9325e064
Merged-In: Ib3767ec5c2b4eb22b35e5148879e11d2c1b28e3c
2019-09-10 15:51:25 +00:00
Jon Miranda
08857d2f13
Ensure the icon load request matches the ItemInfo for the floating view.
...
This fixes the bug where the wrong icon is present during the app close
animation.
Bug: 138195597
Change-Id: Ib3767ec5c2b4eb22b35e5148879e11d2c1b28e3c
2019-09-10 00:52:23 +00:00
Sunny Goyal
3600fb7777
Adding support for building a "spring like animation" with precomputed values
...
Bug: 138396187
Change-Id: Idba323090ecd9aca43c01414a32ab3b2e292e73e
2019-09-09 17:21:53 -07:00
Samuel Fufa
3bbf8ec3fb
Enable FileLog for release devices
...
Bug:140230739
Change-Id: I41f6e1ab598c1e0397cf14367177a4780b1d20c3
2019-09-09 23:28:43 +00:00
Jon Miranda
36e3953538
[DO NOT MERGE] Merge commit '735d1fe124812fd11feabc644c9a4f8482039f57' into manual_merge_735d1fe124812fd11feabc644c9a4f8482039f57
...
The ub-launcher3-qt-future-dev branch cut missed the CLs that went into
ub-launcher3-master, so the merge failed
Change-Id: I4f6f5ca8323350af3bc84c72d61d935b36f8064f
2019-09-09 22:29:49 +00:00
Jonathan Miranda
735d1fe124
Merge "Add tests for play promise icons." into ub-launcher3-qt-qpr1-dev
2019-09-09 21:44:15 +00:00
Winson Chung
478414a7c3
Merge changes I4532e429,I532645de into ub-launcher3-qt-future-dev
...
* changes:
Defer listening on widget host until after the state transition ends
Migrate to using DefaultDisplay
2019-09-09 21:39:18 +00:00
vadimt
a6650287b7
Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev
...
am: 01f8fb9132
Change-Id: I36a1309b24a94dafe5203287e07595d60622c158
2019-09-09 14:18:14 -07:00
vadimt
b51136af52
Merge "Add tracing for non-dragging icon" into ub-launcher3-qt-qpr1-dev
...
am: 243dd30da3
Change-Id: I6ec07b275fc322730c1d31179c957d5aeb0f8077
2019-09-09 14:17:45 -07:00
Tony Wickham
0d37f05a12
Merge "Properly prevent All Apps relayouts by avoiding scrollToPosition" into ub-launcher3-qt-qpr1-dev
...
am: d785fc289c
Change-Id: I69738f5d9c1f77195f2f82f963958d3cc741e9af
2019-09-09 14:17:33 -07:00