Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot 9cc7c45b7f Merge "Tap on recents button twice to go to last app" into sc-v2-dev 2021-06-16 07:18:07 +00:00
vadimt 5a03ade794 Improving diagnostics when Launcher dies while in ContentProvider call
Test: presubmit
Bug: 191059619
Change-Id: Ib87a41663a63729024b41603973b782cf4763551
2021-06-15 19:34:24 -07:00
Jon Miranda 229c4c3235 App Shortcut menu bug fixes and polish.
- Widget is its own item.
- Change order of icon order.
- Update grab handle colors

Bug: 188095695
Test: long press on apps with/without widgets, long press apps on workspace/
      all apps/search

Change-Id: Iabb9b4b3f3a928103b9d62601f22e74ef2325d7c
2021-06-15 18:59:51 -07:00
vadimt c636900a90 Improving diagnostics for objects disappearing from screen
Test: presubmit
Bug: 187761685
Change-Id: Id932e8100399990d791f7825787708d5d459f61e
2021-06-15 18:52:31 -07:00
Vinit Nayak 5219c563be Merge "Initial commit of TaskBar on keyguard" into sc-v2-dev 2021-06-15 23:05:17 +00:00
Vinit Nayak 113377d8b8 Tap on recents button twice to go to last app
Fixes: 190660016
Test: Tapped on recents twice and saw last app.
Tapped on recents and tried to tap on other app
icons and none of them launched.

Change-Id: Ie89f1ec0464f194087dc07ab99deb8223ab6ddb8
2021-06-15 15:12:17 -07:00
Jon Miranda a7783fd734 Update launcher text to match specs.
Bug: 190915409
Test: visual, manual
Change-Id: I9560f95a452cf92ca3eada2a13f3ed63cc9b44da
2021-06-15 14:47:30 -07:00
Schneider Victor-tulias f6ae45e46d Merge "Skip item infos that fail session info verification." into sc-dev am: e00d88e32a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792907

Change-Id: I1014a006546982860e519dc1d23dd2321e86277e
2021-06-15 21:18:03 +00:00
Hongwei Wang 413a443a71 Merge "Use RectFSpringAnim for auto-enter-pip" into sc-dev am: e3bfeddd04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14984847

Change-Id: I4994f8b872c2b59497bea0106036baf30cb0a7f8
2021-06-15 21:17:48 +00:00
Thiru Ramasamy e6f240bc12 Merge "Enable logging for 'Themed icons' setting." into sc-dev am: 640fc8b84d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14983277

Change-Id: If40731963001b85a16505ad162e52aad2a971154
2021-06-15 21:17:03 +00:00
Jon Miranda 9d41499a33 Fix bug where preview item icon fades/disappears for a frame during
- Remove fade since we no longer clip icons.
- Ensures a clean handoff between drag view and folder icon preview item.

Bug: 175329686
Test: create folder / add items to folder
Change-Id: Iaab592410734b0b5239dbbddbb9b2ed5a9f5d8b0
2021-06-15 21:14:47 +00:00
Winson Chung d14190d547 Do some additional cleanup when switching handlers
Bug: 183962705
Test: Presubmit

Change-Id: Ia9295d2cf89fa6b6fe77c5e4861a704c4a82ab12
2021-06-15 13:57:06 -07:00
Schneider Victor-tulias e00d88e32a Merge "Skip item infos that fail session info verification." into sc-dev 2021-06-15 20:54:23 +00:00
Hongwei Wang e3bfeddd04 Merge "Use RectFSpringAnim for auto-enter-pip" into sc-dev 2021-06-15 20:50:45 +00:00
Thiru Ramasamy 640fc8b84d Merge "Enable logging for 'Themed icons' setting." into sc-dev 2021-06-15 20:47:23 +00:00
Samuel Fufa dfc274364e Add work toggle to work apps paused message
This also fixes scrolling issues in landscape

Bug: 186857875
Bug: 161929312
Bug: 189983516
Bug: 190567199
screenshot: https://screenshot.googleplex.com/BCjcyJFqJo6W4Tr
Test: local
Change-Id: I7bcf23cc4be2fca936eba41342731789eb8f3292
2021-06-15 14:58:05 -05:00
TreeHugger Robot 58e3a767ec Merge "Only inflating taskbar views for valid items" into sc-v2-dev 2021-06-15 19:19:55 +00:00
Schneider Victor-tulias 12e9345f4f Skip item infos that fail session info verification.
trichromelibrary.canary is failing session info verification, but is still being added as blank icon on the workspace in some cases. Added logic to skip apps that fail this verification until the root cause can be found.

Bug: 168788486
Test: none

Change-Id: I8a7fe76f321de493b2c6c67ba6922eae23067ff3
2021-06-15 12:12:07 -07:00
Hongwei Wang 9d3e31e67c Use RectFSpringAnim for auto-enter-pip
Make SwipePipToHomeAnimator a subclass of RectFSpringAnim and use the
bounds calculated from latter for auto-enter-pip transition.

Note that the landscape to portrait case may not fully comply to
RectFSpringAnim as we calculate the position separately in
SwipePipToHomeAnimator.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/CWBPU2A6vB8CeTFRanQLx
Bug: 184789411
Test: manual, see video
Change-Id: I67dae09e682b7d8f1a1f08995eb3bcf76bdf7417
2021-06-15 12:04:17 -07:00
TreeHugger Robot fb5e2ce31d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 1560f401ae -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia50ac42f62c21568d06f3b3ff5581fa4d4b98b80
2021-06-15 18:53:35 +00:00
TreeHugger Robot f556aaaec0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 7baa1aea25 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I19f23c176f58f71e9b3f18122b9336b3f9d90c5c
2021-06-15 18:52:57 +00:00
TreeHugger Robot 86ec716300 Merge "Update all apps divider to pill shape" into sc-dev am: 4ff2682787
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14966493

Change-Id: I4eb5916743ec677f9658c3a51d05802d9f71afca
2021-06-15 18:52:50 +00:00
Samuel Fufa b93523ed3a Merge "Fix home settings landing page" into sc-dev am: 1bd6fdb6e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14965825

Change-Id: Iabc1f53aa9e10113dcc50df431f3c25736cbe4df
2021-06-15 18:52:21 +00:00
TreeHugger Robot 1560f401ae Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-15 18:52:15 +00:00
TreeHugger Robot 7baa1aea25 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-15 18:49:17 +00:00
Vinit Nayak 560d28e3a1 Initial commit of TaskBar on keyguard
Bug: 180046394
Test: Tested with pin + keyboard +
pattern

Change-Id: I951d9508b1325c157a9c0d92fa8e77fe8df9c460
2021-06-15 11:33:26 -07:00
TreeHugger Robot 4ff2682787 Merge "Update all apps divider to pill shape" into sc-dev 2021-06-15 18:33:22 +00:00
Samuel Fufa 1bd6fdb6e3 Merge "Fix home settings landing page" into sc-dev 2021-06-15 18:32:36 +00:00
TreeHugger Robot 7f1164c8b8 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-15 18:23:06 +00:00
TreeHugger Robot 12e246d773 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-15 18:21:06 +00:00
Winson Chung 0c36935be9 Merge "Don't rely on intent to call back from activity tracker" into sc-dev am: 1b369c4763
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14909197

Change-Id: Ic05028f7cbd58bd4312b04c32f60f31ec33a1721
2021-06-15 18:16:19 +00:00
TreeHugger Robot 259960ae36 Merge "Remove IME visibility check before closing the keyboard" into sc-dev am: 9c25a4dd07
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14974657

Change-Id: I117540582ba10f3e47006238cfeaf76f335f7c4f
2021-06-15 18:16:13 +00:00
TreeHugger Robot 5636db853d Merge "Fix foreground position during widget home animation" into sc-dev am: 3e366d6529
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948450

Change-Id: If1d918feb23b9f2282bcc88107d9beaa65c21fcd
2021-06-15 18:16:00 +00:00
Winson Chung 1b369c4763 Merge "Don't rely on intent to call back from activity tracker" into sc-dev 2021-06-15 18:04:52 +00:00
TreeHugger Robot 9c25a4dd07 Merge "Remove IME visibility check before closing the keyboard" into sc-dev 2021-06-15 18:00:48 +00:00
TreeHugger Robot 3e366d6529 Merge "Fix foreground position during widget home animation" into sc-dev 2021-06-15 17:59:48 +00:00
Thiru Ramasamy 74a6d2ea55 Enable logging for 'Themed icons' setting.
Eldar: http://eldar/510864786
Bug: 191161241
Test: local - http://gpaste/5934701681311744 & http://gpaste/6715297709948928
Change-Id: I18ad97f68b372997e222f06dabf8bbe83f15d92f
2021-06-15 10:48:43 -07:00
Alina Zaidi b49556b21a Merge "Update bottom widget picker and pin widget dialog layout in landscape mode." into sc-dev am: b5459c9ba5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817823

Change-Id: Iaf5fb71dc31f9e94b053c74da4a148bef0f761da
2021-06-15 17:37:47 +00:00
Sunny Goyal ea8ac5a223 Only inflating taskbar views for valid items
Also enabling view cache for folders

Bug: 187353581
Test: Manual
Change-Id: I5bc695fd86475f30611bc6b362b4ae93c48c26bb
2021-06-15 10:37:23 -07:00
Alina Zaidi b5459c9ba5 Merge "Update bottom widget picker and pin widget dialog layout in landscape mode." into sc-dev 2021-06-15 17:23:02 +00:00
Bill Yi 5301e68108 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icdc7900e3f87c4dab24625e0416ff37e486cfb65
2021-06-15 16:43:13 +00:00
Bill Yi 360a6e593b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7eaab8bb5354b70f5fb4f6531a06ccb1d297c1fd
2021-06-15 16:42:33 +00:00
Bill Yi 62a5942bbb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6008bded871e4aeb07624a629a1c511da221e180
2021-06-15 16:41:08 +00:00
Bill Yi 579b51a4d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01c5129b1c842e461860f3f08701a3f897546503
2021-06-15 16:40:31 +00:00
Stevie Kideckel 803927bdae Use drawable states for list positions instead of swapping drawables
Replacing drawables interrupts touch feedback of ripples. Implementing
custom state lists allows altering the corner radius without cutting off
ripples and also means we reduce unnecessary object creation.

Fix: 190467676
Test: locally
Change-Id: I10eec042aae57d278f8254327d42df945767c7ac
2021-06-15 16:32:36 +00:00
Santhosh Thangaraj 8134028a3a Merge "Fix the page number based Seen impression." into sc-dev am: 4d61c56200
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14905388

Change-Id: I0d3e74f112da86eedc7d50bbe2bd9fa799473902
2021-06-15 15:22:29 +00:00
Santhosh Thangaraj 4d61c56200 Merge "Fix the page number based Seen impression." into sc-dev 2021-06-15 15:20:40 +00:00
Alina Zaidi dfa6aa828c Update bottom widget picker and pin widget dialog layout in landscape mode.
Bug: 189726613
Test: Manually tested
Change-Id: I048740f949571423ab53bbb01e7128d9981b1ce7
2021-06-15 14:27:57 +01:00
Hyunyoung Song 0ba45e4d5e Remove IME visibility check before closing the keyboard
Bug: 185890446
Test: manual

TL;DR;;
In racy condition, keyboard is not visible when the check happens
but in next frame, it becomes visible.

Change-Id: I3336f3c967804e5ccdea9110c363e92d83b7bc02
2021-06-14 23:15:52 -07:00
Winson Chung 1c2d522d1b Don't rely on intent to call back from activity tracker
- The intent is not updated in certain cases which means that the
  callback may not be made if Launcher gets recreated. Instead
  have the tracker manage the set of registered callbacks.
- This change allows AbsSwipeUpHandler to continue to receive
  onActivityInit calls even if Launcher restarts, and also to
  handle a case where restarting while waiting for a page-settling
  callback will continue to finish the gesture.

Bug: 183962705
Test: Force recreate at various points in the gesture

Change-Id: Ib5ead8c868e798e26e56776f57bd715c79d087cd
2021-06-14 20:57:40 -07:00