Commit Graph

49925 Commits

Author SHA1 Message Date
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
Treehugger Robot f28414562e Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-11 00:49:47 +00:00
Treehugger Robot 8ca8a317cb Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-11 00:49:45 +00:00
TreeHugger Robot cf5bbf67f7 Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2022-01-11 00:46:16 +00:00
TreeHugger Robot 0d585d86b8 Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2022-01-11 00:45:41 +00:00
Vinit Nayak 2c97c4ab19 Remove code that assumes single GroupedTaskView
* Old code assumes there will only be a single
GroupedTaskView, removing those code paths helps
consolidate single and grouped task code flows
* Correctly check when we need to add a stub
taskView for GroupedTaskViews by checking each
individual taskId

Test: Swiping with multiple split pairs doesn't
cause a cycle
Fixes: 213355942

Change-Id: Ibb98ae0dfcd4f52b762685aec9d2ee6445b9ef54
2022-01-10 15:59:33 -08:00
Michael Groover 7b597375bd Merge "Add required flag to registerReceiver call in LauncherAppState" 2022-01-10 18:28:58 +00:00
Alex Chau e09067c2f4 Allow items to be added alongside smartspace
- Allow icons to be added to first row where search container does not occupy
- On upgrade, clean up first row of screen 0 which may have junk data, as we used to assume first forw of screen 0 is always occupied

Bug: 210127246
Test: manual
Change-Id: I835a321964984e02632c8a70474a6551b5e360f7
2022-01-10 18:24:15 +00:00
Bill Yi 487c69e0e2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11e6b41bdca9d55dd12983151a0c68d3ff2a7422
2022-01-10 14:49:52 +00:00
Bill Yi 8ff9808c85 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I62e88b73bc557c47aebac0eb595cabcfcdc7f29f
2022-01-10 14:49:12 +00:00
Bill Yi bb956f5d16 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I43930759be42abba1707fde580baf01938955099
2022-01-10 14:48:40 +00:00
Sunny Goyal 26a1a46b4d Remving SurfaceControlCompat
Bug: 213421974
Test: Presubmit
Change-Id: I1279789b09364b35a454e32417f687c1e055f27a
2022-01-10 14:41:21 +00:00
Jerry Chang 7f8e57ed68 Fix NPE when consuming snapshots for recent animation
Fix: 207716265
Test: no exception throws after recent animation
Change-Id: Ic35aea2285fb120f7d0b5215137ad9450518702f
2022-01-10 18:48:16 +08:00
Pat Manning 9d5962e173 Merge "Create taskbar for kids mode." 2022-01-10 10:46:48 +00:00