Commit Graph

45409 Commits

Author SHA1 Message Date
Andy Wickham 34d3bcece2 Merge "Utilities.trim never returns null." into sc-v2-dev am: 0af55bbc0c am: d0f7f13f5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Change-Id: Iaf342ca69a8b1caa4aa22899341db5c7dc0aafd1
2022-01-31 23:31:31 +00:00
Andy Wickham d0f7f13f5d Merge "Utilities.trim never returns null." into sc-v2-dev am: 0af55bbc0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Change-Id: Id09ef46d8e534da0a165c3b1df3ee0b5803db1df
2022-01-31 23:25:41 +00:00
Andy Wickham 82b3002ac9 Merge changes from topic "presubmit-am-54c71514c6e64d9595298afeee5d4938" into sc-v2-dev-plus-aosp am: 30b3369ac9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Change-Id: I8c8c2a5cfe8fb0b372a1ddc5580bbf587a5ef4f1
2022-01-31 23:25:10 +00:00
Andy Wickham 30b3369ac9 Merge changes from topic "presubmit-am-54c71514c6e64d9595298afeee5d4938" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Utilities.trim never returns null. 2p: 5f0a5eb877
  Utilities.trim never returns null.
2022-01-31 23:13:14 +00:00
Andy Wickham 0af55bbc0c Merge "Utilities.trim never returns null." into sc-v2-dev 2022-01-31 23:13:14 +00:00
Winson Chung 458e842bca Merge "Revert "Temporarily disable SUW specific insets logic"" 2022-01-29 22:05:14 +00:00
Alex Chau 758437493f Add ScreenRecord for a flaky test
Bug: 202433017
Test: none
Change-Id: If4bc72e5eae39ce641521b2edbf3ba630968c561
2022-01-29 18:35:56 +00:00
Brian Isganitis c13700b61e Merge changes I2ede15d8,I86a0ffc0,I7c5fdbc7
* changes:
  Do not scale down taskbar all apps icons.
  Inflate taskbar all apps in abstract slide-in view.
  Introduce initial A-Z app drawer to taskbar.
2022-01-29 03:00:45 +00:00
TreeHugger Robot 5f0dbb6828 Merge "Include A11y timeout for taskbar icon dimming in kids mode." 2022-01-29 02:42:55 +00:00
Jon Miranda 06c06a46e5 [automerger skipped] Merge "Fix bug where back swipe to icon in All Apps search result." into sc-v2-dev am: b2e30bd4e9 -s ours am: 63dd1ab86c -s ours
am skip reason: Merged-In Iaec77d15c9533edccd9c82164143af8fa522158f with SHA-1 db767aa575 is already in history

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

Change-Id: I79ae2e582471a4fcab6590e07a6f69dcba331cf5
2022-01-29 00:25:23 +00:00
Jon Miranda 63dd1ab86c [automerger skipped] Merge "Fix bug where back swipe to icon in All Apps search result." into sc-v2-dev am: b2e30bd4e9 -s ours
am skip reason: Merged-In Iaec77d15c9533edccd9c82164143af8fa522158f with SHA-1 db767aa575 is already in history

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

Change-Id: I52ec25408aa0c763712a443dd34710e107c4551f
2022-01-29 00:19:04 +00:00
Jon Miranda e16b89127c [automerger skipped] Merge changes from topic "presubmit-am-afa98d56a10a42f4b953a23b9b07db3b" into sc-v2-dev-plus-aosp am: ce048f07cc -s ours
am skip reason: Merged-In Iaec77d15c9533edccd9c82164143af8fa522158f with SHA-1 b030f83f52 is already in history

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

Change-Id: I61adc056b7ebcee2cd049bffa7ecc20eb7e60b56
2022-01-29 00:18:36 +00:00
Jon Miranda b2e30bd4e9 Merge "Fix bug where back swipe to icon in All Apps search result." into sc-v2-dev 2022-01-29 00:07:23 +00:00
Jon Miranda ce048f07cc Merge changes from topic "presubmit-am-afa98d56a10a42f4b953a23b9b07db3b" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Fix bug where back swipe to icon in All Apps search result. 2p: db767aa575
  Fix bug where back swipe to icon in All Apps search result.
2022-01-29 00:07:23 +00:00
Alex Chau 65dd83817c Merge "Remove ENABLE_OVERVIEW_GRID feature flag" 2022-01-28 23:14:23 +00:00
Brian Isganitis 25b2ac8527 Do not scale down taskbar all apps icons.
Test: Manual
Bug: 204696617
Change-Id: I2ede15d8beaef65661984fe63bd99d0e7e726774
2022-01-28 16:43:24 -05:00
Brian Isganitis 9e80fb355c Inflate taskbar all apps in abstract slide-in view.
All apps can now be dismissed via the scrim or swiping down. To properly
behave as an AFW, the apps view can no longer be within the taskbar's
layout, and will instead add and remove itself from the drag layer.

Test: Manual
Bug: 204696617
Change-Id: I86a0ffc06faa653c65b3797a57ba6512c6874221
2022-01-28 15:21:11 -05:00
Brian Isganitis 4edf1da6e2 Introduce initial A-Z app drawer to taskbar.
Invoking the drawer is currently hooked up to tapping empty space on the
taskbar. Apps can be launched, and drag-n-drop split screen works. The
drawer can only be dismissed by acting on an app icon or tapping the
taskbar again.

Test: Manual
Bug: 204696617
Change-Id: I7c5fdbc7d54d8209f6f15ef80bfeb5e9b80cf647
2022-01-28 15:20:00 -05:00
TreeHugger Robot 65ffe19260 Merge "Allow overriding enterprise related strings in Launcher" 2022-01-28 18:52:43 +00:00
kholoud mohamed c76b2035aa Allow overriding enterprise related strings in Launcher
Test: manual
Bug: 188414133
Bug: 211422509
Bug: 188410712
Change-Id: I75858cdcf2057e7c270da5893cd9a90c6753f182
2022-01-28 16:33:03 +00:00
TreeHugger Robot 790146d1d8 Merge "Do not translate taskbar icons in kids mode when IME present." 2022-01-28 15:05:15 +00:00
TreeHugger Robot 0cc131ffe7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-28 14:49:21 +00:00
Pat Manning 05ff09c52c Do not translate taskbar icons in kids mode when IME present.
Test: manual
Bug: 203749295
Change-Id: I6958ed95f1199c1178487134b92ff3ef0f15da2e
2022-01-28 12:22:17 +00:00
Alex Chau bc8a71153d Merge "Dismiss AllApps when scrim is clicked" 2022-01-28 11:58:26 +00:00
Pat Manning 2a0d1bed1a Include A11y timeout for taskbar icon dimming in kids mode.
Test: manual
Bug: 203748818
Change-Id: I3d3f325aa667a033bb32ab3b3cd2d0b794f6ea4b
2022-01-28 11:42:21 +00:00
Pat Manning e9a36099db Merge "Animate icon dimming in taskbar when force showing in immersive mode." 2022-01-28 10:24:07 +00:00
Alex Chau e9703705c3 Merge "Revert "Add ScreenRecord for a flaky test"" 2022-01-28 09:55:23 +00:00
TreeHugger Robot 6db903c27b Merge "Disable bulk icon loading" 2022-01-28 02:49:21 +00:00
Andy Wickham 38257ad086 [automerge] Utilities.trim never returns null. 2p: 5f0a5eb877
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16741586

Bug: 213931730
Change-Id: If167edb9f9d56ffdb6e94eee2f660c47dc331d94
2022-01-28 00:56:13 +00:00
Andy Wickham 5f0a5eb877 Utilities.trim never returns null.
This fixes a crash loop I was seeing on my device and also
preemptively fixes similar NullPointerExceptions.

Bug: 213931730
Test: Manually verified crash loop stopped with this change.
Change-Id: I8d2fc8475d42ac60b7fdc9219421a8c9733c7b9f
(cherry picked from commit 56be73be80)
2022-01-28 00:56:08 +00:00
Andy Wickham 8e3131898f Merge "Utilities.trim never returns null." 2022-01-28 00:35:50 +00:00
Schneider Victor-tulias c4ae75d7b5 Disable bulk icon loading
Temporarily disabling bulk icon loading until a fix to b/216529986 and b/216590478 is ready.

Bug: 216590478
Bug: 216529986
Test: manual
Change-Id: I590ebb501a9ed6f017661b32b6e0d59fa911d7d7
2022-01-27 16:26:31 -08:00
Tony Wickham 470f4591c3 Merge "Don't add IME back and switcher buttons if IME renders them" 2022-01-28 00:05:23 +00:00
Alex Chau 4185089847 Revert "Add ScreenRecord for a flaky test"
This reverts commit 1a9ef83988.

Reason for revert: Remove ScreenRecord to see if it resolves stale input event problem
Bug: 215672979

Change-Id: Ia7b7cd992c79af34b11d17becde98f253ab778ac
2022-01-27 21:48:59 +00:00
Tony Wickham f6e98fdc9c Don't add IME back and switcher buttons if IME renders them
- Also cache InputMethodService.canImeRenderGesturalNavButtons() since it doesn't change at runtime

Test: Enable persist.sys.ime.can_render_gestural_nav_buttons setprop, then ensure we don't draw IME back button or switcher button when gesture nav is enabled
Test: We still show back button in setup, regardless of nav mode
Bug: 205803355
Change-Id: Iab8c47521ab9e561881e4ffb45142888e4c427e4
2022-01-27 20:15:19 +00:00
Pat Manning 900ef936ad Animate icon dimming in taskbar when force showing in immersive mode.
Test: manual
Bug: 203748818
Change-Id: Iab3c65db502e7dbde3141429e9ae70eec1fabde1
2022-01-27 17:59:35 +00:00
Hilary Huo c8c3d20cdf [settings-pixel-search] Turn off slice timeout logging
Test: m
Bug: 191297465
Change-Id: I6acf5e71b08f4090f0c00657483a554d42c82bc7
2022-01-27 17:57:27 +00:00
Alex Chau 8a10e63be7 Dismiss AllApps when scrim is clicked
Bug: 208599118
Test: In tablet, clicking scrim dismisses AllApps bottom sheet. Scrolling AllApps won't dismiss the bottom sheet.
Test: In non-tablet, clicking scrim do nothing.
Test: Workspace touch isn't affected
Change-Id: Ia93c6573efa8577c41251ddec56a8f75f1df32d0
2022-01-27 17:24:27 +00:00
Winson Chung 41e2824bfa Revert "Temporarily disable SUW specific insets logic"
This reverts commit 361f82b237.

Reason for revert: Latest SUW update ensures AOSP layout is same as Pixel

Bug: 204384193
Change-Id: I4eaa8e6045232c2897d97e49d532939c838dbce0
2022-01-27 17:21:48 +00:00
Pat Manning 2718fd6767 Merge "Adjust margins for kids mode back button." 2022-01-27 13:00:00 +00:00
TreeHugger Robot 0d9756280e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fea22ae7e9 -s ours am: 09a91f3e53 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If2690f2acecf9b787adaf9897fc975d61e3aa5dd
2022-01-27 12:27:05 +00:00
TreeHugger Robot 09a91f3e53 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fea22ae7e9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I47ed9919f5f588a2133c91abecbb3442c68fa574
2022-01-27 12:21:31 +00:00
TreeHugger Robot 69d15d64bd Merge changes from topic "presubmit-am-6bd3c47be92a487ca1fb9007131b59ff" into sc-v2-dev-plus-aosp am: 5c8132970e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16718625

Change-Id: Ifd6ee8c39e8d92bb7cd86ca5c3c958ac5a3599c2
2022-01-27 12:21:07 +00:00
Bill Yi f714e22e61 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d97da07a54 am: 2ffffeca0a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I06e237fa941f798f99504e55ef03cdc201541c49
2022-01-27 12:21:05 +00:00
TreeHugger Robot fea22ae7e9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-01-27 12:07:13 +00:00
TreeHugger Robot 5c8132970e Merge changes from topic "presubmit-am-6bd3c47be92a487ca1fb9007131b59ff" into sc-v2-dev-plus-aosp
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d97da07a54
  Import translations. DO NOT MERGE ANYWHERE
2022-01-27 12:07:13 +00:00
Alex Chau 635b3abcf1 Remove ENABLE_OVERVIEW_GRID feature flag
- Use isTablet directly instead of overviewShowAsGrid
- Tablet/landscape resoruces can now be overriden via xml
- Use Landscape resources in tablet in additional to vertical bar layout
  - For resources overwritten in values-land that was intended for vertical bar layout, override them in sw600dp for tablet landscape

Bug: 210597891
Test: manual
Change-Id: I19eac935a5fb1a420485408aa8b4774632726af1
2022-01-27 11:28:35 +00:00
TreeHugger Robot 1d502c295a Merge "Don't update everything when only refreshrate changes" 2022-01-27 03:07:21 +00:00
Evan Rosky 52ab94bf17 Don't update everything when only refreshrate changes
This was going through the whole display-info-changed flow
when only the refreshrate changed. This was causing updates
with outdated information (where displaymanager callback
happens before configurationchanged). The result is that
things like touch-monitors (based on display info) were
out-of-sync with view content (which is based on configuration).

This change just updates the local record of screenrefresh
when it changes.

Bug: 179308296
Test: With fixed-rotation-in-config, open recents and repeatedly
      rotate the device. Make sure touch regions stay aligned
      with recents content.
Change-Id: I9a8c553dfa55ec4402edcecac44bc87cb51c75fc
2022-01-26 12:11:02 -08:00
Vadim Tryshev 56153bbc89 Merge "Revert "Revert "Removing unused tracing""" 2022-01-26 18:43:19 +00:00