Commit Graph

33301 Commits

Author SHA1 Message Date
Samuel Fufa 79f803888e Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev
am: 4498241117

Change-Id: I10f1077df8f89c96f7ad3f35f333787568d238cd
2019-09-19 10:35:34 -07:00
TreeHugger Robot fb884ec895 Merge "Change onAppWidgetRemoved to public" into ub-launcher3-qt-future-dev 2019-09-19 17:25:20 +00:00
Samuel Fufa 4498241117 Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev 2019-09-19 17:15:22 +00:00
Samuel Fufa 791ed47320 Change onAppWidgetRemoved to public
Bug:141279939
Change-Id: I02aa7b8b54cbd75ebe34acd88c8006c23c52f002
2019-09-19 10:11:45 -07:00
Pinyao Ting f98f4d9d07 plugin for user event logging
am: fefe2c8374

Change-Id: I5052db2cd1fc0b1bfa28d3eaf986a59df63801ac
2019-09-19 08:21:45 -07:00
Pinyao Ting fefe2c8374 plugin for user event logging
Bug: 140243695
Change-Id: If9c620aa10334b26ad9b489d6544201d38439fea
2019-09-19 07:53:09 -07:00
Winson Chung 075da3d352 Merge "Adding binder tracking support in tests" into ub-launcher3-master 2019-09-19 06:09:35 +00:00
Shashwat Razdan 0c2a248109 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
(cherry picked from commit ae084dafd9)
2019-09-19 05:08:54 +00:00
android-build-team Robot 113204b5e3 Snap for 5885124 from 757d62dcaa to qt-qpr1-release
Change-Id: I1ae67b5b52f9a70bbeb1fd317b8670e4f91e2c2d
2019-09-19 03:19:13 +00:00
android-build-team Robot 9b1ae27eb0 Snap for 5885561 from 5886a384ef to rvc-release
Change-Id: Idd0decb176541b6ea2ada8aed9294363920a60a5
2019-09-19 03:15:16 +00:00
Vadim Tryshev 5d299e88c2 [automerger skipped] Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev am: 37cc797fd0
am: 493ea23bfd -s ours
am skip reason: change_id I386c6ad29182170326c557252fe6e20a8d2af34a with SHA1 6d88752eeb is in history

Change-Id: I41ae40a1a2f5f747869e0a2f0a4664f543ea69a8
2019-09-18 19:40:37 -07:00
Vadim Tryshev 493ea23bfd Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev
am: 37cc797fd0

Change-Id: I0ab81659ea9aaf6b75cd1106bbbaf9c75c679a41
2019-09-18 19:33:40 -07:00
Vadim Tryshev 37cc797fd0 Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev 2019-09-19 02:13:44 +00:00
vadimt fead086f2d Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
Merged-in: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 01:18:46 +00:00
vadimt 6d88752eeb Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 00:59:32 +00:00
Samuel Fufa f28f843d74 Fix app crash on deep shortcut restore
Although the recovery logic for app shortcuts and deep shortcuts are
mostly the same, in deepshortcut's case we don't care about the
component name. This CL fixes the bug where we reset the intent if the
activity a deepshortcut points to is not found. resetting the intent is
problematic as we'll need the shortcut id (which is stored as an
extra on the intent) to recover the deep shortcut using pinned shortcuts.

Bug: 140819317
Change-Id: I22f0266b98a9f6175303cc92a85397e240443250
2019-09-19 00:59:19 +00:00
Winson Chung a879f9c481 Adding binder tracking support in tests
- Whitelist specific binder calls when handling touch during swipe up
  gestures
- Only track binding for touch handling and certain launcher lifecycle
  changes for now

Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
Bill Yi 410e9a11e2 [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours am: a7fd1427da -s ours am: 92a95bc537 -s ours
am: 47ea8eb8fd -s ours
am skip reason: subject contains skip directive

Change-Id: I103091d6efae8934b46a5fca7d3fe2d9fac0ee8f
2019-09-18 16:50:21 -07:00
Bill Yi 47ea8eb8fd [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours am: a7fd1427da -s ours
am: 92a95bc537 -s ours
am skip reason: subject contains skip directive

Change-Id: Iefb137b703cf19e3c419ab015bd0b386d9ae6279
2019-09-18 16:42:39 -07:00
Bill Yi eef01b7b80 [automerger skipped] Import translations. DO NOT MERGE am: d6feab9fca -s ours am: 638b36f628 -s ours
am: 4c0d862711 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie565602c4d25cff80ea061d17a0d760be7a393cd
2019-09-18 16:42:39 -07:00
Bill Yi 92a95bc537 [automerger skipped] Import translations. DO NOT MERGE am: 885dfb7134 -s ours
am: a7fd1427da -s ours
am skip reason: subject contains skip directive

Change-Id: I6ed30b3b83de7cc7c018b8e4ef53f8012f34e43a
2019-09-18 16:35:08 -07:00
Bill Yi 4c0d862711 [automerger skipped] Import translations. DO NOT MERGE am: d6feab9fca -s ours
am: 638b36f628 -s ours
am skip reason: subject contains skip directive

Change-Id: I01b9bdb1cee0f13cddee3692eaa386f43192cc6b
2019-09-18 16:35:08 -07:00
Bill Yi abaf436cb2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev
am: 24790aa3c8 -s ours
am skip reason: subject contains skip directive

Change-Id: I984662cb4a83e8a9536da7799a2f317c6facbb24
2019-09-18 16:28:09 -07:00
Bill Yi a7fd1427da [automerger skipped] Import translations. DO NOT MERGE
am: 885dfb7134 -s ours
am skip reason: subject contains skip directive

Change-Id: I515adc3e8a0a534fde521ec1f0ff909b53c28057
2019-09-18 16:28:08 -07:00
Bill Yi 638b36f628 [automerger skipped] Import translations. DO NOT MERGE
am: d6feab9fca -s ours
am skip reason: subject contains skip directive

Change-Id: Ib1e67bd2313fe62b99abb44723d5654195cc227a
2019-09-18 16:28:08 -07:00
TreeHugger Robot 24790aa3c8 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2019-09-18 23:18:38 +00:00
Sunny Goyal 3adf6ff5a2 Merging ub-launcher3-qt-qpr1-dev, build 5884665
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
2019-09-18 13:53:36 -07:00
Tony Wickham 2e71b8351c Update mIsBeingDragged in onTouchEvent(ACTION_DOWN) am: a0aee21fcd
am: c9c88ee0f1

Change-Id: I1d66b3173afd2ce3edffdbc89145707a58fcbe6e
2019-09-18 12:29:21 -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
Bill Yi 3cd719e63b Import translations. DO NOT MERGE
Change-Id: I2a1cabf4bef377ad5fb37b3329c4532f4ea71c85
Auto-generated-cl: translation import
2019-09-18 10:53:13 -07:00
Bill Yi d6feab9fca Import translations. DO NOT MERGE
Change-Id: Idcab9c726488667be60b5ea153f974ae27ff971a
Auto-generated-cl: translation import
2019-09-18 10:45:45 -07:00
Bill Yi 885dfb7134 Import translations. DO NOT MERGE
Change-Id: I70e8f100eea4f162ebd27217ea885cc52f390e56
Auto-generated-cl: translation import
2019-09-18 10:42:11 -07:00
Tony Wickham 1d61043002 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev am: 24fb1526e2
am: cdcfd98c05

Change-Id: Iecef9fc4fb5c1dd467581468f6b8edc5becc95fa
2019-09-18 08:18:42 -07:00
Tony Wickham cdcfd98c05 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev
am: 24fb1526e2

Change-Id: I59bf92b05d45c31705166e1211cf02ccbc348383
2019-09-18 08:12:41 -07:00
Tony Wickham 24fb1526e2 Merge "Allow scroll to clear all in 3 button+fallback mode" into ub-launcher3-qt-qpr1-dev 2019-09-18 14:54:20 +00:00
Jon Miranda 1fb549727f Fix BindWidgetTests. am: 6ed680258e
am: 7cfab69b1c

Change-Id: Icaf64c61ccd354b41e5cd0ed84059147c157ad8b
2019-09-17 21:59:35 -07:00
Jon Miranda 7cfab69b1c Fix BindWidgetTests.
am: 6ed680258e

Change-Id: Ifca5fc650f88bd18985f264ccf4d0c33698faf52
2019-09-17 21:52:57 -07:00
Tracy Zhou 5886a384ef Make sure that live tile overlay is added only once. am: 757d62dcaa
am: b74d814c7c

Change-Id: I011c987997e0d4c355f7157a7c37a02e4e30b0d8
2019-09-17 20:36:28 -07:00
Tracy Zhou b74d814c7c Make sure that live tile overlay is added only once.
am: 757d62dcaa

Change-Id: I55c1bfbdbbacc7a9884ad3289120ff71f0ecb53f
2019-09-17 20:30:03 -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
Tony Wickham 0638249b3e Allow scroll to clear all in 3 button+fallback mode
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
2019-09-17 15:10:33 -07:00
vadimt 8804a43d22 resolve merge conflicts of a24ed7267c to ub-launcher3-qt-future-dev
am: c708384087

Change-Id: I30c8c5b6541b7e5d149ae940513ea97269c61902
2019-09-17 14:44:33 -07:00
TreeHugger Robot 1cd69ab250 Merge "Adding recents test for 3P Launcher" into ub-launcher3-master 2019-09-17 21:18:19 +00:00
Sunny Goyal ed83cf6df0 Adding recents test for 3P Launcher
Bug: 140749967
Change-Id: I3644822accfd229d1e46ca5e43ad827aef776787
2019-09-17 13:41:10 -07:00
TreeHugger Robot 1ac3640c86 Merge "Adding in missing changes to ub-launcher3-master." into ub-launcher3-master 2019-09-17 20:06:10 +00: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 935cfb8633 Key by both package and user for list of active install sessions. am: c1322b6ac8
am: bf7371e510

Change-Id: I7b18a068f88ec3aef84d04d80b54f6252230bbc8
2019-09-17 12:06:21 -07: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