summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Launcher3: exclude from recentscretin452019-12-121-0/+1
| | | | Change-Id: Iccbd953241886dbbda01e38225123dfd1761accc
* Launcher3: Google Feed integrationEdward Cross2019-12-1211-8/+240
| | | | | | | | If Google Search is installed, the Google Feed can be found at the -1 screen (which is the very left). This feature is enabled by default. Change-Id: I495196818699fd378cd60e6dd61b07a0ab951762
* Create LineageLauncherJoey2019-12-123-1/+154
| | | | | | | Extends Launcher, will hold our customizations Change-Id: I4a398b624ac60edfed78e4db8e56eb767ffb753e Signed-off-by: Joey <joey@lineageos.org>
* Trebuchet: update build configsJoey2019-12-122-11/+13
| | | | | Change-Id: I072a85e068de4017c8d401785a89dc49296060cf Signed-off-by: Joey <joey@lineageos.org>
* Launcher3: Fix launcher preview renderingpaphonb2019-12-121-3/+14
| | | | | | Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> Change-Id: I8c6fc263a3021f3ff929bc75b2730962b29d3758 Signed-off-by: DennySPB <dennyspb@gmail.com>
* Merge cherrypicks of [9540994, 9540080, 9540966, 9540888, 9540238, 9540889, ↵android-build-team Robot2019-10-114-6/+46
|\ | | | | | | | | | | 9540890, 9540891, 9540562, 9540996, 9540997, 9540998, 9540999, 9541000, 9540968, 9540969, 9540081, 9541003, 9539963, 9541104, 9541105, 9541144, 9541145, 9541146, 9541147, 9541148, 9541149, 9540970, 9541150, 9541152] into qt-qpr1-b-release Change-Id: I757110e1b8cf1a21acc82cf12ed5e08259bf0166
| * Fix quickswitch flickers/ignored swipesTony Wickham2019-10-113-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't set current page to running task when applying load plan, if we are already settling on a new task to launch. - When starting a new task, finish to the running app if that's the task being started (should not happen with above change) - When disabling free scroll mode, don't snap to a page if we're already on it. This was setting mNextPage so the first check was falsing. Bug: 142068081 Change-Id: I5b392d9726a81c51718d2f94eee6cd4f78b61f69 Merged-In: I5b392d9726a81c51718d2f94eee6cd4f78b61f69 (cherry picked from commit af33f2c9d4063c2ad95a92777cbd5e66d81d3fab) (cherry picked from commit 4d86c804baf6afb9fad0592ab062a4dba6998a03)
| * Don't allow scrolling RecentsView outside navbar during quickswitchTony Wickham2019-10-111-0/+27
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once the inputProxy (OverviewInputConsumer) was enabled, it was never disabled. And while it was enabled, touches above the nav bar would go through to launcher, allowing you to scroll RecentsView (for example) during quick switch transitions. This breaks some assumptions, since it doesn't go through our normal shared swipe state logic that cancels the animation, updates the new end target (e.g. NEW_TASK vs LAST_TASK), etc. Thus, if you tried returning to LAST_TASK via this route, we would end up starting it as a new activity instead of resuming the existing one, causing a flicker (I guess because that TaskView is hidden). Test: - Swipe up from task A to home (to enable input proxy) - Open A - Swipe to B, and during transition scroll back to A from the center of the screen Before, this caused a flicker, now the last scroll is ignored. TODO: we should increase the nav region during quick switch to make it easier to continue scrolling Bug: 136829198 Bug: 138620399 Change-Id: I5ffb53743b728e1909066c5dd18cc9308aff2c7e (cherry picked from commit c9654eb09158a9878d7ff8fc9e588ec2d4903318) (cherry picked from commit 2784315f7d62ceea51651e57eb0348f23fb57c59) (cherry picked from commit 80090d579fc10f4dcb985259b6b70efcc27bd062)
* Snap for 5907400 from 79d6b30dce0eddcdecad4646018284a4db09829b to ↵android-build-team Robot2019-09-281-0/+5
|\ | | | | | | | | | | qt-qpr1-release Change-Id: I31f36b0866a15da09a999ea9a2dbf7e07e32fb6f
| * Fix NPE when trying to construct WorkspaceItemInfo with null intent data.Jon Miranda2019-09-241-0/+5
| | | | | | | | | | | | | | | | | | We change the way we parse the install queue; so this seems to be a rare case when trying to flush an install queue from an old apk with a launcher apk with the new parsing changes. Bug: 140935140 Change-Id: I14db4c3f70ed2e1bc5ad31dec7e6473cd6f8f13c
* | Snap for 5895359 from d2d58656a4ac1da8580c3636a681f36cba0c1ba9 to ↵android-build-team Robot2019-09-241-0/+4
|\| | | | | | | | | | | qt-qpr1-release Change-Id: I05de7323b6e2ab3617eb0e14e30467c67a4be797
| * Don't crash when swiping up if there are no TaskViewsTony Wickham2019-09-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | This can happen in LockTask mode, after enabling Overview. In that case, you are locked to the current task, but are allowed to go to overview but no tasks are shown there. Bug: 139917483 Change-Id: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6 Merged-In: I2180cc5e72c343977ea53cc02907ed8dac0f8bc6 (cherry picked from commit 60bf8c117b2388a8f243f20e673c29656548be4a)
* | Snap for 5892339 from 3adf6ff5a2de10a131e4949cec622fc228d8dbd4 to ↵android-build-team Robot2019-09-2116-45/+122
|\| | | | | | | | | | | qt-qpr1-release Change-Id: I54885c11c1e51f4fb660ec9e391166caead6dc13
| * Merging ub-launcher3-qt-qpr1-dev, build 5884665Sunny Goyal2019-09-1816-45/+122
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual Bug:135864059 P4 [Live Tiles] Empty launcher Bug:139137636 P2 Create memory tests for Launcher Bug:139281702 P2 [Enterprise - Cloud DO] GSOC and Mobile Utilities launcher icons are in broken state Bug:140837771 P1 Failing test: AddConfigWidgetTests and AddWidgetTests are failing Bug:141024521 P2 Tapping nav bar during quick switch causes scroll animation to cancel and not resume Bug:141184247 P1 Clear all button not present in fallback recents in 3-button mode Change-Id: I99f4db995a2af5959d5be4182f4e47bb67c9cbc4
| | * Update mIsBeingDragged in onTouchEvent(ACTION_DOWN)Tony Wickham2019-09-181-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Merge "Allow scroll to clear all in 3 button+fallback mode" into ↵Tony Wickham2019-09-183-4/+10
| | |\ | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | | * Allow scroll to clear all in 3 button+fallback modeTony Wickham2019-09-173-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't calling onSwipeUpToRecentsComplete(), which meant we kept the disallowScrollToClearAll from prepareRecentsUi indefinitely. Also don't update the icon scale if it is supposed to be scaled down, to avoid it from scaling up and overlapping with the app window. Fixes: 141184247 Change-Id: I49406764373e7121e289da7477dcbb58d0b98fd5
| | * | Fix BindWidgetTests.Jon Miranda2019-09-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broken by change I03c31bb308fc496b9fc633c2fde23ae4568f8c44. Bug: 139281702 Test: Ran BindWidgetTest with 8/8 successful. Change-Id: I6a03744c9cd919316ff27b12c50acc70c91d47fa
| | * | Merge "Support for tests that a leak is detected" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-173-0/+39
| | |\ \
| | | * | Support for tests that a leak is detectedvadimt2019-09-173-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 139137636 Change-Id: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5 Merged-in: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
| | * | | Key by both package and user for list of active install sessions.Jon Miranda2019-09-177-22/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the bug where items are left on the home screen for the wrong user. Bug: 139281702 Change-Id: I03c31bb308fc496b9fc633c2fde23ae4568f8c44
| | * | | Make sure that live tile overlay is added only once.Tracy Zhou2019-09-162-5/+21
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 d3ef57b4ddb635580fc5898d22b31193894cda60) (cherry picked from commit 4fa6f63ffd7a5ab230d17e8401d29cae3e5440b8)
| | * | Fully qualifying @Ignorevadimt2019-09-122-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Strangely, @Ignore-s won't be recognized in ub-launcher-master Bug: 140837771 Change-Id: Ie5e4911d4812d396826b50024943c14c6bfe3376
| | * | Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-132-0/+3
| | |\ \
| | | * | Disable failing widget testsvadimt2019-09-122-0/+3
| | | |/ | | | | | | | | | | | | | | | | Bug: 140837771 Change-Id: Ibba7769543e682315ea23640f68416defa85f365
* | | | Snap for 5885124 from 757d62dcaa25f368750e5bdf629c407eb118490a to ↵android-build-team Robot2019-09-192-5/+21
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: I1ae67b5b52f9a70bbeb1fd317b8670e4f91e2c2d
| * | | Make sure that live tile overlay is added only once.Tracy Zhou2019-09-162-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 d3ef57b4ddb635580fc5898d22b31193894cda60) (cherry picked from commit 4fa6f63ffd7a5ab230d17e8401d29cae3e5440b8)
* | | | Snap for 5876498 from a7a1b57bc8b211ca64598aa42e83eb21789056b9 to ↵android-build-team Robot2019-09-1454-306/+879
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: I866d5ec8927a6212cd51532492d91c88d6822cc8
| * | | Merging ub-launcher3-qt-qpr1-dev, build 5872416Hyunyoung Song2019-09-1254-306/+879
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Fix the issue deep shortcuts cannot be added to workspace viaPinyao Ting2019-09-122-35/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | voice/switch access Bug: 140405990 Change-Id: Ie54d9c738fc51445f3aa49458ff4fc1dd6e4fc67 Merged-In: Ie54d9c738fc51445f3aa49458ff4fc1dd6e4fc67 (cherry picked from commit 8a739f9511cc3833fdd9df33ce35bd6126ba1ea4)
| | * | Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-121-1/+1
| | |\ \
| | | * | Fixing widget testsvadimt2019-09-121-1/+1
| | | |/ | | | | | | | | | | | | | | | | Bug: 140837771 Change-Id: If5dcf455b1a87b06c883dd1f0d46c6748e6d1a94
| | * | Fix failing test testPromiseIcon_addedFromEligibleSession.Jon Miranda2019-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Test: Ran tests on device Bug: 140819614 Change-Id: I8ee6836d3a06f315518aa4829c8e2ddf8cf5f74d
| | * | Merge "Replace OnGlobalLayoutListener with StateListener to update ↵Tony Wickham2019-09-111-7/+11
| | |\ \ | | | | | | | | | | | | | | | predictions" into ub-launcher3-qt-qpr1-dev
| | | * | Replace OnGlobalLayoutListener with StateListener to update predictionsTony Wickham2019-09-111-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | Merge "Fix bug where existing icon is removed when install session is ↵TreeHugger Robot2019-09-112-4/+36
| | |\ \ \ | | | | | | | | | | | | | | | | | | abandonded." into ub-launcher3-qt-qpr1-dev
| | | * | | Fix bug where existing icon is removed when install session is abandonded.Jon Miranda2019-09-112-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * | | | Merge "Adding support for building a "spring like animation" with ↵TreeHugger Robot2019-09-112-12/+238
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | precomputed values" into ub-launcher3-qt-qpr1-dev
| | | * | | | Adding support for building a "spring like animation" with precomputed valuesSunny Goyal2019-09-092-12/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 138396187 Change-Id: Idba323090ecd9aca43c01414a32ab3b2e292e73e
| | * | | | | Adding testing for opening a widgetvadimt2019-09-111-0/+9
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | Bug: 140252951 Change-Id: Ic1c867db602f1890b74e7b539b44b2a440267384
| | * | | | When DeviceConfig/FeatureFlag value is different than the previousHyunyoung Song2019-09-115-13/+44
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | Reenabling some widget testsvadimt2019-09-104-12/+16
| | | |/ | | |/| | | | | | | | | | | | | Bug: 140837771 Change-Id: I437f39b4a7f4b518551a157858c9b1a4812ee65d
| | * | Disable currently failing widget testsvadimt2019-09-102-0/+5
| | | | | | | | | | | | | | | | Change-Id: I2009b9c6f11a698bcf12a0b5ba97f98262fcee54
| | * | Merge "Ensure the icon load request matches the ItemInfo for the floating ↵TreeHugger Robot2019-09-101-5/+13
| | |\ \ | | | | | | | | | | | | | | | view." into ub-launcher3-qt-qpr1-dev
| | | * | Ensure the icon load request matches the ItemInfo for the floating view.Jon Miranda2019-09-101-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the bug where the wrong icon is present during the app close animation. Bug: 138195597 Change-Id: Ife2c6ad135dde54583f6f2bb2caf3b1e9325e064 Merged-In: Ib3767ec5c2b4eb22b35e5148879e11d2c1b28e3c
| | * | | Merge "Add tests for play promise icons." into ub-launcher3-qt-qpr1-devJonathan Miranda2019-09-093-4/+119
| | |\ \ \
| | | * | | Add tests for play promise icons.Jon Miranda2019-09-063-4/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 139021165 Change-Id: Ie1a049b283b70f6bd22b43c09aef263282cb0f56 Merged-In: I45469b7523d8aea12c34d460c7b69c571a415675
| | * | | | Merge "Add distance threshold for assistant gesture fling" into ↵Miranda Kephart2019-09-092-7/+13
| | |\ \ \ \ | | | |_|/ / | | |/| | | | | | | | | ub-launcher3-qt-qpr1-dev
| | | * | | Add distance threshold for assistant gesture flingMiranda Kephart2019-08-082-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was possible to invoke the assistant accidentally. This change adds a minimum distance threshold before we register a fling (the same distance as used for drag, 55dp). Bug: 137106918 Test: manual; tested that accidental flings were much more difficult, but intentional invocations were still easy to register Change-Id: I40c8bd43c1a28c7b161467804a1e44746b8e92ef
| | * | | | Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-devTreeHugger Robot2019-09-093-9/+10
| | |\ \ \ \