Commit Graph

47938 Commits

Author SHA1 Message Date
Lucas Dupin c518932f74 Merge "Directly assign mDepth" into sc-v2-dev 2022-01-13 23:19:20 +00:00
Alex Chau a472190c8a Limit home gesture distance to half of screen height
- Somehow when home gesture's travel distance is above certain number (~2560px in the bug's case), the touch will wrongly go to the 3P launcher instead of staying in quickstep launcehr only. As it's unusal for home gesture to be so long, limiting it to half of screen height.

Bug: 214279686
Test: presbumit and TaplTestsLauncher3#testWidgets on cf_tablet
Change-Id: I1107074556aea3011b186ba34dc830dbb1445517
2022-01-13 22:08:40 +00:00
TreeHugger Robot 05de8c874f Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev am: c0a6d3fc8f am: e81cab2fa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16346766

Change-Id: I03d32f4df17adc36982ad03896583ede306934d3
2022-01-13 21:06:28 +00:00
TreeHugger Robot e81cab2fa4 Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev am: c0a6d3fc8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16346766

Change-Id: I96ae73987e33c706f408d443559836a8d5024e37
2022-01-13 20:49:42 +00:00
TreeHugger Robot c0a6d3fc8f Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev 2022-01-13 20:36:44 +00:00
Lucas Dupin 03064a1e60 Directly assign mDepth
A request to set a new depth is ignored if the surface is currently
invalid. We should cache what was the requested value, so it will be
applied once the surface is valid again.

Test: manual
Fixes: 209028986
Change-Id: I812816da4b0139c7ea7b53a9fb00f11265ecdea8
2022-01-13 12:01:11 -08:00
Vadim Tryshev d55a139843 Merge "Removing 2-button support from tests" 2022-01-13 17:59:57 +00:00
Jerry Chang 85224ebd08 Consolidate recent animation in split screen with shell-transition
Also exclude corresponding parent task when wrapping up remote animation
target for recents animation.

Bug: 206487881
Test: manual check recent animation after split screen activated
Change-Id: I2e80eca1124d9a9e360513334211bde8a52575ea
2022-01-13 08:00:00 +00:00
TreeHugger Robot b92b229a80 Merge "Launch activity if click on a TaskView which has the task running on different display wit root." 2022-01-13 06:07:15 +00:00
Android Build Coastguard Worker 6d099bd95a Snap for 8071527 from f6086e74e3 to sc-v2-release
Change-Id: If0cb12cada2c9b3ce85b4d46d8932d381506ea8e
2022-01-13 00:11:52 +00:00
Winson Chung 30fc033b0c Merge "Revert "Add logs for null task list"" into sc-v2-dev am: b92c4e2319 am: daaebc8959
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16615289

Change-Id: Ic3c9e5aae3bd858a4471de6a3be5027fc844f5a8
2022-01-12 23:27:41 +00:00
Winson Chung daaebc8959 Merge "Revert "Add logs for null task list"" into sc-v2-dev am: b92c4e2319
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16615289

Change-Id: I981d23be42c55bbf276b66903d754b178c9e5d27
2022-01-12 23:14:41 +00:00
Winson Chung b92c4e2319 Merge "Revert "Add logs for null task list"" into sc-v2-dev 2022-01-12 23:00:00 +00:00
Tony Wickham 66971f87e1 Create new window for Taskbar Nav Buttons when taskbar is focusable
Test: Open folder from taskbar, edit name, ensure back button displays above IME and that IME sends input to the taskbar folder name
Bug: 205803170
Change-Id: I36f6cfb835aa7da280f15ea4b0aed8923ce8a012
2022-01-12 14:22:47 -08:00
Tony Wickham c07fb08a1e Make taskbar focusable when folder is open to get IME input
- Remove ActivityContext#supportsIme(), as it's always true now
- Add OnFolderStateChangedListener, which we register when clicking on a taskbar folder icon to set the window focusable/not.
- Also remove Folder.STATE_NONE and instead default to STATE_CLOSED (renamed from STATE_SMALL).

TODO: make sure back button is visible above IME (followup CL)

Test: Open a folder from taskbar while in an app, no animation jump and can change folder name
Bug: 180051157
Change-Id: I7c7847657d462c16677d66b9ffa8b6fe5f164084
2022-01-12 14:22:31 -08:00
vadimt 1ac72db930 Removing 2-button support from tests
Bug: 187761685
Test: presubmit
Change-Id: I932dd8cbc7524732e3ff83a35d7034b3e5ff75d9
2022-01-12 10:37:50 -08:00
Alex Chau 2975bb25ac Add more grid dbs to Launcher3 backupscheme
- To enable homescreen restore with Launcher3/SearchLauncher dogfood, see bug for details

Bug: 210984712
Test: none
Change-Id: I398551bc6fece17aba163a27ef29c748d58ab90e
2022-01-12 15:23:30 +00:00
Alex Chau 74379fd744 Merge "Allow items to be added alongside smartspace" 2022-01-12 11:25:09 +00:00
TreeHugger Robot 2f94c70ad6 Merge "Adding icon theming API support in Launcher" 2022-01-12 08:26:03 +00:00
Jerry Chang 5360c00c85 Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev am: f6086e74e3 am: 0e22f9947b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598402

Change-Id: I7cd1665d8bc22aecfa9feb39261087656be7facf
2022-01-12 01:58:10 +00:00
Jerry Chang 0e22f9947b Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev am: f6086e74e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598402

Change-Id: I9d66b3cb98ba5540e417c2acc7084d4edaa62e9f
2022-01-12 01:41:13 +00:00
Jerry Chang f6086e74e3 Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev 2022-01-12 01:21:14 +00:00
Android Build Coastguard Worker 6490826f97 Snap for 8068644 from 2c97c4ab19 to sc-v2-release
Change-Id: Ibfc3804b0267933cab0fda58aa4360cf441fde49
2022-01-12 00:09:00 +00:00
Winson Chung 08126d915c Revert "Add logs for null task list"
This reverts commit a46d36240b.

Reason for revert: Reverting logs for release

Change-Id: I65ae1ea691d5fb3d70a2db4beba08d7460b99e2b
2022-01-11 20:06:16 +00:00
Iris Yang 55f74d675c Set launch display id to an action performed on BaseQuickStepLauncher
Without this change, tapping all apps of work profile wouldn't bring
the work profile app back to phone.
Add ActivityOptions#setLaunchDisplayId to the display that the given
view is currently on. So the activity will be launched to the display
as the user is interacting with.

This change also modified BaseDraggingActivity which is the parent
class of BaseQuickstepLauncher. And the RecentsActivity is extending
BaseDraggingActivity.

Bug: 204164763
Test: Manually tested using Exo. Open work appliction(e.g.Calendar)
on Exo virtual display, and tapping on the phone's Calendar on work
profile to bring the application back to phone.
Demo video: https://drive.google.com/file/d/18LWMyDz5kYj8IwAwu5EOsBk3PsjEx1zf/view?usp=sharing&resourcekey=0-7eGtqiWZDciSCfFce29MtA

Change-Id: I31d822f6df7222939413f13da850230f46ba8001
2022-01-11 11:04:05 +00:00
Vinit Nayak 73d6b4c99e Remove code that assumes single GroupedTaskView am: 2c97c4ab19 am: b0786109bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208

Change-Id: I690c2f7740c94df5ae2b4ccf75e5a9c8ee8ffc37
2022-01-11 03:14:59 +00:00
Vinit Nayak b0786109bd Remove code that assumes single GroupedTaskView am: 2c97c4ab19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208

Change-Id: Ibe46da27964fb09aab5815ab871edd544b7410c3
2022-01-11 02:52:12 +00:00
Treehugger Robot 6acb02b231 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours am: 0fcf808f11 -s ours am: b30a81f82b -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943297

Change-Id: I4b668157eada42728add602b81d338da4e20e94c
2022-01-11 02:29:54 +00:00
Treehugger Robot ab8b28bdb9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours am: ca186a1cf5 -s ours am: 4659c68218 -s ours am: 3abf818f4e -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943295

Change-Id: I9a3c509132c8cbc75a6ae8ed8b63ac89e407ad7e
2022-01-11 02:29:22 +00:00
Treehugger Robot 25b1b4f8df [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours am: 4672ef9217 -s ours am: 4ba5628acd -s ours am: 7738633a4b -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943296

Change-Id: I09dd6933437b6c06790dca7ff03fd332415ee682
2022-01-11 02:24:48 +00:00
TreeHugger Robot d5dc2060b5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: cf5bbf67f7 -s ours am: 8e0ee25cbf -s ours am: e0a4aeb6d0 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598228

Change-Id: I199d0b96293e4a4a9b6676f5ddd7c7335a535d7d
2022-01-11 02:10:00 +00:00
TreeHugger Robot 9f174833ec [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0d585d86b8 -s ours am: aeac8e51f8 -s ours am: efac365fd4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598227

Change-Id: Iace126eb059010607c827d2e886e0626c07fe035
2022-01-11 02:02:26 +00:00
Ling Wo 7802ec4f25 Merge "Uninstall an app from workspace via TAPL" 2022-01-11 01:57:50 +00:00
Bill Yi 979c84b914 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b8b61348cc -s ours am: 59b3732da8 -s ours am: 78389ee4e9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598226

Change-Id: I1ecd2e835d613b62bb3de3a978b3973c2b5e394f
2022-01-11 01:56:16 +00:00
Treehugger Robot b30a81f82b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours am: 0fcf808f11 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943297

Change-Id: I319fc55c0f527fe308026a60755fd8fbe6a2d720
2022-01-11 01:43:57 +00:00
Treehugger Robot 3abf818f4e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours am: ca186a1cf5 -s ours am: 4659c68218 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943295

Change-Id: I826164cb7394348a25ceae1de9ef6d0b2ac44bbf
2022-01-11 01:43:31 +00:00
Treehugger Robot 7738633a4b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours am: 4672ef9217 -s ours am: 4ba5628acd -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943296

Change-Id: I56ab258556d354dafee2bca32015fb917cd9566c
2022-01-11 01:42:35 +00:00
TreeHugger Robot e0a4aeb6d0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: cf5bbf67f7 -s ours am: 8e0ee25cbf -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598228

Change-Id: Ic82ea0b41d72625b9ac36fe66396cfb16bcc9693
2022-01-11 01:41:26 +00:00
TreeHugger Robot efac365fd4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0d585d86b8 -s ours am: aeac8e51f8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598227

Change-Id: Ieffa149a9e2af827228990af79de83e8430177c1
2022-01-11 01:36:40 +00:00
Bill Yi 78389ee4e9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b8b61348cc -s ours am: 59b3732da8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598226

Change-Id: Id8888ef91229185c0e39d8509ce0af433a58cf82
2022-01-11 01:31:38 +00:00
Treehugger Robot 0fcf808f11 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943297

Change-Id: I3e47075203f040f6f70c7b07adb25b9d2b4e78ac
2022-01-11 01:21:25 +00:00
Treehugger Robot add2ff2d43 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943297

Change-Id: I1c15af1ea07c46ef295b3adafde6bd6dbad6ec46
2022-01-11 01:21:19 +00:00
Treehugger Robot 4659c68218 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours am: ca186a1cf5 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943295

Change-Id: Ied5ac23d920c735910d4e2562280a2c5038da748
2022-01-11 01:21:05 +00:00
Treehugger Robot ca186a1cf5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943295

Change-Id: Ie0701b161d452f6fa51a6a4381d48410ff8d5cc5
2022-01-11 01:20:49 +00:00
Treehugger Robot 4ba5628acd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours am: 4672ef9217 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943296

Change-Id: Ifdccae5c6ced07cd0965c9d000c512f96e89a5d3
2022-01-11 01:20:46 +00:00
TreeHugger Robot 8e0ee25cbf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: cf5bbf67f7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598228

Change-Id: I64fcd0edd143fcb633b604364755fa1e0461a927
2022-01-11 01:18:15 +00:00
TreeHugger Robot aeac8e51f8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0d585d86b8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598227

Change-Id: Iadb4bb40e49d4edca30ca7153f9b982a6df09004
2022-01-11 01:16:14 +00:00
Treehugger Robot 4672ef9217 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1943296

Change-Id: I55f3739794d03da40c3392b48ac397a02aff7f3b
2022-01-11 01:12:34 +00:00
Bill Yi 59b3732da8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b8b61348cc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598226

Change-Id: I6d7cd9e33f0930963db49826c060e96b0133f36a
2022-01-11 01:12:11 +00:00
Treehugger Robot fd43233281 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-11 00:50:07 +00:00