Commit Graph

34630 Commits

Author SHA1 Message Date
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
Tony Wickham 3ff1000632 Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev
am: fc520edbc6

Change-Id: I8e5b43a582bd243e21f02b5a83b931f4f277eb95
2019-09-13 14:29:31 -07:00
android-build-team Robot 7d40aff5cc Merge cherrypicks of [9390149, 9390052] into rvc-release
Change-Id: I146e15690f15197a6324bee068a4a1f83e677a19
2019-09-13 21:23:38 +00:00
Jon Miranda b56ecb154e [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-13 21:23:34 +00:00
Jon Miranda f3cb1ce66a [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-13 21:17:02 +00:00
vadimt b1ccbd9def Fully qualifying @Ignore
Strangely, @Ignore-s won't be recognized in ub-launcher-master

Bug: 140837771
Change-Id: Ie5e4911d4812d396826b50024943c14c6bfe3376
2019-09-12 17:46:17 -07:00
vadimt a39d671d0b Reenabling some widget tests am: 599b1fc4d3
am: 9c524db4c8

Change-Id: I51e3f50bb7f923894250a8fd0643e630b60e1380
2019-09-12 17:15:22 -07:00
vadimt cc903dac63 Disable currently failing widget tests am: d81f60f324
am: 627e0aefb6

Change-Id: I091f174dbde07b4d1a871eaf551f4b737bbf09ce
2019-09-12 17:15:07 -07:00
Jon Miranda 6b7fe639df [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: 73fef775cd -s ours
am skip reason: change_id Ib3767ec5c2b4eb22b35e5148879e11d2c1b28e3c with SHA1 08857d2f13 is in history

Change-Id: I0c8efc866ff8a03981bc027a12b615516bd834d9
2019-09-12 17:14:49 -07:00
Jon Miranda d400bd52ef [automerger skipped] Merge "[DO NOT MERGE] Merge commit '735d1fe124812fd11feabc644c9a4f8482039f57' into manual_merge_735d1fe124812fd11feabc644c9a4f8482039f57" into ub-launcher3-qt-future-dev
am: 26f21d5231 -s ours
am skip reason: subject contains skip directive

Change-Id: I81eb3889ae1a50ac54c1326200e91b2d99869834
2019-09-12 17:14:29 -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
Vadim Tryshev 90f4536ae3 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev 2019-09-13 00:06:56 +00:00
vadimt b59f65d2d8 Disable failing widget tests
Bug: 140837771
Change-Id: Ibba7769543e682315ea23640f68416defa85f365
2019-09-12 17:05:39 -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
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
Hyunyoung Song a7a1b57bc8 Merging ub-launcher3-qt-qpr1-dev, build 5872416
Test: Manual

Bug:121280703 P2 Finish implementation of PortraitLandscape annotation for tests
Bug:135633159 P3 [QPR] Promise icons on home screen
Bug:135638690 P1 [QPR] On-device app search
Bug:137106918 P2 UX: Accidental NGA triggering when hitting Undo actions in apps
Bug:137200188 P3 Home screen app title disappears during animation
Bug:138195597 P2 Wrong icon animated on return to home screen
Bug:138396187 P1 Swipe and hold from an app no longer uses spring to animate adjacent task
Bug:138729157 P1 [Flaky test] java.lang.AssertionError: http://go/tapl : want to fling backwards in widgets, flung back, but the current state is not WIDGETS; Unexpected launcher object visible: workspace
Bug:138729456 P1 [Flaky test] java.lang.AssertionError: http://go/tapl : Can't find an object with selector: BySelector [CLASS='\Qandroid.widget.TextView\E', PKG='\Qcom.google.android.apps.nexuslauncher\E', TEXT='\QShortcut 3\E'] (visible state: Workspace)
Bug:138964490 P1 Support DeviceConfig to drive ToggleableFlags
Bug:139021165 P2 [TEST TRACKER] [QPR] Promise icons on home screen
Bug:139137636 P2 Create memory tests for Launcher
Bug:139551306 P4 [Polish] Reduce shelf paddings in Overview
Bug:139885365 P3 App open animation different between launcher suggested apps and launcher home screen/drawer
Bug:139918680 P2 [a11y] Talkback shouldn't keep focusing on the background item and speak the description of the background item again after entering Widget list.
Bug:140076379 P1 Launcher ub-launcher3-qt-qpr1-dev Branch Build Keeps Crashing due to Exception
Bug:140252951 P2 Add widget launch test.
Bug:140308849 P2 Jank during swipe up to home, especially noticeable after pausing first
Bug:140311911 P2 Flake in Launcher tests: java.lang.AssertionError: Stable state != state: OverviewState, LauncherState
Bug:140405990 P2 [a11y] Unable to add shortcut to Home screen by Voice access or Switch access.
Bug:140819614 P1 If an install session is abandoned for an already installed app, the corresponding icon is removed
Bug:140823188 P1 AppPredictionsUITests failing
Bug:140837771 P1 Failing test: AddConfigWidgetTests and AddWidgetTests are failing
Change-Id: I1efae6216c53b1fee3e105c9356ed43c4bf46c6e
2019-09-12 15:22:35 -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
Sreyas 04850948f2 Refactoring RecentsView to handle non-TaskViews
am: 78010c1958

Change-Id: Ibcc968518e53f805c2b8985f6e305503e7edf698
2019-09-12 15:11:52 -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
vadimt 87b871eaee Adding testing for opening a widget
am: 5e742772d0

Change-Id: I0109fa62c88714584ec84c4c03a85a7924d4c9d5
2019-09-12 15:05:33 -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