Commit Graph

36660 Commits

Author SHA1 Message Date
TreeHugger Robot fef84dd5ea Merge "Fix crash when hotseat icon is dragged onto Workspace" into sc-v2-dev am: ce10de7964
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15771582

Change-Id: Ie51e47b2db3ab8a7f121490ef1b8a739f47542f7
2021-09-06 17:18:30 +00:00
TreeHugger Robot ce10de7964 Merge "Fix crash when hotseat icon is dragged onto Workspace" into sc-v2-dev 2021-09-06 17:07:01 +00:00
TreeHugger Robot ea25f8f6e0 Merge "Snap to task from other grid row if dismissing non-snapped focused task and not enough tasks remain in current grid row to snap to." into sc-v2-dev am: 13e121e35a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15771038

Change-Id: I778473e10913718cbbf266c1d8335f8f31ae5d37
2021-09-06 16:24:23 +00:00
TreeHugger Robot 13e121e35a Merge "Snap to task from other grid row if dismissing non-snapped focused task and not enough tasks remain in current grid row to snap to." into sc-v2-dev 2021-09-06 16:16:00 +00:00
Andras Kloczl d888e77145 Fix crash when hotseat icon is dragged onto Workspace
Test: manual
Bug: 198820019
Change-Id: I53bb858feb7aad45472803b133ef3d026dd9f319
2021-09-06 16:43:01 +01:00
Alex Chau fe7c903c20 Merge "Hide overview actions when focused task is not snapped" into sc-v2-dev am: 48621c86ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15771567

Change-Id: I1ec9e58426b02a3dd578c56fd7a4ca5f0a8e31dc
2021-09-06 15:09:51 +00:00
Alex Chau 48621c86ab Merge "Hide overview actions when focused task is not snapped" into sc-v2-dev 2021-09-06 14:58:23 +00:00
Pat Manning 017dbbe715 Snap to task from other grid row if dismissing non-snapped focused task
and not enough tasks remain in current grid row to snap to.

Test: manual
Fix: 196200215
Change-Id: I611ffc457769d57ac0d13657fafa73a4a741f877
2021-09-06 14:53:00 +00:00
TreeHugger Robot 29ad430f36 Merge "Remove widget panel related leftover workspace items" into sc-v2-dev am: 69fd5cb959
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763353

Change-Id: Iecc4d2a2013a44c278a71e32e3d6c5c4737e289d
2021-09-06 12:52:54 +00:00
TreeHugger Robot 69fd5cb959 Merge "Remove widget panel related leftover workspace items" into sc-v2-dev 2021-09-06 12:39:54 +00:00
Alex Chau 61cb7c0310 Hide overview actions when focused task is not snapped
- Overview actions is still click able when focused task is slightly off snap position and the alpha is between 0 and 1
- This is not desired and we should simply hide the actions when focused task is not snapped

Bug: 199040817
Test: manual non grid and non-grid
Change-Id: Ifda800fc4169a05c8128e7b3802d2ab4a5af4ae8
2021-09-06 13:05:35 +01:00
Alex Chau 5644b4f5fa Fix getPagesToBindSynchronously returning wrong page pairs am: 62f129b878
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15754330

Change-Id: I78a1de91289da9cd513fedef57dd10ac42b15722
2021-09-06 11:28:21 +00:00
Andras Kloczl 929e3a2742 Remove widget panel related leftover workspace items
Upgrade launcher DB version and remove items with
widget panel IDs from the database.

Test: follow test instructions (in CL comment)
Bug: 198254728
Change-Id: I077a5f70ee93b7eca738b38f6b0e788d49f7ce70
2021-09-06 11:58:32 +01:00
Alex Chau 62f129b878 Fix getPagesToBindSynchronously returning wrong page pairs
- Use WorkSpace.getPagePair instead for accurate value

Bug: 191657065
Test: manual
Change-Id: I584f1705fb5ed2f0d2bd776eb6cf4f60c69238ac
2021-09-06 10:58:48 +01:00
András Klöczl e19b1fb4a2 Merge "Add two extra empty pages on two panel launcher home" into sc-v2-dev am: 4926bf706a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15727162

Change-Id: Ie81a088fc6c945b824c6d04b02782e12a5e673d1
2021-09-05 21:19:43 +00:00
András Klöczl 4926bf706a Merge "Add two extra empty pages on two panel launcher home" into sc-v2-dev 2021-09-05 21:05:53 +00:00
Andras Kloczl 408a54f2e7 Add two extra empty pages on two panel launcher home
Add a new screen ID for the second extra empty page
and add that new screen as well when the existing
extra empty page is added so that users can put items
on both sides of Workspace.

Test: manual
Bug: 196376162
Change-Id: I0b4f2e818407a10d8a7c032788a7bd7a61267779
2021-09-05 22:03:07 +01:00
Winson Chung 90fbb14627 Merge "Use max of corners when deciding gestures and add logs for corners" into sc-v2-dev am: 725ad3c031
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15758695

Change-Id: I187b6298819d963ad361a8e6665c10ef41b4d43b
2021-09-04 16:27:16 +00:00
Winson Chung 725ad3c031 Merge "Use max of corners when deciding gestures and add logs for corners" into sc-v2-dev 2021-09-04 16:15:49 +00:00
TreeHugger Robot 6d082a9b04 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev am: 5ea5f90397 am: 28325b0782
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15713050

Change-Id: I208b66dc37135ae093200e4c6295568a4eb8ae1f
2021-09-04 06:58:37 +00:00
TreeHugger Robot b55d091885 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev am: 5ea5f90397 am: a18c4311b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15713050

Change-Id: Ia72457945253a965b6b524be87ea5cfc78910aff
2021-09-04 06:58:13 +00:00
TreeHugger Robot 28325b0782 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev am: 5ea5f90397
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15713050

Change-Id: Ia1bb00f39457595b44e3240b8bd1c5eccc38cc8b
2021-09-04 06:48:02 +00:00
TreeHugger Robot a18c4311b5 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev am: 5ea5f90397
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15713050

Change-Id: I08e4ee97b0bac5b3f01bf947922169b96070e442
2021-09-04 06:48:02 +00:00
TreeHugger Robot 5ea5f90397 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev 2021-09-04 06:36:28 +00:00
TreeHugger Robot a0de13e939 Merge "Select remote apps based on stagePosition instead of hardcoded values" into sc-v2-dev am: 1e86bd0ec6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15758691

Change-Id: I7d50882c8edf75add6c85db51031b4c8144e55a7
2021-09-04 04:46:41 +00:00
TreeHugger Robot 1e86bd0ec6 Merge "Select remote apps based on stagePosition instead of hardcoded values" into sc-v2-dev 2021-09-04 04:32:10 +00:00
Vinit Nayak 58dd901bc1 Select remote apps based on stagePosition instead of hardcoded values
* LauncherSplitScreenListener returns taskIds guaranteeing index 0
to be leftTop task and index 1 to be rightBottom. Use that
instead of assuming remote target index 0 will be leftTop and
index 1 is right bottom as provided

Bug: 181704764

Change-Id: I2bc358ff3c2f2d127b81e10824e2c13f3ad718df
2021-09-04 04:31:56 +00:00
Tony Wickham 6e78f77f01 Call onUserUnlocked() before adding callbacks am: 5a36b919b5 am: 79ff586c10
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756866

Change-Id: I89ecb78e903ce32ff0a3c9d6f9eb33bae6beaff5
2021-09-04 03:23:19 +00:00
Tony Wickham c5bb728a00 Call onUserUnlocked() before adding callbacks am: 5a36b919b5 am: eaca6fd847
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756866

Change-Id: I4b473f821c3ac1ef2c09704574c02fa7fb43d293
2021-09-04 03:22:38 +00:00
Tony Wickham eaca6fd847 Call onUserUnlocked() before adding callbacks am: 5a36b919b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756866

Change-Id: I6877f73522a00f377f4fd8a724423021b969b0cb
2021-09-04 03:13:40 +00:00
Tony Wickham 79ff586c10 Call onUserUnlocked() before adding callbacks am: 5a36b919b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756866

Change-Id: I03e5411032285015489f4b8bceb8b023e9c12909
2021-09-04 03:13:40 +00:00
Winson Chung b42265861b Use max of corners when deciding gestures and add logs for corners
Bug: 197326121
Test: Pre/postsubmit
Change-Id: I1c083dc9234354f66cf1537f0cfe8c21f1e1be3b
2021-09-04 02:23:53 +00:00
Becky Qiu 7450cf9740 Merge "[OneSearch] Add a clear function in the plugin to clear cache and memory." into sc-v2-dev am: 3118d24449
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15749048

Change-Id: I56c12dd0f9e3ec2289d447e69a7733b6ea8102fd
2021-09-04 00:35:27 +00:00
Becky Qiu 3118d24449 Merge "[OneSearch] Add a clear function in the plugin to clear cache and memory." into sc-v2-dev 2021-09-04 00:17:43 +00:00
Winson Chung 95e8108771 Merge "Provide internal IME insets" into sc-v2-dev am: 507e976690
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741860

Change-Id: I4adf6cb6bbaadfa0520a7ad0a58fd8bf3251f4a3
2021-09-03 23:59:47 +00:00
Winson Chung 507e976690 Merge "Provide internal IME insets" into sc-v2-dev 2021-09-03 23:46:16 +00:00
TreeHugger Robot de88f56fc2 Merge "Disable FolderNameEditText on Taskbar" into sc-v2-dev am: eb5f5f7807
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756862

Change-Id: I15c9be4bca93ad2651ab6c040c30fe182afee147
2021-09-03 23:03:22 +00:00
Tracy Zhou 2d0ac589fb Merge "Stash/unstash the task bar based on states" into sc-v2-dev am: 2ccfa02fde
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15751127

Change-Id: I9ba137ea189315fb5adeaa22279cd9e77cc78197
2021-09-03 23:03:13 +00:00
TreeHugger Robot eb5f5f7807 Merge "Disable FolderNameEditText on Taskbar" into sc-v2-dev 2021-09-03 23:00:33 +00:00
Tracy Zhou 2ccfa02fde Merge "Stash/unstash the task bar based on states" into sc-v2-dev 2021-09-03 22:49:07 +00:00
Tony Wickham 5a36b919b5 Call onUserUnlocked() before adding callbacks
This gives us a chance to initialize things in onUserUnlocked() if we're already unlocked, before doing any other logic that might use those variables.

Test: None (unable to reproduce)
Fixes: 184773649
Change-Id: I72ed91ae6202ec816f9bdceb4d9fd03b9a002816
2021-09-03 22:07:18 +00:00
Bill Yi c69b0c062b [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 7e2c3baab5 -s ours am: bffa346fa6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iddc4806aa60d4de4d7efd5b4b7cc7f0e7bb2e704
2021-09-03 21:12:44 +00:00
Bill Yi 79dc5a6734 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev am: 5892321516 am: bb52332af9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737

Change-Id: I39023fe3a9b93ce89829044fbb5494fbb2b9eddc
2021-09-03 21:11:29 +00:00
Bill Yi da48d5fe58 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 5a1494cc61 -s ours am: 69196e30f0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4883962685822deee89e757147054d8b83dd7b6a
2021-09-03 21:11:28 +00:00
Bill Yi 5d2342a0e8 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev am: 5892321516 am: c0733c610e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737

Change-Id: I2e76edecc259efa56e06c8f52b7cc8adb4993aa7
2021-09-03 21:11:17 +00:00
Bill Yi 5b778fc8ab [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 5a1494cc61 -s ours am: 1ee95f13ff -s ours
am skip reason: subject contains skip directive

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

Change-Id: I31d84275f5d0fb3a95c2b881a36521e58bdaf6a2
2021-09-03 21:11:15 +00:00
Bill Yi bb52332af9 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev am: 5892321516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737

Change-Id: I25b2252cda8bbf16548a43fa76c690037bc9aa5a
2021-09-03 20:55:58 +00:00
Bill Yi 69196e30f0 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 5a1494cc61 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie687fe9ea007d3dc6b107bc4f79f24ade6f86039
2021-09-03 20:55:58 +00:00
Bill Yi bffa346fa6 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 7e2c3baab5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1d8c9090d573b36983754167984e7c4225310e74
2021-09-03 20:55:20 +00:00
Bill Yi c0733c610e Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev am: 5892321516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737

Change-Id: Ia3c9101e992ea3520c42c8033ace2443c24bacbb
2021-09-03 20:54:59 +00:00