Commit Graph

49925 Commits

Author SHA1 Message Date
Wei Sheng Shih 5d9a319c76 Merge "[Shell Transition]Release floating task view after second task select." into tm-dev 2022-03-17 00:25:34 +00:00
Android Build Coastguard Worker 39b1466d1e Snap for 8308199 from 8f82208a5e to sc-qpr3-release
Change-Id: I1a8155d83b51ca1c4efb819177aa59ce36b3fc12
2022-03-16 23:09:25 +00:00
Brian Isganitis bde3c8b6bd Move activity starting logic into new ActivityContext extension.
This code branch is needed for taskbar, so needs to be moved from the
activity classes to an interface that both can share.

Test: Manual
Bug: 216683257
Change-Id: I042c0dcf08207d94847b9d7a1783acc14613ef5f
2022-03-16 13:59:03 -07:00
Alex Chau 3e40089771 Merge "Change grid migration to start from top to bottom" into tm-dev 2022-03-16 18:12:13 +00:00
Presubmit Automerger Backend 0cc9eb8e83 [automerge] RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps 2p: 1ccb68a9fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223256

Change-Id: I3c26eb8251bcc5ebb5400638ae37d6712dc2f8dc
2022-03-16 17:57:43 +00:00
Tony Wickham 1ccb68a9fd RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps
Test: Open keyboard in Discord, swipe home; repeat 20 times and ensure
keyboard never shows on home
Fixes: 207613784

Change-Id: Ie9a84729bf1d0c22783e986bbe93ff222502718c
2022-03-16 17:57:34 +00:00
Thales Lima 8cd020bb1d Reset the size of hotseat cells
When resetting the hotseat layout, the size of cells also can be changed based on changes in DeviceProfile. In this case, the border size changes when rotating the device.

Fixes 216071526
Test: manual and HSV

Change-Id: Idf7b7972e7be347a991cad1cb8ee8cf95cbc4a87
2022-03-16 17:49:40 +00:00
wilsonshih 7315e33630 [Shell Transition]Release floating task view after second task select.
Register animation start callback to RemoteSplitLaunchTransitionRunner,
so there can clear up the floating task view when entering recents.

Bug: 223397364
Test: verify no floating task view remaining on RecentsActivity.
Change-Id: Idedc7950b8954d1376960d5e74aa4c60fefa9c86
2022-03-16 11:30:46 +08:00
Becky Qiu 85025d248d [Avocado] Use device config for arm2 flags instead.
Bug: 224861508
Test: manual
Change-Id: Ib42ddb3808cf84ed1511754bf3f8bbcf5d100894
2022-03-15 17:13:56 -07:00
TreeHugger Robot a66bbdab86 Merge "Fix failing test TaplTaskbarTest#testHideShowTaskbar" into tm-dev 2022-03-15 23:20:08 +00:00
TreeHugger Robot 8dff7ca830 Merge "Close taskbar all apps on popup notification and app info shortcut tap." into tm-dev 2022-03-15 22:57:20 +00:00
TreeHugger Robot 2f06a23ed7 Merge "Fix NPE in BubbleTextView" into tm-dev 2022-03-15 22:18:02 +00:00
TreeHugger Robot e0380381b7 Merge "Add event tracking to the gesture navigation tutorial." into tm-dev 2022-03-15 22:12:29 +00:00
TreeHugger Robot b66fc8b145 Merge "Tune widget picker bottom sheet VisD for large screen" into tm-dev 2022-03-15 21:33:50 +00:00
TreeHugger Robot d21c51c932 Merge "Remove ENABLE_ONE_SEARCH" into tm-dev 2022-03-15 19:26:39 +00:00
Jon Miranda 88ba6f8f5b Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev am: 8f82208a5e am: 47399b76e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: I795a2702323dac62ef4a23daebafc39485f8dfcc
2022-03-15 18:41:23 +00:00
Jon Miranda 439567c79a Merge changes from topic "presubmit-am-a0fe463985e8453c9c1e5b6ccc543c8b-sc-v2-dev" into sc-v2-dev-plus-aosp am: ba3ca2f57f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: Ia80fede7fdcf177c665398f7e809cc3418ac47d6
2022-03-15 18:41:16 +00:00
Jon Miranda 47399b76e6 Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev am: 8f82208a5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: I0787a0e03de45ff9c395e0d52f714101fffdf9c7
2022-03-15 18:40:20 +00:00
Jon Miranda 8f82208a5e Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev 2022-03-15 18:13:29 +00:00
Jon Miranda ba3ca2f57f Merge changes from topic "presubmit-am-a0fe463985e8453c9c1e5b6ccc543c8b-sc-v2-dev" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Never look for matching view in All Apps when swiping up to go home. 2p: b2068f2eda
  Never look for matching view in All Apps when swiping up to go home.
2022-03-15 18:13:29 +00:00
kholoud mohamed e210b47c20 RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3
Bug: 217388602
Bug: 218875965
Test: atest EnterpriseResourcesTests
Test: manual
Change-Id: I095a1da30766e4b4eab33f42b034601b3322eb3d
2022-03-15 17:24:04 +00:00
Alex Chau d5859e80d7 Change grid migration to start from top to bottom
Fix: 222236363
Test: GridSizeMigrationTaskV2Test
Test: 4x4 -> 4x5/5x5 migration, 5x5 -> 4x5/4x4 migration
Change-Id: Id5d87b5d0bf9d7cc9154de81dd5edfb0ca9fa633
2022-03-15 17:21:24 +00:00
Jon Miranda fe74997235 Fix NPE in BubbleTextView
- Icon can be null when we use BTV for text only

Bug: 223809081
Test: manual
Change-Id: I9efd8e4b420127beb249b20e71ae37c359bb6467
2022-03-15 10:02:39 -07:00
Andras Kloczl 142b054e06 Tune widget picker bottom sheet VisD for large screen
Test: Open widget picker by long pressing the home screen.
Open app specific widget picker by long pressing an app icon
that has widgets. Try both landscape and portrait, also on
phone/tablet/foldable.
Bug: 214215594

Change-Id: I7b4b3a8d7421f1d4df84d49a18b465693a17bd7b
2022-03-15 14:01:59 +00:00
Schneider Victor-tulias 0cde81a5d2 Fix failing test TaplTaskbarTest#testHideShowTaskbar
Closing the Taskbar all apps page doesn't automatically close any open popup menus. This lead to the popup menu opened in TaplTaskbarTests#testOpenMenu_FromTaskbarAllApps remaining open after going home in setUp (before running TaplTaskbarTest#testHideShowTaskbar). The the workspace is not visible to the tests while the popup menu is open, so this test would consistenly fail.

Bug: 215218813
Fixes: 224597087
Test: Ran tests locally and remotely
Change-Id: I81d8eb1e99a264611749eb3c508f707988c0fcb1
2022-03-14 22:19:12 +00:00
TreeHugger Robot deae9343be Merge "Pass in dbFile from idpGridState for grid migration" into tm-dev 2022-03-14 21:33:16 +00:00
TreeHugger Robot 8cb2364c1a Merge "Renaming LauncherInstrumentation.pressHome to goHome" into tm-dev 2022-03-14 20:37:06 +00:00
Schneider Victor-tulias b82d945953 Add event tracking to the gesture navigation tutorial.
- Added logs for tutorial step shown/completed and for tutorial skip.
- Added shared preference tracking for tutorial steps completed and for tutorial skip.

Bug:
Test: manual
Change-Id: I47dbdb394db80c5687e98fb034a3883b33f6fd3c
2022-03-14 13:14:05 -07:00
vadimt 41c0b52cd9 Renaming LauncherInstrumentation.pressHome to goHome
This is a better name now that we have gestural nav.

Renaming will happen in stages, the first one being having 2 names side-by-side.

Test: presubmit
Bug: 187761685
Change-Id: Ifb15c838cc0e161d852cf6df025687e3f92d6124
2022-03-14 18:13:47 +00:00
Shikha Malhotra 763fd21b34 Merge "Top row of first workspace screen occupied only when QSB is placed at the top." into tm-dev 2022-03-14 16:53:01 +00:00
Shan Huang b6ff87bb99 Merge "Clear back callback in SystemUiProxy." into tm-dev 2022-03-14 16:29:25 +00:00
Alex Chau 85978e7dc8 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev 2022-03-14 11:21:32 +00:00
Android Build Coastguard Worker c9a8e0ddd9 Snap for 8291837 from f6365d5b85 to sc-qpr3-release
Change-Id: Ic8b40aaaec4d5d59c5125576e2f0342044617a8b
2022-03-12 02:07:43 +00:00
Shan Huang b960ea2be1 Clear back callback in SystemUiProxy.
Bug: 223955009
Test: atest com.android.launcher3.jank.BinderTests#testPressHome

Change-Id: I00197732a6e50c0907afecff497702fc4b799925
2022-03-11 18:03:52 +00:00
Hyunyoung Song aed4675433 Remove ENABLE_ONE_SEARCH
TL;DR;;
It's no longer bound to the lifecycle of application

Bug: 223750757
Bug: 221956299

Test: device_config commands

Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
Change-Id: I044bf00fe7272439d2ed4def419f91b4d786fb7a
2022-03-11 09:50:05 -08:00
Shikha Malhotra 7884332174 Top row of first workspace screen occupied only when QSB is placed at
the top.

This CL facilitates making the Feature Flag QSB_ON_FIRST_SCREEN as false
for LauncherLilyGoogle to make sure that that the top row on the first
screen is not blocked for QSB. Hinging it on BuildConfig allows it be
overwritten in LauncherLilyGoogle.

Bug: 208136186
Bug: 188511548

Test: Manually tested that top row of the first screen is not occupied
and does not clear the shortcuts after a power cycle for LauncherLilyGoogle.

Change-Id: I9113e2e2f2c0a160a2e1caf0ef3c5f86c6ec54b8
2022-03-11 13:04:55 +00:00
Presubmit Automerger Backend 635fa756eb [automerger skipped] [automerge] Add debug logs for bad launcher state. 2p: f6365d5b85 am: 8e8638d83f -s ours
am skip reason: Merged-In I138a7ab031269009fa8ca492cd0bd48085aa4e68 with SHA-1 7ebe209c21 is already in history

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

Change-Id: I6047ab7651986979d7154c11006a512fa16facdf
2022-03-11 06:58:37 +00:00
Hyunyoung Song 234b1e0655 Merge "Revert "Add entry and cursor location in GetSuggestionRequest"" into tm-dev 2022-03-11 06:26:04 +00:00
Presubmit Automerger Backend 8e8638d83f [automerge] Add debug logs for bad launcher state. 2p: f6365d5b85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17161358

Bug: 223498680
Bug: 221658803
Bug: 223499269
Change-Id: I069cb98329c5e8b37beb5dce9e23bfa306276b52
Merged-In: I138a7ab031269009fa8ca492cd0bd48085aa4e68
2022-03-11 03:35:28 +00:00
Jon Miranda f6365d5b85 Add debug logs for bad launcher state.
Bug: 223498680
Bug: 221658803
Bug: 223499269

Test: manual
Change-Id: I138a7ab031269009fa8ca492cd0bd48085aa4e68
(cherry picked from commit 7ebe209c21)
Merged-In: I138a7ab031269009fa8ca492cd0bd48085aa4e68
2022-03-11 03:35:17 +00:00
TreeHugger Robot 3b6ba0d252 Merge "Update using tabs boolean immediately if it changes." into tm-dev 2022-03-11 02:28:52 +00:00
TreeHugger Robot 19570f9b05 Merge "Close taskbar all apps when task stack changes." into tm-dev 2022-03-11 02:18:34 +00:00
TreeHugger Robot 1b4d9b3b23 Merge "Launcher side implementation of gesture seekable back to home animation." into tm-dev 2022-03-11 02:11:03 +00:00
Shan Huang 581429b3dc Launcher side implementation of gesture seekable back to home animation.
This is a two part animation. The first part is an animation that tracks gesture location to scale and move the leaving app window. Once the gesture is committed, the second part takes over the app window and plays the rest of app close transitions in one go.

This animation is used only for apps that enable back dispatching via {@link android.view.OnBackInvokedDispatcher}. The controller registers an {@link IOnBackInvokedCallback} with WM Shell and receives back dispatches when a back navigation to launcher starts.

Apps using the legacy back dispatching will keep triggering the WALLPAPER_OPEN remote transition registered in {@link QuickstepTransitionManager}.

Bug: b/195946584
Test: m -j
Test: Swipe back to home on pre-T and T apps, at different life cycle
stages.

Change-Id: I615c5171cd875130f10346fa3ca2a8e9670176cf
2022-03-11 00:11:21 +00:00
Brian Isganitis 7910a3ca0a Close taskbar all apps when task stack changes.
Test: Manual
Fix: 223898952
Change-Id: I4c5e41227f0ee199cc08931f4532d769f376a617
2022-03-10 16:03:30 -08:00
TreeHugger Robot 6b7e469088 Merge "Add taskbar TAPL tests" into tm-dev 2022-03-11 00:00:36 +00:00
Brian Isganitis 84da9622d7 Close taskbar all apps on popup notification and app info shortcut tap.
Test: Manual
Fix: 223659756
Change-Id: I84fd8cd84ccdce5f51874d7356cafac9bfa92004
2022-03-10 15:27:14 -08:00
TreeHugger Robot ec8ba135be Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev 2022-03-10 22:19:16 +00:00
Jon Miranda e8b174482d Merge "Add debug logs for bad launcher state." into tm-dev 2022-03-10 22:03:37 +00:00
TreeHugger Robot 5ad574ae60 Merge "Set taskbar touchable region to empty when all apps is open." into tm-dev 2022-03-10 22:01:40 +00:00