Commit Graph

36648 Commits

Author SHA1 Message Date
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
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
Bill Yi 1ee95f13ff [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: Ia04104e4d42932b2de444f7a9adf520f6767ac4f
2021-09-03 20:54:58 +00:00
Bill Yi 5892321516 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8
  Import translations. DO NOT MERGE ANYWHERE
2021-09-03 20:33:38 +00:00
Hongwei Wang 4072b74441 Do not trigger PiP on tapping on TaskView am: bfec974f59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15749049

Change-Id: Idf185bce26665ae5db8a9a9e606d722bb3ff0d7f
2021-09-03 20:22:56 +00:00
Tony Wickham d345751849 Disable FolderNameEditText on Taskbar
Test: Can rename folder on home screen, but tapping folder name in taskbar does nothing
Bug: 180051157
Change-Id: Ief19805683f754995baf24d7f41f3979841d5bd3
2021-09-03 12:50:15 -07:00
Tracy Zhou 527b39cd28 Stash/unstash the task bar based on states
Bug: 193938970
Test: go to any app, stash/unstash, and make sure the states are preserved
Change-Id: I3adf826407e90275687ecea8302abf7a004f1df7
2021-09-03 12:43:04 -07:00
Becky Qiu a499fd4f93 [OneSearch] Add a clear function in the plugin to clear cache and memory.
Bug: 196586652
Test: manual
Change-Id: I094cefadda0a958b0059820f1c02ddf0298abbd8
2021-09-03 11:15:01 -07:00
Hongwei Wang bfec974f59 Do not trigger PiP on tapping on TaskView
Regression from ag/15158868, we should not send onUserLeaveHint on
tapping on the app icon in Recents / Overview.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fr0fdecPEned7rMjgdWhCQ
Bug: 198682451
Test: manual, tap on app icon in Recents, see video
Change-Id: I66888a75eec30d7e8ba7e09059399381516812ac
2021-09-03 11:10:05 -07:00
Winson Chung 543c226ffa Provide internal IME insets
Bug: 197727397
Test: Collapse taskbar, open IME
Change-Id: Ia251be1d5892a58b062f241bdafc5dbfc223e4c3
2021-09-03 10:22:56 -07:00
TreeHugger Robot 6ea26b33a6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: e7663d1f37 -s ours am: 4774e9bcbb -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icf878f5356deacf404f3f0703ec2b04d39a74026
2021-09-03 17:20:38 +00:00
TreeHugger Robot b98afb46bd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: e7663d1f37 -s ours am: bd42a9c12d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7dce1f0cde3b12737b0c8911d6ee19e1bc35fabf
2021-09-03 17:10:46 +00:00
TreeHugger Robot bd42a9c12d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: e7663d1f37 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0b45388e83fd6b3c16da8f42a1300d34f001af81
2021-09-03 17:06:28 +00:00
TreeHugger Robot 4774e9bcbb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: e7663d1f37 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I15b134fea31cd492abeaa162de56b588ff8ad346
2021-09-03 17:06:17 +00:00