Commit Graph

34630 Commits

Author SHA1 Message Date
vadimt 9c524db4c8 Reenabling some widget tests
am: 599b1fc4d3

Change-Id: I9d00e745ea026a796a0edd1c3c65d057349098ad
2019-09-12 15:05:04 -07:00
vadimt 627e0aefb6 Disable currently failing widget tests
am: d81f60f324

Change-Id: I496d02f2b9f23a7f91ae7627ea08f22576d8bf90
2019-09-12 15:04:50 -07:00
Jon Miranda 73fef775cd [automerger skipped] Merge "Ensure the icon load request matches the ItemInfo for the floating view." into ub-launcher3-qt-qpr1-dev
am: 8aee0b2cb5 -s ours
am skip reason: change_id Ib3767ec5c2b4eb22b35e5148879e11d2c1b28e3c with SHA1 08857d2f13 is in history

Change-Id: I5fd57a6dfd77bf99dd4d8fe915bbcbe5145be738
2019-09-12 15:04:30 -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
Vadim Tryshev de5e5afae5 Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-dev 2019-09-12 20:32:00 +00:00
vadimt 6b3cbf116d Fixing widget tests
Bug: 140837771
Change-Id: If5dcf455b1a87b06c883dd1f0d46c6748e6d1a94
2019-09-12 12:49:59 -07: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
android-build-team Robot 6eb4b1ef6a Snap for 5870090 from 56c3141e91 to rvc-release
Change-Id: Ib3f0bb8cc50d4d60e8a2f8d63f1f8d4d7e748805
2019-09-12 03:25:19 +00:00
android-build-team Robot db8d3902b2 Snap for 5869577 from 241cd90203 to qt-qpr1-release
Change-Id: I9013ccb5f59180cad0c9ee3ecdeb97ea82e3375f
2019-09-12 03:22:47 +00: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
android-build-team Robot 0dcd1fe17e Merge cherrypicks of [9374574] into rvc-release
Change-Id: I0a6583685dadab9ad113da855d260719b86c901e
2019-09-11 23:47:13 +00:00
Jon Miranda 6301570222 [DO NOT MERGE] Fix NumberFormatException for launcher.
Fix is already in ub-launcher3-master: I5094b22ddc77c45590cea1a5f5dead0dc7580abf

Bug: 140076379
Change-Id: I01948cf71ef2e058dc1ef8c506f174856ee09e0d
(cherry picked from commit d49fe3130e)
(cherry picked from commit 241cd90203)
2019-09-11 23:47:08 +00:00
Tony Wickham fc520edbc6 Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev 2019-09-11 23:42:23 +00:00
Xin Li 56c3141e91 [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 923156a720 -s ours am: 942aeb2c4c -s ours
am: 0fb01f7cf9 -s ours
am skip reason: change_id I157ff596deb419a57eca32a9b8d954d76294f627 with SHA1 ecb37ee845 is in history

Change-Id: Ifc6bb76e519332399a6e3fee63a461b632a6431d
2019-09-11 15:47:33 -07:00
Xin Li 0fb01f7cf9 [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 923156a720 -s ours
am: 942aeb2c4c -s ours
am skip reason: change_id I157ff596deb419a57eca32a9b8d954d76294f627 with SHA1 ecb37ee845 is in history

Change-Id: Iea5018b78e870b8667b25b79029f928077172d74
2019-09-11 14:55:53 -07:00
Tony Wickham 51f2919815 Replace OnGlobalLayoutListener with StateListener to update predictions
Previously we were using OnGlobalLayoutListener, which is only called
when AllAppsContainerView or a child is re-laid out or visibility
changes to or from GONE. Since we no longer relayout when already
scrolled to the top, we need a better hook to check whether all apps has
changed visibility for the purpose of updating predictions.

Bug: 140823188
Change-Id: I7c4a0d94c529eb86b55729c75843c8b0bd673d8c
2019-09-11 14:41:52 -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
Jon Miranda 36b889c12c [automerger skipped] [DO NOT MERGE] Fix NumberFormatException for launcher. am: 241cd90203
am: 21d1119070 -s ours
am skip reason: subject contains skip directive

Change-Id: I3b186220920c7c7ffaa04eda46984294398a5fb4
2019-09-11 14:22:56 -07:00
Jon Miranda 21d1119070 [DO NOT MERGE] Fix NumberFormatException for launcher.
am: 241cd90203

Change-Id: I4b7ba388bb96b0c3c4c8b98649e05c5dd51405e0
2019-09-11 14:15:39 -07:00
Xin Li 942aeb2c4c [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
am: 923156a720 -s ours
am skip reason: change_id I157ff596deb419a57eca32a9b8d954d76294f627 with SHA1 ecb37ee845 is in history

Change-Id: I299877eaa8613b5c246f70fa73d0e9094d911799
2019-09-11 14:08:18 -07:00
Sreyas 78010c1958 Refactoring RecentsView to handle non-TaskViews
Change-Id: I0bc28ef670a1dad9a3912ca5360c9bab18afd4b2
2019-09-11 14:07:26 -07: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
TreeHugger Robot f3fd35d5f2 Merge "Adding flickerlib test" into ub-launcher3-master 2019-09-11 20:33:01 +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
android-build-team Robot 49e516b148 Merge cherrypicks of [9372739] into qt-qpr1-release
Change-Id: Ib0a6069fd9daa1ad9137d5c80d052ea05250015b
2019-09-11 19:54:56 +00:00
Jon Miranda 9b82a41411 [DO NOT MERGE] Fix NumberFormatException for launcher.
Fix is already in ub-launcher3-master: I5094b22ddc77c45590cea1a5f5dead0dc7580abf

Bug: 140076379
Change-Id: I01948cf71ef2e058dc1ef8c506f174856ee09e0d
(cherry picked from commit d49fe3130e)
(cherry picked from commit 241cd90203)
2019-09-11 19:54:51 +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
vadimt 5e742772d0 Adding testing for opening a widget
Bug: 140252951
Change-Id: Ic1c867db602f1890b74e7b539b44b2a440267384
2019-09-11 12:36:46 -07:00
Bill Yi 6c6790f2b7 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev
am: 1826664ef9 -s ours
am skip reason: subject contains skip directive

Change-Id: I90f0a48c36ba9a983203936722da6fde56fd636b
2019-09-11 11:07:40 -07:00
TreeHugger Robot eabdaf764b Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-09-11 17:50:02 +00:00
TreeHugger Robot 1826664ef9 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2019-09-11 17:45:11 +00: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
Jon Miranda 241cd90203 [DO NOT MERGE] Fix NumberFormatException for launcher.
Fix is already in ub-launcher3-master: I5094b22ddc77c45590cea1a5f5dead0dc7580abf

Bug: 140076379
Change-Id: I01948cf71ef2e058dc1ef8c506f174856ee09e0d
(cherry picked from commit d49fe3130e)
2019-09-11 16:56:53 +00:00
Bill Yi abe7d0fd72 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia44750be55f79536e9f88ecef0135183dd3a7851
2019-09-11 03:26:19 -07:00
Bill Yi 3024e1aa1d Import translations. DO NOT MERGE
Change-Id: I5e076cf299722d30bed2804ef3c6f87875c43237
Auto-generated-cl: translation import
2019-09-11 03:25:42 -07:00
android-build-team Robot fc89fc0b16 Snap for 5867030 from 151970d535 to qt-qpr1-release
Change-Id: I6599936575b56b690dd1f23adc38c3f92deb2feb
2019-09-11 03:12:28 +00:00
android-build-team Robot f09c82d663 Snap for 5867156 from e1c1b76884 to rvc-release
Change-Id: I0e086bb737ede5215e234ea7b6cbd7d47bc0ba68
2019-09-11 03:08:49 +00:00
vadimt 599b1fc4d3 Reenabling some widget tests
Bug: 140837771
Change-Id: I437f39b4a7f4b518551a157858c9b1a4812ee65d
2019-09-10 18:37:28 -07:00
Tracy Zhou f7b5d3992a Merge "ub-launcher3-master should track R sdk" into ub-launcher3-master 2019-09-10 21:57:22 +00:00
Tracy Zhou a44feade81 ub-launcher3-master should track R sdk
Bug: 140771636
Test: manual
Change-Id: I459ab29f436867ad8ac3c22efadb43ec42f8a572
2019-09-10 14:34:35 -07:00
vadimt d81f60f324 Disable currently failing widget tests
Change-Id: I2009b9c6f11a698bcf12a0b5ba97f98262fcee54
2019-09-10 13:58:22 -07:00
Hyunyoung Song e1c1b76884 Merging from ub-launcher3-qt-qpr1-dev @ build 5834630 am: 151970d535
am: b6d7a85a2b

Change-Id: If79242dd021c9a2c3fa6e1a87a5c8d792e45dc1a
2019-09-10 11:26:04 -07:00
Hyunyoung Song b6d7a85a2b Merging from ub-launcher3-qt-qpr1-dev @ build 5834630
am: 151970d535

Change-Id: I62da9e8c0c5eb1d7b9221c5a869ff2a39ce947c8
2019-09-10 11:19:39 -07:00