Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot d21505bcb7 Merge "Moving section names to model, to avoid an unnecessary hashmap" into ub-launcher3-master 2019-08-13 18:24:25 +00:00
TreeHugger Robot 10ed86af1d Merge "Build rule cleanup" into ub-launcher3-master 2019-08-13 00:57:42 +00:00
Alex Mang cdbf19aa60 Merge "Adding app search improvement flag" into ub-launcher3-master 2019-08-12 19:22:25 +00:00
Danning Chen f566d3f5d9 Merge "Create a HotseatPlugin interface." into ub-launcher3-master 2019-08-12 16:58:36 +00:00
android-build-team Robot d4c84f847c Snap for 5794870 from b6fcc1f46e to qt-qpr1-release
Change-Id: Iff69818a3bebf91316df2dda160128e27e4fe631
2019-08-10 23:08:15 +00:00
Danning Chen ba4077d9e0 Create a HotseatPlugin interface.
Change-Id: I382795262433879be4c4360fa12ab5bd1e41a297
2019-08-09 11:37:47 -07:00
Becky Qiu 90ea00b399 Log the event for swiping up to dismiss a task in Overview.
Test: manual
Bug: 137777105

Demo logging for dismissing a task:
  data {
    elapsed_timestamp_nanos: 70772067228810
    atom {
      launcher_event {
        action: DISMISS_TASK
        src_state: OVERVIEW
        dst_state: BACKGROUND
        is_swipe_up_enabled: true
      }
    }
  }

Change-Id: I5569b80e2e1f35661bc5e9e343c6c298791a1ec1
2019-08-09 10:57:05 -07:00
vadimt 3c523040cb Support for memory tests
am: c1a2764a6e

Change-Id: Ife853a32fa9e52f8993d25167af61dabc7fd64b8
2019-08-09 10:40:20 -07:00
Alex Mang d27e31995b Adding app search improvement flag
Bug: 125027540
Change-Id: I68fd7710b108e9f2fa1f5ff335326585a92deb23
2019-08-09 01:51:23 +00:00
android-build-team Robot c87bbeea6b Merge cherrypicks of [9169765, 9170440, 9170173, 9170474, 9170250, 9170251, 9170252, 9170462, 9170463, 9170464, 9170264, 9170422, 9170465] into qt-release
Change-Id: Ibd56f04c2e465a1ddb728e0ef98a900069f5f5a1
2019-08-08 21:26:17 +00:00
Tony a50cf9772a Don't end launcher components anim early even if it does nothing
The janky animation that ends on the home screen with an invisible
task on top is caused by the following scenario (for example):
- Quick switch from task A to task B
- After landing on B, but before we get the callback that it was
  successfully launched, switch back to A (or you could go to C)

Now we are animating back to A, but we are still waiting to hear
whether B was successfully launched. If we hear that the launch
was indeed successful, we dutifully clean up after ourselves  by
returning launcher to its default state. Unfortunately, that
clobbers the current animation that is scrolling back to A, and
we end up in the bad state where we are showing the default
launcher state even though we just launched task B and were
about to launch task A.

Normally we avoid cleaning up the state animation if the user
is still controlling it. The reason we weren't doing that here
is because we ended the launcher animation early even though
the window animation was still running. Instead, we should keep
the launcher animation running for the full duration, so that
it prevents a cleanup from occurring in the middle.

Bug: 138620399
Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1
(cherry picked from commit 03c548901f)
(cherry picked from commit c5555c459b)
2019-08-08 21:25:41 +00:00
vadimt c1a2764a6e Support for memory tests
Change-Id: I867a232a293f7bddbc630f563f18c0db94ac4b6e
2019-08-08 12:03:09 -07:00
Vinit Nayak 268e4ff95c Remove activityInfo from cache on package uninstall
We were keeping stale activityInfo objects from
package manager after an application got uninstalled.
We also were not removing task icons from the
cache after they were removed, which meant killing an
app and then re-opening would put 2 entries in the cache
since the two had unique process IDs.

fixes: 137731960
Test: Download app from play store, open it,
go to overview and observe that correct icon showing.
Uninstall it, download same app again, open it, and
in overview confirm that correct app icon is still showing

Change-Id: Icf482b0ad0ae66c10d52547582d8eeb2a544fb88
2019-08-08 11:11:03 -07:00
Miranda Kephart 96b355c994 Add distance threshold for assistant gesture fling
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
2019-08-08 15:23:24 +00:00
Hyunyoung Song a68fba3abf Build rule cleanup
Bug: 122333437
Change-Id: Iabb6dcc4e6615112fdf730f41fe39d34fdac8737
2019-08-08 02:02:20 -07:00
android-build-team Robot a29d19e079 Snap for 5788400 from eee1b0df6e to rvc-release
Change-Id: I896ee8869f2670c5a8c02802ab59b9f5c2ea6352
2019-08-08 03:13:12 +00:00
android-build-team Robot 39cfd39938 Snap for 5787825 from 103974c88f to qt-qpr1-release
Change-Id: I0bec4228965fde7c888c7aac21403ac98a8925e1
2019-08-08 03:10:35 +00:00
android-build-team Robot 170c1a15ea Snap for 5788294 from 652ee1e49b to qt-c2f2-release
Change-Id: I5ed696273f27853793703db968079363a36c292e
2019-08-08 03:10:20 +00:00
Tony eee1b0df6e Merge "Don't end launcher components anim early even if it does nothing am: c5555c459b am: dd3198b78b" into qt-r1-dev-plus-aosp am: 8cca88e9ca
am: 902f4bc2b7

Change-Id: Ia71ff893dfaf5b407603848397123fae9576d57b
2019-08-07 18:37:16 -07:00
Tony a0839a4e7f Don't end launcher components anim early even if it does nothing am: c5555c459b am: 652ee1e49b am: e232a2e208
am: f74bf2f7c9

Change-Id: I4bf88f141f2b7e300b2f3069de96423353a27323
2019-08-07 18:36:58 -07:00
Tony bf2c663baf Don't end launcher components anim early even if it does nothing am: c5555c459b am: 652ee1e49b am: b6fcc1f46e
am: d4a769be4c

Change-Id: Ic6dd0c053f1e008fbe7e1e45c86618dc1b9da7c5
2019-08-07 18:36:39 -07:00
Tony 902f4bc2b7 Merge "Don't end launcher components anim early even if it does nothing am: c5555c459b am: dd3198b78b" into qt-r1-dev-plus-aosp
am: 8cca88e9ca

Change-Id: I4731a2a4e9a455a14c6a7ce5ecd6b2abe3028cf9
2019-08-07 18:27:59 -07:00
Tony f74bf2f7c9 Don't end launcher components anim early even if it does nothing am: c5555c459b am: 652ee1e49b
am: e232a2e208

Change-Id: I9d4af81882238a855786244c7edb8ad6d0cc4ed3
2019-08-07 18:27:40 -07:00
Tony d4a769be4c Don't end launcher components anim early even if it does nothing am: c5555c459b am: 652ee1e49b
am: b6fcc1f46e

Change-Id: Ifd316f204b90e4021351ac79d211ed9012e7febe
2019-08-07 18:26:39 -07:00
Android Build Merger (Role) 8cca88e9ca Merge "Don't end launcher components anim early even if it does nothing am: c5555c459b am: dd3198b78b" into qt-r1-dev-plus-aosp 2019-08-08 01:15:48 +00:00
Tony b6fcc1f46e Don't end launcher components anim early even if it does nothing am: c5555c459b
am: 652ee1e49b

Change-Id: I0b1b5dfb8ba3b1483310c4566226f8d0d8578da3
2019-08-07 18:15:37 -07:00
Tony e232a2e208 Don't end launcher components anim early even if it does nothing am: c5555c459b
am: 652ee1e49b

Change-Id: I0981c5f23de9da16720a5f10e6d6fdede74dfc35
2019-08-07 18:15:37 -07:00
Tony 0c14faee6d Don't end launcher components anim early even if it does nothing am: c5555c459b
am: dd3198b78b

Change-Id: I6cc7969dee6600e476182f86252d912541e19076
2019-08-07 18:15:36 -07:00
Tony 652ee1e49b Don't end launcher components anim early even if it does nothing
am: c5555c459b

Change-Id: I46a657c3bce2b034e7f38b91f66acc126055de4a
2019-08-07 18:05:37 -07:00
Tony dd3198b78b Don't end launcher components anim early even if it does nothing
am: c5555c459b

Change-Id: I0ae148eaed1e78833f54449281c37f11acf889a4
2019-08-07 18:05:35 -07:00
Sunny Goyal e529a86fbd Adding support for storing keywords in iconCache
Change-Id: I1183e63a6556ebfb3eee5df23d149e09728193a9
2019-08-07 15:51:25 -07:00
Sunny Goyal f63fc3cc63 Merge "Merging ub-launcher3-qt-r1-dev, build 5782058 am: c128131a10 am: 530b284a90" into qt-qpr1-dev-plus-aosp
am: cfb3bc4834

Change-Id: I5cf5abd22b303140c7f37f5a68bfdc72848c21ad
2019-08-07 11:22:22 -07:00
Sunny Goyal 64f3d4ab72 Merging ub-launcher3-qt-r1-dev, build 5782058 am: c128131a10 am: 103974c88f
am: a938be7c06

Change-Id: I1b0967a7cbf3000d55f09744b51b7e8009cf1323
2019-08-07 11:18:47 -07:00
Tony c5555c459b Don't end launcher components anim early even if it does nothing
The janky animation that ends on the home screen with an invisible
task on top is caused by the following scenario (for example):
- Quick switch from task A to task B
- After landing on B, but before we get the callback that it was
  successfully launched, switch back to A (or you could go to C)

Now we are animating back to A, but we are still waiting to hear
whether B was successfully launched. If we hear that the launch
was indeed successful, we dutifully clean up after ourselves  by
returning launcher to its default state. Unfortunately, that
clobbers the current animation that is scrolling back to A, and
we end up in the bad state where we are showing the default
launcher state even though we just launched task B and were
about to launch task A.

Normally we avoid cleaning up the state animation if the user
is still controlling it. The reason we weren't doing that here
is because we ended the launcher animation early even though
the window animation was still running. Instead, we should keep
the launcher animation running for the full duration, so that
it prevents a cleanup from occurring in the middle.

Bug: 138620399
Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1
(cherry picked from commit 03c548901f)
2019-08-07 17:56:34 +00:00
Android Build Merger (Role) cfb3bc4834 Merge "Merging ub-launcher3-qt-r1-dev, build 5782058 am: c128131a10 am: 530b284a90" into qt-qpr1-dev-plus-aosp 2019-08-07 17:53:58 +00:00
Sunny Goyal 3344ead807 Merging ub-launcher3-qt-r1-dev, build 5782058 am: c128131a10
am: 530b284a90

Change-Id: I9fc9b85891806b7cf401fcc258162531c54b1e12
2019-08-07 10:53:26 -07:00
Sunny Goyal a938be7c06 Merging ub-launcher3-qt-r1-dev, build 5782058 am: c128131a10
am: 103974c88f

Change-Id: I83a62783f021122d04ca676b94b1b7c86ab4f101
2019-08-07 10:52:58 -07:00
Sunny Goyal 103974c88f Merging ub-launcher3-qt-r1-dev, build 5782058
am: c128131a10

Change-Id: I0ffb8dfc13fa2c7a23015c1324abf1f15f981bc8
2019-08-07 10:40:16 -07:00
Sunny Goyal 530b284a90 Merging ub-launcher3-qt-r1-dev, build 5782058
am: c128131a10

Change-Id: I0f91de66acc9f6f0425d3f5da6d2c8a0b8863cca
2019-08-07 10:40:16 -07:00
Sunny Goyal 64a6fb063e Merge "Revert "Use new onTaskListUpdated() callback"" into ub-launcher3-master 2019-08-07 14:49:52 +00:00
Sunny Goyal 54bbbdfa61 Revert "Use new onTaskListUpdated() callback"
This reverts commit a04997b081.

Reason for revert: Platform master has API changes, and launcher-master should still map to qpr branch

Change-Id: Ib201c71b5557715d585d322ec2a1a528e352e61c
2019-08-07 13:49:41 +00:00
Vinit Nayak 0664d9ad09 Merge "Use new onTaskListUpdated() callback" into ub-launcher3-master 2019-08-06 22:40:23 +00:00
Sunny Goyal 0af5134bc5 Moving section names to model, to avoid an unnecessary hashmap
Change-Id: I9620367e0c2203b2290a4a188411ccb9174ae130
2019-08-06 15:21:36 -07:00
Sunny Goyal c128131a10 Merging ub-launcher3-qt-r1-dev, build 5782058
Test: Manual

Bug:132455160 P1 [Gesture Nav] Home to Overview Transition Improvement
Bug:133472746 P1 "Now playing History" widget can't be added to desired area.
Bug:135558924 P4 Pixel Launcher app crash after applying custom Style
Bug:136282913 P1 Swipe up from Assistant Fulfillment Card Jank
Bug:136591785 P2 Tune swipe up to home animation
Bug:138117089 P1 Random misses in GL comp on Pixel 3a/XL
Bug:138609751 P2 Trying to start an app before it was downloaded caused pixel launcher crash
Bug:138620399 P1 Quick switch flicker / artifacts
Bug:138646754 P4 Switching from 3-button to gesture nav - all apps disappeared
Bug:138793362 P4 With animation disabled, Launcher crashing on docking apps in split screen from overview screen.
Change-Id: I4f3b286ae79566fd53072df621be98646d0457d7
2019-08-06 12:09:08 -07:00
Pinyao Ting 5191e98a3f [automerger skipped] show dot in deep shortcuts when notification contains exactly identical set of person
am: e4061fc931 -s ours
am skip reason: change_id I975524e28168c10a186cdc24b188c161faf433cf with SHA1 49a3e699f9 is in history

Change-Id: I0703a66ae9d6e8c0cad20016082d3aee374cf7bd
2019-08-06 09:45:59 -07:00
Pinyao Ting e4061fc931 show dot in deep shortcuts when notification contains exactly identical
set of person

Bug: 132336512
Change-Id: I975524e28168c10a186cdc24b188c161faf433cf
Merged-In: I975524e28168c10a186cdc24b188c161faf433cf
2019-08-05 23:31:35 -07:00
Pinyao Ting eafd0c7a77 Merge "show dot in deep shortcuts when notification contains exactly identical set of person" into ub-launcher3-master 2019-08-06 05:56:06 +00:00
Pinyao Ting 49a3e699f9 show dot in deep shortcuts when notification contains exactly identical
set of person

Bug: 132336512
Change-Id: I975524e28168c10a186cdc24b188c161faf433cf
2019-08-05 20:41:58 -07:00
Vadim Tryshev 1c7b8267d9 Merge "Adding system health permissions to Launcher3 tests" into ub-launcher3-qt-qpr1-dev
am: aea3d051c4

Change-Id: Id5695b29f108646cf846fe74d5c2abaef055c9b7
2019-08-05 19:06:37 -07:00
Vadim Tryshev aea3d051c4 Merge "Adding system health permissions to Launcher3 tests" into ub-launcher3-qt-qpr1-dev 2019-08-06 01:41:01 +00:00