Commit Graph

10334 Commits

Author SHA1 Message Date
Pinyao Ting c59116a677 resolve merge conflicts of 8a739f9511 to ub-launcher3-master
Bug: None
Change-Id: Ieb5ae70464d4fa964622310c67e0dd4b58660cc3
Test: I solemnly swear I tested this conflict resolution.
2019-09-12 16:04:56 -07:00
Samuel Fufa fb553edbee Merge "Enable FileLog for release devices" into ub-launcher3-qt-future-dev
am: a9a1c45967

Change-Id: Ib4bffc08ad4f54373e3af4feaca96008f960c348
2019-09-12 15:12:12 -07:00
Samuel Fufa 6915245924 Merge "Remove launcher widget onAppWidgetRemoved" into ub-launcher3-qt-future-dev
am: d61f73d935

Change-Id: Ib283b5db54c17dce4b8c09d70e52f10f95a6a315
2019-09-12 15:11:20 -07: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
Sunny Goyal 3e3d759db2 Removing flag overrides. All flags should be defined as togglable flags instead.
Change-Id: Ia7b9ff84413096cd5b0c4a9a81a232019f2522d2
2019-09-12 10:17:14 -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 dc5d27c44e Merge "Adding support for overlay and corresponding plugin to Launcher" into ub-launcher3-master 2019-09-11 23:55:33 +00: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 9d81e3e21c Ensure the icon load request matches the ItemInfo for the floating view.
am: 08857d2f13

Change-Id: I1dfc723484159a657c3072c62d4bb245595af930
2019-09-10 08:37:02 -07:00
Sunny Goyal b1d7de25f8 Adding support for overlay and corresponding plugin to Launcher
Updating various task callbacks to handle overlays

Change-Id: I80077508ad35c31269c873f51f0105302a9e6a5d
2019-09-10 08:08:28 -07: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
Winson Chung 9a82ca3054 Merge changes I4532e429,I532645de into ub-launcher3-qt-future-dev
am: 478414a7c3

Change-Id: Ic9af7149c297e23fd8c3645fd0a83dd5f45e0cce
2019-09-09 14:51:52 -07: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 fe42dc3ac5 Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev am: 01f8fb9132
am: a6650287b7

Change-Id: Ie1edad2925040d46a1d38e937bd9e73c70f5ede0
2019-09-09 14:24:20 -07:00
vadimt bed2fa8787 Merge "Add tracing for non-dragging icon" into ub-launcher3-qt-qpr1-dev am: 243dd30da3
am: b51136af52

Change-Id: Idd704e3b004e69b7aa2f37bd99217c2898b7b427
2019-09-09 14:23:55 -07:00
Tony Wickham 6b9ee0115e Merge "Properly prevent All Apps relayouts by avoiding scrollToPosition" into ub-launcher3-qt-qpr1-dev am: d785fc289c
am: 0d37f05a12

Change-Id: I0de3e9df3118440627cd3e57527c683ffc4c9254
2019-09-09 14:23:43 -07:00
vadimt 917af15bb0 Merge "Removing flinging via UI Automator" into ub-launcher3-qt-qpr1-dev am: e1335c2359
am: fb10f07e56

Change-Id: I395a70e247f5d9182b54f91577f0e802b90554a0
2019-09-09 14:22:47 -07: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
vadimt fb10f07e56 Merge "Removing flinging via UI Automator" into ub-launcher3-qt-qpr1-dev
am: e1335c2359

Change-Id: Iad5c6c0bf74ac223cc60b64fa7a15dae544d500f
2019-09-09 14:16:47 -07:00
TreeHugger Robot 0a07dfa25d Merge "resolve merge conflicts of 1bd96b1e96 to ub-launcher3-qt-future-dev" into ub-launcher3-qt-future-dev 2019-09-09 20:47:27 +00:00
Sunny Goyal ba02fa4585 Lazily binding folder pages and icons
am: ac6f69f78d

Change-Id: Id85dad476f49244c711c687d5a95d36197034946
2019-09-09 12:42:30 -07:00
Samuel Fufa 6d86a14d81 Merge "Add nullcheck for VelocityTracker" into ub-launcher3-master 2019-09-09 17:49:35 +00:00
Winson Chung ef52876739 Defer listening on widget host until after the state transition ends
Bug: 140246642
Change-Id: I4532e4298f04ff5c6dea04ccda89320995cadb80
2019-09-09 10:24:53 -07:00
Winson Chung 13c1c2cd65 Migrate to using DefaultDisplay
- Remove extra binder calls to get the default display

Bug: 140633033
Change-Id: I532645deac101a6065d90484b87a67b67aa717f5
2019-09-09 10:21:28 -07:00
vadimt 2bad570b40 Support for getting Launcher Pss by tests
Bug: 139137636
Change-Id: I8cad7dec07ce400cf927e3fc2ba9904fef942d9a
2019-09-06 16:50:51 -07:00
Samuel Fufa 6ef5b8abf4 Add nullcheck for VelocityTracker
Bug:134712476
Change-Id:I7834507a4e9aadf4d89c0ed6f3eba812df7425cd
2019-09-06 15:02:03 -07:00
Jon Miranda 4b9edfbbe5 Add tests for play promise icons.
Bug: 139021165
Change-Id: Ie1a049b283b70f6bd22b43c09aef263282cb0f56
Merged-In: I45469b7523d8aea12c34d460c7b69c571a415675
2019-09-06 21:57:04 +00:00
Samuel Fufa d3720c210b App title in Widget list shouldn't be actionable by a11y methods
Bug:139913027
Test:Manual
Change-Id: I2a5d5551d09ee2bc96444164ed77225a3b4a829a
2019-09-06 13:21:56 -07:00
Jon Miranda a87abbad31 resolve merge conflicts of 1bd96b1e96 to ub-launcher3-qt-future-dev
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: Ide6c914d4e69eb4fa70d6634780324cd45a21610
2019-09-06 11:35:34 -07:00
Jon Miranda f5197fce3d Add tests for play promise icons.
Bug: 139021165
Change-Id: I45469b7523d8aea12c34d460c7b69c571a415675
2019-09-05 15:45:51 -07:00