Commit Graph

20478 Commits

Author SHA1 Message Date
Samuel Fufa b641ac2a62 Log Hotseat onboarding user actions
+ Resolve notifiaciton dot scale issue

Bug: 147336566
Bug: 148232056
Change-Id: I0120dc183a876fda38f4682425697378c7be20f3
2020-02-12 10:02:53 -08:00
vadimt 047812a906 Remove test testPressRecentAppsLauncherAndGetOverview
It tests UiDevice.pressRecentApps(), which we don't use, so we don't
need to test it.

Bug: 131115533
Change-Id: I3a1b31f3b8368e3c848c888a5a27577faa940832
2020-02-11 19:15:59 -08:00
vadimt b545b68b3c Fixing some activity leaks
Bug: 139137636
Change-Id: I36055ac278879314d0afe6acf080f0082990113f
2020-02-11 18:33:22 -08:00
Vadim Tryshev 47a73672db Merge "Verifying events from TouchInteractionService" into ub-launcher3-master 2020-02-11 01:46:53 +00:00
Sunny Goyal 9f56a2f55a Using Display listener for landscape/seascape changes
Bug: 146150882
Change-Id: Idd2ef053bd10d9add93a1366e49c0e231f2c391b
2020-02-10 16:57:55 -08:00
TreeHugger Robot faa400537b Merge "Removing tracing for "Launcher didn't initialize" flake" into ub-launcher3-master 2020-02-10 21:17:42 +00:00
vadimt 2e1e0d6bff Removing tracing for "Launcher didn't initialize" flake
The flake had disappeared, perhaps because of this logging, or,
hopefully, for some other reason.

Bug: 148313079
Change-Id: I636783d5fc71474dd443c143289c3ff74651835e
2020-02-10 12:47:42 -08:00
Jon Miranda d59b6c59c8 Disable All Apps spring.
Bug: 147302669
Change-Id: I36cf13e94cf2d418909df345a4e36d827ac7eedf
2020-02-10 12:18:42 -08:00
Samuel Fufa 28c3e4553a Sync prediction client and folders
- Notifies prediction client when a folder is converted into workspace
item as a result of losing all items but one.
- Notifies predction client when a folder is created from an item in the
workspace with no duplicates.

Bug: 148749638
Test: Manual
Change-Id: Ifd51a6fe2a40c8baf4d88e2dba1e5bdc925e1608
2020-02-08 16:19:53 -08:00
Samuel Fufa 9cd88ea0ca Merge "Prevent prediction updates while app is launching" into ub-launcher3-master 2020-02-08 23:14:24 +00:00
Samuel Fufa 1a3bde55c1 Prevent prediction updates while app is launching
Bug:148800229
Change-Id: Ide9d029139f5d25ac39c276b90b2a514c2679dc9
2020-02-08 14:42:28 -08:00
Evan Rosky 3ef159becd Connect split-screen things to systemui divider
Since divider stuff lives in sysui instead of framework

Bug: 133381284
Test: Manual, open 2 apps in split and drag-up to show
      recents.
Change-Id: If6740b7ee4829bf4cac6e829e81943f16a41f977
2020-02-07 16:10:15 -08:00
TreeHugger Robot 958995a771 Merge "Fixing race condition on test information provider" into ub-launcher3-master 2020-02-07 21:09:11 +00:00
Tony Wickham 619daaf82a Give current TaskView accessibility focus
Send TYPE_VIEW_FOCUSED in the following places:
- When page transition ends on a task
- When finishing state transition to overview
- When un-hiding the current running task view

Bug: 145647019
Change-Id: I7bb357ea60e1dea79daf2ad50efa51071e064da8
2020-02-07 12:38:34 -08:00
Sunny Goyal 5fffa47cac Fixing race condition on test information provider
Activity tracker is accessed on a non-UI thread, which can cause a non-initialized
Launcher to be treated as initialized

Bug: 149022794
Change-Id: I6634a6aff891592369c16469bbe95a9ea611819c
2020-02-07 12:37:44 -08:00
vadimt d633c9c7da Verifying events from TouchInteractionService
There is a guaranteed order in which TIS events will be registered
relative to other TIS events. However, relative to the touch events
arriving to the activity, TIS events can come in any order.

Now the event checker verifies 2 independent ordered event sequences:
from TIS, and “the rest” (Main).

Change-Id: I5872e0e3b0b498050a91c67105fbe4a29411375a
2020-02-07 11:46:03 -08:00
vadimt c71db98747 Increasing nav mode settlement timeout as an attempt to workaround nav
mode mismatch bug.

Bug: 148422894
Change-Id: I1295c1415a308ec461d302c9973309f4de77f984
2020-02-07 10:34:59 -08:00
Hongwei Wang 5a0ee40cf4 Resolve missing merge conflict
See also ag/10265874

Test: N/A
Change-Id: I3d621ad5bb0d733468e6a642842f065ea83d696a
2020-02-06 17:13:03 -08:00
TreeHugger Robot b3ea58d582 Merge "Separate 2-button mode check from ENABLE_OVERVIEW_ACTIONS" into ub-launcher3-master 2020-02-07 00:21:03 +00:00
TreeHugger Robot a8063bb660 Merge "Removing multidex support" into ub-launcher3-master 2020-02-06 23:36:24 +00:00
TreeHugger Robot 0c324cb195 Merge "Various icon cache fixes" into ub-launcher3-master 2020-02-06 23:22:31 +00:00
Tony Wickham 04fca1642c Separate 2-button mode check from ENABLE_OVERVIEW_ACTIONS
This will allow us to cleanly remove ENABLE_OVERVIEW_ACTIONS while still
keeping the shelf instead of actions in 2-button mode.

Bug: 143361609
Change-Id: I5cd43b6d3daeb527c7787b1cb81fae9179d8911c
2020-02-06 15:06:59 -08:00
Hongwei Wang 51c6fdf7c3 Merging from ub-launcher3-master @ build 6188107
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6188107.html

Change-Id: I84c1ea301508ba5f0f3d337a423cea8e61832c0d
2020-02-06 15:03:07 -08:00
Sunny Goyal 18204e4eea Various icon cache fixes
> Multiple instances of LauncherIcon created when
    LauncherIcons refers IconCache which in turn creates new LauncherIcons
> Widget icons are never cached as they were using low res icons
> Shortcut drag icons are not loaded synchronously
    when using PinItemRequest flow
> Wrong lastUpdatedTime is used in iconCache for shortcuts
> IconUpdateHandler does not ignore managedUser promise icons

Change-Id: Ie7eed68a30fad11d1861b6c70c380953a15ae1cf
2020-02-06 14:16:34 -08:00
Sunny Goyal 5c052b4a2e Removing multidex support
Bug: 148912608
Change-Id: Ib9ab922ec0c3b0f3c5e4a8f5ebc6220cac1e5516
2020-02-06 14:10:03 -08:00
TreeHugger Robot 61d639d756 Merge "Make LauncherState transitionDuration overridable at runtime" into ub-launcher3-master 2020-02-06 20:01:49 +00:00
Winson Chung 9b6f4a01e8 Merge "Close system windows when triggering alt-tab" into ub-launcher3-master 2020-02-06 04:52:55 +00:00
TreeHugger Robot c3b8ff4448 Merge "TAPL: Verifying pilferPointers events" into ub-launcher3-master 2020-02-05 19:28:20 +00:00
Tony Wickham c7203ad541 Make LauncherState transitionDuration overridable at runtime
This follows the pattern of most of the other state properties, and
allows us, for example, to extend the overview transition in 0-button
mode, but keep it shorter for other modes that don't travel as far.

Bug: 143361609
Change-Id: Ibf8142bf3f57bb73be826adb6f4a32c136ff56dc
2020-02-05 11:16:58 -08:00
TreeHugger Robot a82d30925f Merge "Rotate quickswitch task thumbnails" into ub-launcher3-master 2020-02-05 17:36:09 +00:00
Vinit Nayak 8648eee778 Rotate quickswitch task thumbnails
Previously we were only rotating
thumbnails if the difference between
them was portrait vs landscape, so
a thumbnail in seascape with the launcher
in landscape wouldn't be rotated.

fixes: 143892437, 148898206
Test: With launcher in portrait
* Thumbnail in reverse portrait,
landscape, seascape, normal
With launcher in landscape
* Thumbnail in seascape, normal,
reverse portrait, landscape
With launcher in seascape
* Thumbnail in seascape, normal,
reverse portrait, landscape

Change-Id: I060a5dfcbcbb2ac21624d2ac778f76562bd60f40
Original-Change-Id: I1dd82428c05e4338a90ddb7b381fe920735f7cfd
2020-02-04 21:59:28 -08:00
TreeHugger Robot 68dce811a8 Merge "Revert "Rotate quickswitch task thumbnails"" into ub-launcher3-master 2020-02-05 02:01:42 +00:00
Vinit Nayak b2beeaec06 Revert "Rotate quickswitch task thumbnails"
This reverts commit f8b1d414bb.

Reason for revert: causing test failure b/148898206

Change-Id: Iaefba406504dadf27e6f423b49165362ff48e2a3
2020-02-05 01:12:28 +00:00
TreeHugger Robot aa68a3624b Merge "OverviewActions: Fix action buttons in place" into ub-launcher3-master 2020-02-04 23:22:43 +00:00
TreeHugger Robot 959cfaa58e Merge "Rotate quickswitch task thumbnails" into ub-launcher3-master 2020-02-04 22:42:21 +00:00
Sreyas e3e7e63902 OverviewActions: Fix action buttons in place
Forcing OverviewActions buttons to appear as if it is shown only once in overview screen by overlapping all instances in the same spot.

Change-Id: I195d5455d5eb9f12a19c352169bc995849e59281
2020-02-04 14:25:14 -08:00
Winson Chung cd90c05479 Close system windows when triggering alt-tab
Bug: 148168572
Change-Id: I3488509eb0c9fd3c407653ba550c89f4259f98d0
2020-02-04 21:45:50 +00:00
Winson Chung 85cd51e0e2 Merge "Remove workaround for starting app" into ub-launcher3-master 2020-02-04 21:43:49 +00:00
Winson Chung 487be04709 Merge "Remove double application of surface params" into ub-launcher3-master 2020-02-04 19:56:18 +00:00
Winson Chung dd14633250 Remove workaround for starting app
Bug: 141580748
Change-Id: I7760bc0ee07db6798153ff33566b48fcb3c39651
2020-02-04 19:06:55 +00:00
Jonathan Miranda d6705f8f1a Merge "Enable All Apps spring." into ub-launcher3-master 2020-02-04 18:48:17 +00:00
Vadim Tryshev 287bcc2791 Merge "Disable testQuickSwitchFromApp test due to test failures" into ub-launcher3-master 2020-02-04 18:43:23 +00:00
vadimt 3908a50ce1 Disable testQuickSwitchFromApp test due to test failures
Bug: 143285809
Bug: 148865178
Change-Id: I9ac955d9b1ea057258b65b65c5bc813441c1161f
2020-02-04 18:42:56 +00:00
Winson Chung 3645b5884a Remove double application of surface params
Bug: 148862530
Change-Id: Ifd29b344bd68f58d6252edd804dc3f43319033f8
2020-02-04 18:21:44 +00:00
Samuel Fufa 746d420f76 Notify predictor on appIcon convert to folder
Bug:148749638
Test:Manual
Change-Id: I7eed1f309197479f708a23029c04106af0ac536f
2020-02-03 15:42:43 -08:00
Jon Miranda 2e8828bd30 Enable All Apps spring.
Bug: 147302669

Change-Id: I944ce7d181c554d840329a3affe0dee76eed9143
2020-02-03 14:03:47 -08:00
TreeHugger Robot 17021f3d96 Merge "Fix notification dot for predicted hotseat icons" into ub-launcher3-master 2020-02-03 01:43:25 +00:00
TreeHugger Robot 8c6cff249e Merge "Enabling quick switch test" into ub-launcher3-master 2020-02-01 02:25:09 +00:00
Samuel Fufa 0ea7ddddc5 Fix notification dot for predicted hotseat icons
Bug: 148232056
Test: Manual
Change-Id: I34660eff089ce2f95ceebde143f22b1ef729ea09
2020-01-31 18:09:48 -08:00
Samuel Fufa 05a3a0b871 Merge "Include hotseat spots count in app launch log" into ub-launcher3-master 2020-02-01 01:44:52 +00:00