Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot c505a95aaf Merge "Fixing issue with removing tasks immediately after boot" into ub-launcher3-rvc-dev 2020-04-14 21:46:23 +00:00
TreeHugger Robot 8bc38d8fa4 Merge "Trigger onTaskAppeared when a task started from recents becomes ready." into ub-launcher3-rvc-dev am: 04455cdf42
Change-Id: Id30e6d482734e002ebf73082314509084e5e55af
2020-04-14 21:45:34 +00:00
Jon Miranda f8df99fd0a Fix bug where view stays invisible due to view recycling before it gets reset.
Repo steps:
* Drag item out of folder into a space where it won't fit (ie. full workspace)
* Drop item before folder finishes closing

The issue is that the drop completes and we unbind the folder contents
before the postDelayed callback runs to set the view back to visible.

Bug: 153267452
Change-Id: I0bd4e41cc6dda8b908eed3c8789ced54da4ac38a
2020-04-14 14:39:08 -07:00
Vinit Nayak 113b04b334 Disable sensor manager for tests in platform am: fd3fc081d9 am: 31fb890ba2
Change-Id: Iba992e29363e35e205e3a8b1eeec60d582a6c6af
2020-04-14 21:36:47 +00:00
Vinit Nayak 191733840c Disable sensor manager for tests in platform am: fd3fc081d9 am: e21c4ec073
Change-Id: If383c3888a0c015db0f65d5f2a25e4c380e64e31
2020-04-14 21:36:19 +00:00
Vinit Nayak c90f5d74af Disable sensor manager for tests in platform am: fd3fc081d9 am: e21c4ec073
Change-Id: Iba632f2d21ca209d44f4834bf870eb31ab0b91fa
2020-04-14 21:34:57 +00:00
TreeHugger Robot 04455cdf42 Merge "Trigger onTaskAppeared when a task started from recents becomes ready." into ub-launcher3-rvc-dev 2020-04-14 21:30:23 +00:00
Vinit Nayak 31fb890ba2 Disable sensor manager for tests in platform am: fd3fc081d9
Change-Id: Ic836a4724fe7951a64ccc4ef34bc8d52a777afdd
2020-04-14 21:16:45 +00:00
Vinit Nayak e21c4ec073 Disable sensor manager for tests in platform am: fd3fc081d9
Change-Id: Ib0e3547a949d09adccb45bfa91dc18a6ac4aca10
2020-04-14 21:15:17 +00:00
Winson Chung 1c32f49199 Fixing issue with removing tasks immediately after boot
- Due to tasks only being loaded in the task list and not in the
  task hierarchy, ensure that we listen to the task list callback
  to invalidate the cached list as well.

Bug: 144892997
Change-Id: I0aa2ac0e629b8883410ebafbdc4ca2d5d9bc0fca
2020-04-14 21:03:40 +00:00
Vinit Nayak a2a1f86dff Cleanup code related to ag/11035582
Bug: 153443049
Change-Id: I2a9e46fa4ffc613751c9f427ce892ddad3878b35
2020-04-14 14:02:49 -07:00
Hyunyoung Song 6b99a7d397 Use UiEvent for constants inside StatsLogManager
Bug: 137777105
Bug: 148533500
Change-Id: I8ebf1110e8d25ab28f7496add9734bd7386b272f
2020-04-14 13:59:31 -07:00
lumark 9494f58409 Trigger onTaskAppeared when a task started from recents becomes ready.
Launcher can now receive onTaskAppeared callback from
RecentsAnimationController to get remote animation target when in quick
switch mode.

Note: This CL just demonstrates how to receive callback and then
calling removeTask & finish recents animation,
in order to really improve quick switch flicking, launcher side needs
to implement the rest of logic to animate task's remote animation target
to make task switching more smoothly.

Bug: 152480470
Test: WIP
Change-Id: Id0371db7339cfe84942cc905a89b0a2c1fab62ec
(cherry picked from commit bec41bc5b9)
2020-04-14 20:51:40 +00:00
TreeHugger Robot 1ff3bbe5f6 Merge "Revert regression where we no longer reverse translation for RTL" into ub-launcher3-rvc-dev am: a8c63ecb13
Change-Id: I740ba42f630afab81469a98fb42fd39e9b42038b
2020-04-14 18:25:56 +00:00
TreeHugger Robot a8c63ecb13 Merge "Revert regression where we no longer reverse translation for RTL" into ub-launcher3-rvc-dev 2020-04-14 18:07:26 +00:00
TreeHugger Robot a198dd42f3 Merge "Change logged hotseat values for beta" into ub-launcher3-rvc-dev am: c5d145f390
Change-Id: I1e1b660d0b0f57f06e01f0013b64261debbd2ff0
2020-04-14 16:46:28 +00:00
TreeHugger Robot c5d145f390 Merge "Change logged hotseat values for beta" into ub-launcher3-rvc-dev 2020-04-14 16:27:30 +00:00
Samuel Fufa 40846c6a35 Change logged hotseat values for beta
Bug: 153741765
Test: Manual
Change-Id: I8514264a2ea36809f6d3398c7aed4ca18e2d1a7f
2020-04-14 08:46:53 -07:00
TreeHugger Robot 583afbb93e Merge "Show migrated items on the last page" into ub-launcher3-rvc-dev am: ba45b6707c
Change-Id: Ie5a9bcf76d845dc1f98517174decd284e7b25a65
2020-04-14 15:28:13 +00:00
Tony Wickham 08f9a5878d Don't scale workspace when going to all apps if ENABLE_OVERVIEW_ACTIONS
Before the two-zone model introduced with ENABLE_OVERVIEW_ACTIONS, we
scaled down the workspace when swiping up, since you could pause at
any time to go to overview (which has workspace scaled down behind it).
But in the two-zone model, that scaling is potentially confusing since
it looks similar to the HintState (when swiping from the nav bar).

Bug: 143361609
Change-Id: I3ee9f6eb45abb0123563d283a3145f27c3a63dd5
2020-04-14 10:24:24 -05:00
TreeHugger Robot ba45b6707c Merge "Show migrated items on the last page" into ub-launcher3-rvc-dev 2020-04-14 15:14:31 +00:00
TreeHugger Robot 3d2d7282a0 Merge "Remove swipe support on WorkModeSwitch" into ub-launcher3-rvc-dev am: eb916b560b
Change-Id: I555d408db2d6f626721cb37286ac452f261b044e
2020-04-14 09:16:23 +00:00
TreeHugger Robot eb916b560b Merge "Remove swipe support on WorkModeSwitch" into ub-launcher3-rvc-dev 2020-04-14 09:04:29 +00:00
Samuel Fufa 87a4d89e80 Cache hotseat predictions
Saves a list of ComponentKeys to allow launcher to show predictions while AiAi is booting up.
Cache is invalidated on new predictor creation, on user changing home screen set up,
or after receiving an empty list of predictions from AiAi.

Bug: 152582306
Test: Manual
Change-Id: I2047aa3bcbf8bc1ef9b7b6a7925ef14a3433a3b4
2020-04-14 01:00:48 -07:00
TreeHugger Robot 4ec0b8d720 Merge "Resolve RTL Work tab highlight" into ub-launcher3-rvc-dev am: dafb4d10ae
Change-Id: Iab10dcc76d1e9273891c0fc1e6c82824762ad23e
2020-04-14 06:19:50 +00:00
TreeHugger Robot dafb4d10ae Merge "Resolve RTL Work tab highlight" into ub-launcher3-rvc-dev 2020-04-14 05:57:22 +00:00
Samuel Fufa b2b1a0b351 Remove swipe support on WorkModeSwitch
Bug: 153063698
Test: Manual
Change-Id: I0c59617772e1cedff364fd18413dcaec8031cd06
2020-04-13 21:54:58 -07:00
TreeHugger Robot 3bebafcbb3 Merge "Revert "Show all apps app names in multi window landscape"" into ub-launcher3-master 2020-04-14 03:51:28 +00:00
Sunny Goyal 157e666058 Revert "Show all apps app names in multi window landscape"
This reverts commit 1c3c3b1d6f.

Reason for revert: Broke multi-window rotation and secondary display

Change-Id: I907b21ca82cf2e25f8abe7a09eafd6dec817f81b
2020-04-14 03:06:01 +00:00
vadimt 0b65822f30 Temporarily disabling events checking in git_master
Bug: 153824894
Change-Id: I5f294d1a808b1ceefd0b753de6c9207cf92de06d
2020-04-14 01:31:57 +00:00
TreeHugger Robot 2b7d731d25 Merge "Communicate homepage layout to AiAi" into ub-launcher3-rvc-dev am: afc0bb0524
Change-Id: I5e4fefd090c705140d06b7e395b2fb1334c8d111
2020-04-14 01:11:16 +00:00
TreeHugger Robot afc0bb0524 Merge "Communicate homepage layout to AiAi" into ub-launcher3-rvc-dev 2020-04-14 00:52:36 +00:00
Samuel Fufa 0d3f8a5410 Merge "Change work paused text style" into ub-launcher3-rvc-dev am: c915e74abe
Change-Id: Ibe9d877dadd77df032684944650ad95cc3e55f03
2020-04-14 00:26:48 +00:00
Samuel Fufa f89dff10f3 Communicate homepage layout to AiAi
Bug: 148813817
Test: Manual
Change-Id: I115decf2a9cf7e483b906a2c9d93e6a83cbb3a6e
2020-04-13 17:10:02 -07:00
Samuel Fufa c915e74abe Merge "Change work paused text style" into ub-launcher3-rvc-dev 2020-04-14 00:03:24 +00:00
TreeHugger Robot 15cb1e96a8 Merge "Disable sensor manager for tests in platform" into ub-launcher3-rvc-dev am: 04509edc43
Change-Id: I3f9a7611e7d6601e499c0760cc64db000a3c7233
2020-04-13 23:50:33 +00:00
Vinit Nayak fd3fc081d9 Disable sensor manager for tests in platform
Bug: 153443049
Change-Id: Ieaa4b8144eba11c5d3025a1bcca42a8552d1c702
(cherry picked from commit 1a09958626)
2020-04-13 23:43:05 +00:00
TreeHugger Robot 04509edc43 Merge "Disable sensor manager for tests in platform" into ub-launcher3-rvc-dev 2020-04-13 23:28:36 +00:00
Vinit Nayak 1a09958626 Disable sensor manager for tests in platform
Bug: 153443049
Change-Id: Ieaa4b8144eba11c5d3025a1bcca42a8552d1c702
2020-04-13 15:47:02 -07:00
Samuel Fufa 73911d6545 Resolve RTL Work tab highlight
Bug: 153682566
Test: Manual
Change-Id: Ibe2160f10233bae3aa5e86942ac69a9a40fc13e3
2020-04-13 13:45:27 -07:00
Samuel Fufa 68f51e776e Show migrated items on the last page
If the hotseat migration is unable to find an existing page, it creates
a new page and move the items there. This is fixing an issue where items
migrated to a new page don't show up as we are using
mLauncher.bindAppsAdded instead of rebinding the workspace.

Bug: 142753423
Test: Manual
Change-Id: Ia812585f28b9b7e3e6cb4966770a1996eadd03a5
2020-04-13 20:12:14 +00:00
Tony Wickham f2c2693e15 Merge changes I01790ce5,I938e23af into ub-launcher3-rvc-dev am: 047a54a21f
Change-Id: Idbcfa7ade2eb8160be2b99d47bb20be870d48fda
2020-04-13 19:09:01 +00:00
Tony Wickham 047a54a21f Merge changes I01790ce5,I938e23af into ub-launcher3-rvc-dev
* changes:
  Remove all apps arrow after getting to all apps 5 times
  Refactor some onboarding-related shared prefs into a class
2020-04-13 18:59:57 +00:00
TreeHugger Robot 62c2808008 Merge "Remove pin a11y option for pinned hotseat items" into ub-launcher3-rvc-dev am: fc8dc9a584
Change-Id: Ia35d8317efd043f974fc9fd9288bb93dfb17db96
2020-04-13 18:59:34 +00:00
TreeHugger Robot 3c67479a59 Merge "Add additional logs for swipe after unlock" into ub-launcher3-rvc-dev am: d740ea97de
Change-Id: Ib4ee76108bb8baed866b8aaab0aa70ec8daa4927
2020-04-13 18:59:29 +00:00
TreeHugger Robot fc8dc9a584 Merge "Remove pin a11y option for pinned hotseat items" into ub-launcher3-rvc-dev 2020-04-13 18:39:26 +00:00
TreeHugger Robot d740ea97de Merge "Add additional logs for swipe after unlock" into ub-launcher3-rvc-dev 2020-04-13 18:36:27 +00:00
Vinit Nayak 316807737f Add additional logs for swipe after unlock
Bug: 146964271
Change-Id: I2eaff8deb52f5e79ffffff0e3dae1d45a2cba7cb
2020-04-13 11:26:48 -07:00
TreeHugger Robot 56dca2298d Merge "Resolve work switch drawable RTL issue" into ub-launcher3-rvc-dev am: 8f40d00a5d
Change-Id: I7925a70a63a21b54b12e7fdfc15774e692d9495c
2020-04-13 18:23:23 +00:00
TreeHugger Robot 8f40d00a5d Merge "Resolve work switch drawable RTL issue" into ub-launcher3-rvc-dev 2020-04-13 18:03:12 +00:00