TreeHugger Robot
211ddba6a7
Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev am: 8f0de5d711 am: b88bce8bb9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15177217
Change-Id: Ifb0b814f3eddabda54e99f32a5749bdbdd7d919f
2021-09-09 19:57:18 +00:00
Alex Chau
c55a64483e
Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY am: fef4d0e081 am: f681de8ce3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795679
Change-Id: Iee98cf89f7c498f0aefdf00ee6be0c8591972af8
2021-09-09 19:57:11 +00:00
TreeHugger Robot
8f0de5d711
Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev
2021-09-09 19:19:26 +00:00
Thales Lima
c2a6f6f4ae
launcher: correct page spacing for multiple panels in RTL
...
Fixes 199043583
Test: manual testing in unfolded state in portrait and landscape
Change-Id: Idf5bdabb50742498701681e4654e72260054ab47
2021-09-09 19:13:19 +01:00
Alex Chau
fef4d0e081
Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY
...
Bug: 199407109
Test: manual
Change-Id: I6eb982a79f4130925a9d7e0972faf0f01a6aac20
2021-09-09 18:24:51 +01:00
Lais Andrade
cc5c8843df
Introduces haptic feedback to launcher overview
...
Haptics introduced at the key moments:
- Task scroll in overview or quick switch, trigger when a new task comes
to the center of the screen;
- Task scroll in overview when overscroll animation is triggered;
- Task dismissed in overview;
There is also a configured min gap between two scroll haptics set to
20ms to prevent fast scrolls from creating a chain of cancelled effects.
Fix: 182382085
Test: manual
Change-Id: I43c0f8c879a06f317e8a660240dafb7f7abe79f7
2021-09-09 14:08:01 +01:00
Hyunyoung Song
4c63015f46
Introduce haptic when all apps state transition happens.
...
Bug: 195679234
Test: manual
Change-Id: Id923f1641bb49579c972e3dbb9de094293d00f93
2021-09-09 11:53:07 +00:00
TreeHugger Robot
d2eb7705a5
Merge "Slight polish for split screen gesture animation" into sc-v2-dev am: 3f8f61cb40 am: a6d015d41e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780633
Change-Id: Ie5307ded8aef7e03dc463723ef6602c33477cdeb
2021-09-09 03:48:07 +00:00
TreeHugger Robot
3f8f61cb40
Merge "Slight polish for split screen gesture animation" into sc-v2-dev
2021-09-09 03:17:23 +00:00
Samuel Fufa
86a5fcfc8e
Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev am: 8aecc9ac36 am: 2e4bb875d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788127
Change-Id: I6f1d81eb6675090941a6028589e0fcb612cbb9db
2021-09-09 01:47:37 +00:00
Samuel Fufa
8aecc9ac36
Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev
2021-09-09 01:09:01 +00:00
Vinit Nayak
d1a70eeb75
Slight polish for split screen gesture animation
...
* Divider bar dimensions manually calculated since
the leash that is provided has bounds larger than
the space that is visually shown between the two split
apps
Bug: 181704764
Test: Swipe up on large and normal screen,
w/ and w/o home rotation enabled
Change-Id: I1fde053151d47c6ce3e11f16f8ae4a153d273871
2021-09-08 17:39:49 -07:00
TreeHugger Robot
63db45c1d9
Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev am: fd744975cc am: 1bde92ca95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786971
Change-Id: Icc319f23eab7545c196e2b95a5c27e428a63cf7b
2021-09-08 22:31:40 +00:00
TreeHugger Robot
fd744975cc
Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev
2021-09-08 22:09:53 +00:00
Tony Wickham
adc40c11fb
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 85435ff751 am: 81aee5e024
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: Ia70df34fcf2715fcb1f8d9459bb7201521542583
2021-09-08 22:03:00 +00:00
Samuel Fufa
564e9ca223
[Work] Fix work apps showing in personal tab
...
The problem here is that we are tracking hasWorkApps and usingTabs using the same value.
This leads to work/personal apps showing together when clearing search since mUsingTabs is overridden to false on setLastSearchQuery and later used to determine if tabs should show.
Bug: 198546279
Test: Manual
Change-Id: I7df5d65472703bedcc9dd688847d9ebd146d5f61
2021-09-08 15:02:24 -07:00
Tony Wickham
81aee5e024
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 85435ff751
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: Ic958cdc3ce8c7e478d6f4eefeec5bb1f87c9ede2
2021-09-08 21:49:46 +00:00
Tony Wickham
9ac2800849
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: I268204c3f0597fb4609437a94efdffcdfdb6b4f0
2021-09-08 21:28:46 +00:00
Tony Wickham
534bd2205b
Add ability to start DeveloperOptionsFragment with filter pre-applied
...
Repurposing EXTRA_FRAGMENT_ARG_KEY to set an initial filter.
Test: adb shell 'am start -n com.google.android.apps.nexuslauncher/com.android.launcher3.settings.SettingsActivity --es ":settings:fragment" "com.android.launcher3.settings.DeveloperOptionsFragment" --es ":settings:fragment_args_key" "Education"'
Bug: 199299382
Change-Id: I032f7ffc373daed51c8d381f3cacf722fb3fb198
2021-09-08 13:51:29 -07:00
Tony Wickham
281786a841
Add option to reset Onboarding Flows in Developer Options
...
Test: Go to Developer Options, reset Hybrid Hotseat Education, then long press on a predicted hotseat item and ensure edu toast appears
Bug: 199299382
Change-Id: I384d7af08fc8b842bc3a1333b9f8017cca3680e6
2021-09-08 13:51:25 -07:00
Alex Chau
817e0fa812
Fix crash when Workspace item is added to two panel home
...
Test: Run com.android.launcher3.ui.widgetRequestPinItemTest#testPinShortcut tests
and com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Bug: 199150824
Change-Id: I8550970806eb0b9bfc246d4fb76ffbd0415b7647
2021-09-08 21:01:10 +01:00
TreeHugger Robot
8d8bde3b67
Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev am: 8d9eaf0c7d am: 20e9383d29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786950
Change-Id: I80e913d577d05201f80555cffd3f08d9ecccddc7
2021-09-08 19:24:21 +00:00
TreeHugger Robot
8b91fdfffb
Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev am: b44b73ee3a am: 9f17e2e6c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15778398
Change-Id: I851ad5485e6cbff4d6207112b1420df165a311b1
2021-09-08 19:19:32 +00:00
Tony Wickham
a343699760
Don't allow starting DeveloperOptionsFragment on non-debug builds
...
Test: adb shell am start -n com.google.android.apps.nexuslauncher/com.android.launcher3.settings.SettingsActivity --es ":settings:fragment" "com.android.launcher3.settings.DeveloperOptionsFragment"
Fixes: 199302659
Change-Id: I33dd4db3444c0ccabbe4dc3bb80db4167aec6a03
2021-09-08 19:11:59 +00:00
TreeHugger Robot
8d9eaf0c7d
Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev
2021-09-08 19:10:20 +00:00
TreeHugger Robot
b44b73ee3a
Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev
2021-09-08 18:40:37 +00:00
Sunny Goyal
266905160a
Fixing itemInfoMatcher not working for folders
...
Bug: 197686628
Test: Manual
Change-Id: Ie43a55be6cce4bc73e38525388d744a649dbc740
2021-09-08 12:29:13 -04:00
Sunny Goyal
3e9a29c4d6
Moving roboelectic tests to instrumentation tests
...
Bug: 196825541
Test: Presubmit
Change-Id: I197bc47181308bb0b79f3815a892b733abbcd1fd
2021-09-08 10:23:30 -04:00
Thales Lima
31a2afef49
Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev am: 9223c1e27c am: 4f347ef3cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15726603
Change-Id: I2a0e1b1c880c88a0d1940490e5a1c1276790e10c
2021-09-08 10:29:19 +00:00
Thales Lima
9223c1e27c
Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev
2021-09-08 09:58:11 +00:00
TreeHugger Robot
dab125fcc3
Merge "Prevent NPE when init device profile" into sc-v2-dev am: 11438429a8 am: 68e7b1a315
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15781507
Change-Id: I23c1ef0490784d2ff8452ecc7714c841d76d210d
2021-09-08 02:46:25 +00:00
TreeHugger Robot
11438429a8
Merge "Prevent NPE when init device profile" into sc-v2-dev
2021-09-08 02:14:31 +00:00
Jerry Chang
bfac46a30c
Prevent NPE when init device profile
...
Fix: 198871283
Test: manual
Change-Id: Ie303ff4f3dc05f419e80038e41e195dc874ba40a
2021-09-08 08:34:39 +08:00
TreeHugger Robot
6b37bffd5c
Merge "Fixing leak in model tests" into sc-v2-dev am: d213914214 am: 8dbae16629
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15777966
Change-Id: I210bc76082112c716432dcc00ffe398722a1fe48
2021-09-07 22:06:32 +00:00
TreeHugger Robot
d213914214
Merge "Fixing leak in model tests" into sc-v2-dev
2021-09-07 21:31:34 +00:00
Tony Wickham
6bc2bc1a02
Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev am: 437e44810d am: 15c653c65c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779378
Change-Id: Idcee3d0543efaad86a0dbd0409ed5f1596971369
2021-09-07 21:22:59 +00:00
Tony Wickham
437e44810d
Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev
2021-09-07 20:52:44 +00:00
Samuel Fufa
832043d1c9
Merge "[Search] Update AllApps header protection" into sc-qpr1-dev
2021-09-07 19:57:31 +00:00
Sunny Goyal
b45aef3f1c
Fixing leak in model tests
...
> InstallSessionTracker is not released immediately causing large memory objects
being held by tests
Bug: 198719724
Test: Presubmit
Change-Id: I1d19a2a498a9f255077818dc7d78422367ec1749
2021-09-07 15:34:48 -04:00
Tony Wickham
302eff9c84
Fix wallpaper picker crash if folder is in hotseat
...
Only use mWorkspaceScreens if info.container == CONTAINER_DESKTOP, otherwise assume it's in mHotseat instead.
Test: have a folder in hotseat, open wallpaper picker and can see the preview and set wallpaper
Fixes: 199179718
Change-Id: I6f1dbd8dc387783bb8b76e2bc469508c079a85f8
2021-09-07 12:04:47 -07:00
TreeHugger Robot
f0270040b7
Merge "Fix crash when hotseat icon is dragged onto Workspace" into sc-v2-dev am: ce10de7964 am: fef84dd5ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15771582
Change-Id: I99ee908d056147d354dce088e9eb751da3ae6f9f
2021-09-06 17:30:24 +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
TreeHugger Robot
316ff9e86f
Merge "Remove widget panel related leftover workspace items" into sc-v2-dev am: 69fd5cb959 am: 29ad430f36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763353
Change-Id: Ice35fd5a9ca28916a33059ff776ff06db9acef02
2021-09-06 13:05: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
a643d926f1
Fix getPagesToBindSynchronously returning wrong page pairs am: 62f129b878 am: 5644b4f5fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15754330
Change-Id: Ia7e9f4b5861e60baf7859378c3634fb5c075e7bc
2021-09-06 11:42:23 +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
2a93252733
Merge "Add two extra empty pages on two panel launcher home" into sc-v2-dev am: 4926bf706a am: e19b1fb4a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15727162
Change-Id: I7b7d7f9110dff58ea54d5bce7ae1f28e5ba91e82
2021-09-05 21:33:49 +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