Alex Chau
4f140f96e8
Use displayId to determine CHANGE_ACTIVE_SCREEN
...
- Currently CHANGE_ACTIVE_SCREEN is dispatched when rotating too, which is incorrect. mScreenSizeDp is different in portrait and landscape, and varies more than swapping width/height due to different insets applied. Therefore, use the change of unique display id as a signal instead.
Fix: 202366729
Test: Rotate device, overview stays
Test: Unfold devices, overview goes away
Change-Id: Id8a7d4a1e237717521bfc5a5a67f23c4ee801c61
2021-10-07 14:44:01 +01:00
TreeHugger Robot
1f90841df5
Merge "[OneSearch] Log events with timestamp into logcat for debugging." into sc-v2-dev am: 137dd35d26 am: 1816c9d1b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15975400
Change-Id: I236ac5aa3539cd349a10822f9901d0e62116ac35
2021-10-07 08:43:15 +00:00
TreeHugger Robot
137dd35d26
Merge "[OneSearch] Log events with timestamp into logcat for debugging." into sc-v2-dev
2021-10-07 08:03:57 +00:00
Andy Wickham
e5f2877eaa
Removes Smartspace Feedback flag.
...
Bug: 202296180
Test: Manual
Change-Id: Ifff851116c09c0729a8152a93eb2d758f7c9b126
2021-10-06 20:12:08 -07:00
Jon Miranda
b77878ebe3
Update folder preview and folder background colors.
...
Bug: 201332301
Test: light theme / dark theme
open and close folder, ensure colors are accurate
Change-Id: I49198eb2faee03111be33051fd1cb08094844c77
2021-10-06 16:57:33 -07:00
Becky Qiu
f11ecb7f59
[OneSearch] Log events with timestamp into logcat for debugging.
...
Bug: 199289915
Test: example log: https://paste.googleplex.com/5741834610409472
Change-Id: I24b2e68b36cb897ae3e6ccc38cf0561d38af6751
2021-10-06 15:20:47 -07:00
sfufa@google.com
01e0009b71
[Work profile] Fix flickering work mode switch
...
Since there is no system broadcast with Intent.ACTION_MANAGED_PROFILE_ADDED, UserCache's user list does not get updated when a new profile is installed until launcher is restarted. This change fixes that problem by getting the freshest list of users directly from UserManager.
This change also applies the proper padding to work apps recycler-view after work mode switch is attached.
Test: Manual
Bug: 201191227
Change-Id: I0f570eba44ebb845d0d6f8c5f14a63f9a8c18539
2021-10-06 14:27:55 -07:00
Sunny Goyal
0ecfb69596
Removing overscroll pluging support
...
Bug: 201677812
Test: Presubmit
Change-Id: Id8136e99746946ba840754ef8e71a4574f49938e
2021-10-06 11:23:46 -07:00
sfufa@google.com
1c5e607940
[Search] Scale up small search icons on drag start
...
Bug: 199341710
Test: manual
Change-Id: I243c3e84e3093d4a9c605b187a625c0580d9933f
2021-10-05 18:09:26 -07:00
TreeHugger Robot
565c5ed6e2
Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6 am: e77cae7f0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750
Change-Id: I9c7cac5e73845ed4f08d2d518e661891188a0ce6
2021-10-06 00:45:44 +00:00
TreeHugger Robot
1bf753f7a6
Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev
2021-10-06 00:14:46 +00:00
TreeHugger Robot
4778c11c6d
Merge "Update logging to help debug b/200572078" into sc-v2-dev am: feeb788941 am: 96daf27101
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971864
Change-Id: Ib9e64f2766ca8184fd363af78ffd0efe786783b9
2021-10-05 22:03:24 +00:00
TreeHugger Robot
feeb788941
Merge "Update logging to help debug b/200572078" into sc-v2-dev
2021-10-05 21:33:55 +00:00
Brian Isganitis
6a1b0a5824
Have PopContainerWithArrow require BaseDraggingActivity.
...
Fix: 201978182
Test: No
Change-Id: I3ed46c07cce88b939d1a085ab62d5413ca217e5a
2021-10-05 14:38:14 -04:00
Pat Manning
a140a0b611
Add TAPL test that dismissing focused task causes next task to become
...
focused.
Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: I6f29dc6e3954f1b22ce8ffdf0a83db97202caefe
2021-10-05 18:00:11 +00:00
Thales Lima
1de472e558
Merge "launcher: create more space options" into sc-v2-dev am: 9a6b20f0cb am: c760160125
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15953000
Change-Id: I6113b9a28f0d33cdff55f3db584e853ed7f7a603
2021-10-05 16:14:19 +00:00
Thales Lima
9a6b20f0cb
Merge "launcher: create more space options" into sc-v2-dev
2021-10-05 15:38:57 +00:00
Thales Lima
78d00adcbe
launcher: create more space options
...
The grid doesn't have a constant space between cells anymore, so we need
new attributes for the different spaces in different situations.
Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I4b6aae5b3fea281490c00cd13d0cd3a25372f21b
2021-10-05 12:26:05 +01:00
Samuel Fufa
9a69b861ac
Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev am: 7a0cdc4801 am: fdaae1db08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971865
Change-Id: I81aba8e5349bd2c38de1da8f1011ce91d6d9541a
2021-10-05 03:56:13 +00:00
Samuel Fufa
7a0cdc4801
Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev
2021-10-05 03:22:26 +00:00
sfufa@google.com
95245e50f8
Support drag/drop on search results am: ca76de0e6e am: 027f65279f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910881
Change-Id: I5634db28e9a3dc9582d321de636274700f56e5b8
2021-10-05 00:43:23 +00:00
sfufa@google.com
b0ec41285b
[Search] Avoiding hiding keyboard when clearing search text
...
Bug: 199555357
Test: manual
Change-Id: I7bc9b7097427aed3b526c8d75956d323e819e79b
2021-10-04 14:23:14 -07:00
Schneider Victor-tulias
cd1ef70350
Update logging to help debug b/200572078
...
The class name logged in a repro of b/200572078 was shortened too much to find the class. Updated logging to get the full name.
Test: ran launcher and checked logs
Bug: 200572078
Change-Id: I12324348b4a8a56d4ab06ca54f13a90f8cbea955
2021-10-04 21:12:26 +00:00
sfufa@google.com
ca76de0e6e
Support drag/drop on search results
...
Bug: 199341710
Test: manual
Change-Id: I9879c2a3769d4f930ab0289d2f26e4757971549d
2021-10-04 13:14:12 -07:00
Sunny Goyal
775843922d
Merge "Ignoring display size change when display is off" into sc-v2-dev am: 954a3dd0cc am: 2eee3cbeb6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951925
Change-Id: I485fd7e95b6972c398970854af25de0671eae467
2021-10-01 18:15:24 +00:00
Sunny Goyal
954a3dd0cc
Merge "Ignoring display size change when display is off" into sc-v2-dev
2021-10-01 17:54:08 +00:00
Thales Lima
fea867b980
Merge "launcher: create attrs for more horizontal margin options" into sc-v2-dev am: bfb6996484 am: 11f703dd36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15879755
Change-Id: Ia344342fa38c7e9a330280a29aa852279779662b
2021-10-01 13:44:25 +00:00
Thales Lima
bfb6996484
Merge "launcher: create attrs for more horizontal margin options" into sc-v2-dev
2021-10-01 13:20:25 +00:00
Steven Ng
f6dce85efb
Merge "Group weather widgets under the widget category" into sc-v2-dev am: 9114f280a2 am: bec302ab6c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897183
Change-Id: I982d42b726a75e58fb2f9c2a608e7bfb4bd6874a
2021-10-01 10:44:44 +00:00
Steven Ng
9114f280a2
Merge "Group weather widgets under the widget category" into sc-v2-dev
2021-10-01 10:17:47 +00:00
Schneider Victor-tulias
0b9a1508d1
Merge "Improve all apps loading times." into sc-v2-dev am: 858d82b8be am: 098dbe253c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15798361
Change-Id: Ibc6f8271a27031b053cd86436731baeb10c4471d
2021-10-01 07:24:06 +00:00
Schneider Victor-tulias
858d82b8be
Merge "Improve all apps loading times." into sc-v2-dev
2021-10-01 07:01:48 +00:00
TreeHugger Robot
2e00cb8fee
Merge "Overview - Remove Chips code" into sc-v2-dev am: d1ad84c6df am: 5587d7a493
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15942463
Change-Id: I40a106e7ff4060c6c0459142defa418fad1d42b5
2021-09-30 22:43:30 +00:00
TreeHugger Robot
d1ad84c6df
Merge "Overview - Remove Chips code" into sc-v2-dev
2021-09-30 22:14:41 +00:00
Sunny Goyal
807de418e9
Ignoring display size change when display is off
...
Bug: 198965093
Test: Verified with the script provided on the bug
Change-Id: I0efaa5a9b7be94f406a9c283219c715a6c430256
2021-09-30 11:43:26 -07:00
Steven Ng
43859f10bc
Group weather widgets under the widget category
...
Test: manual (see video in bug) and added PackageUserKeyTest
Also tested pending conversation widget to ensure the right icon
is shown.
Fix: 201062480
Change-Id: If23c28bd93c54fb1747648309ab3c238a1810902
2021-09-30 14:22:21 +01:00
Thales Lima
d90faab655
launcher: create attrs for more horizontal margin options
...
According to new specs, margins are different depending on orientation
and fold/unfolded. Also change the name of the variable to
horizontalMargin, since it applies the same padding to both sides.
Bug: 191879424
Test: manual and checking paddings in HSV
Change-Id: I8990c02b928a22b9f3b0cf3cbc3abf08df4daa9d
2021-09-30 14:06:56 +01:00
Thales Lima
e92fb4b79c
Merge "launcher: create paddings for foldables" into sc-v2-dev am: f8182da6c5 am: a8762e54f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15896987
Change-Id: I298f39ca40f8aee5128754b60d487a1a2eb98c2f
2021-09-30 09:46:02 +00:00
Thales Lima
f8182da6c5
Merge "launcher: create paddings for foldables" into sc-v2-dev
2021-09-30 09:19:22 +00:00
TreeHugger Robot
cd3f011a66
Merge "Add logging to help debug b/200572078." into sc-v2-dev am: a246eb4aa5 am: d070aa69fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925088
Change-Id: I15c695af4382313c1c183c25d729f405efda521e
2021-09-30 07:31:41 +00:00
TreeHugger Robot
a246eb4aa5
Merge "Add logging to help debug b/200572078." into sc-v2-dev
2021-09-30 07:01:41 +00:00
TreeHugger Robot
2e4a003f71
Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c am: 8775a79741
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390
Change-Id: I27bfb9c63fb618abb0faaa116e44b9e95aa84b45
2021-09-30 04:38:22 +00:00
TreeHugger Robot
70cc9ffe7c
Merge "Remove the Share button option from Overview." into sc-v2-dev
2021-09-30 04:11:47 +00:00
TreeHugger Robot
d5b53bd6ac
Merge "Allow icon add animations when user touches the screen." into sc-v2-dev am: 31a0b39daf am: 82bd8c7c57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15846608
Change-Id: If3e802440ce7941c02f37f44b4fe33ed295fc39b
2021-09-30 02:23:00 +00:00
TreeHugger Robot
31a0b39daf
Merge "Allow icon add animations when user touches the screen." into sc-v2-dev
2021-09-30 01:51:49 +00:00
Samuel Fufa
7444c5185f
Merge "[Foldable] Apply max width to AllApps in unfolded state." into sc-v2-dev am: abb827b376 am: aab3edf950
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15882894
Change-Id: I3f8df26bbc49772faf8b166750fa8cc5ddbc16b5
2021-09-29 22:32:01 +00:00
Samuel Fufa
abb827b376
Merge "[Foldable] Apply max width to AllApps in unfolded state." into sc-v2-dev
2021-09-29 22:07:42 +00:00
Alina Zaidi
1932f63691
Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev am: a4c1d0cfa4 am: 61d6aea926
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15921288
Change-Id: Ic7ffb40f4d15a5c421505abcb8c373afb6604477
2021-09-29 21:48:05 +00:00
Zak Cohen
71c527126b
Overview - Remove Chips code
...
The proactive chips code has bit rotted and doesn't work properly anymore.
The product direction is not being pursued, so remove the code.
Bug: 201568600
Test: local
Change-Id: Ia00ceb027719c841bed665c1c50a132230bffe89
2021-09-29 14:43:27 -07:00
Zak Cohen
283ee7d74b
Remove the Share button option from Overview.
...
It has never been enabled, and is not plan of record.
Bug: 201446691
Test: local and updated unit tests
Change-Id: I5ac6d40ba1dbcf28de4355cc51fff74cfb37ebc6
2021-09-29 14:43:27 -07:00