Commit Graph

10215 Commits

Author SHA1 Message Date
Schneider Victor-tulias 408e8b0677 Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc" into tm-mainline-prod
* changes:
  [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
  Add logging to debug incorrect taskbar states caught by flaky tests.
2022-04-07 21:05:39 +00:00
Jason Chang 68c42f2742 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735

Change-Id: Ie86e71d15251f98e43684fe6abd06f998d29f710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:00:03 +00:00
Jason Chang 4d3995b399 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev 2022-04-07 13:58:52 +00:00
TreeHugger Robot 5118c966b6 Merge changes from topic "presubmit-am-6e7b87d8c6594f9d9d7fb9f70b2a9861" into tm-mainline-prod
* changes:
  [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
  Clone mInsets when copying DeviceProfile to taskbar
2022-04-07 13:44:14 +00:00
TreeHugger Robot 833c210550 Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev 2022-04-07 13:44:14 +00:00
TreeHugger Robot 0bf61a64f6 Merge "Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."" into tm-dev 2022-04-07 11:12:50 +00:00
TreeHugger Robot c3137883ab Merge changes from topic "presubmit-am-340548027c9d41d9bb9a1d5ce6e9510a" into tm-mainline-prod
* changes:
  [automerge] Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..." 2p: c3d2d45851
  Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."
2022-04-07 11:12:50 +00:00
Alex Chau 9e9dd8fa43 Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev 2022-04-07 09:50:04 +00:00
Alex Chau ca23104490 Merge changes from topic "presubmit-am-91d9a2708d3b405695b3a3a0998b8f6e" into tm-mainline-prod
* changes:
  [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
  Make AllApps bottom sheet follow finger and snap after 30% progress
2022-04-07 09:50:04 +00:00
TreeHugger Robot e633cca3bc Merge "Adding finish signal to GestureNavContract." into tm-dev 2022-04-07 03:24:01 +00:00
Presubmit Automerger Backend 977f8873f3 [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Bug: 227657604
Bug: 225205246
Change-Id: I6f79835edd8495fc5b91dcabeb2e6b68b7ce52fa
2022-04-06 21:29:18 +00:00
Schneider Victor-tulias 1823bdba6e Add logging to debug incorrect taskbar states caught by flaky tests.
- Various TAPL tasts are flaking because the taskbar is present when navigating home. Several TAPL taskbar tests are also flaking because the taskbar is missing when opening an app. Adding logging to catch when FLAG_IN_APP is being set and why it isn't being applied.

Bug: 227657604
Bug: 225205246
Test: manual
Change-Id: Ia976bb0a6c7764e571fab3ac98ee21ff22ef7674
2022-04-06 14:26:47 -07:00
Presubmit Automerger Backend 3e6259671d [automerge] Adding finish signal to GestureNavContract. 2p: 5c20fdd73f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Bug: 228260232
Change-Id: Iaac9f45042aff84fab7232672cec522bacaac902
2022-04-06 20:43:30 +00:00
Sunny Goyal 5c20fdd73f Adding finish signal to GestureNavContract.
Also fixing also-closing behavior for FloatingSurfaceView for Android S

Bug: 228260232
Test: Verified manually on device
Change-Id: I83f6417a756c1459533294d681e83abba6ea58aa
2022-04-06 13:42:59 -07:00
Alex Chau 3d3b263bf0 [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: I3caf1b56cb39c2cf5dbf88a379bec8d955c0c080
2022-04-06 18:45:25 +00:00
Alex Chau e0227551cf Clone mInsets when copying DeviceProfile to taskbar
- Set mInsets with windowBounds.insets when initialized, and set windowBounds.insets when cloning DeviceProfile
- Added more bottom sheet / all apps in DeviceProfile dump
- Also dump taskbar's device profile in dumpsys

Fix: 226968237
Test: Taskbar AllApps should have correct top padding
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: I7739c699fb16544b92dc820354a643f745694c25
2022-04-06 19:44:43 +01:00
Presubmit Automerger Backend afeb386645 [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: I6ad967a6e2a412611ad045854f699fc376d4dbac
2022-04-06 17:22:53 +00:00
Stefan Andonian 510a818521 Show an 'Undo' snackbar when users dismiss a predicted hotseat item.
Bug: 200841778
Test: Hard-coded the flag to be true, and verified that the snack bar
is shown with the correct text. Also verified that talkback announces
"Item Removed" properly and that the correct log event is produced by
the AppEventProducer which AiAi needs to process the user action.

Change-Id: Ifbb9cf7aecf26cd4bcebf48d4fb07fb3d5af46bb
2022-04-06 17:22:40 +00:00
Alex Chau 45e6bc6447 [automerge] Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..." 2p: c3d2d45851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: I1f19d89d6b84b083e95eab17f79ae339333cf066
2022-04-06 14:59:53 +00:00
Alex Chau c3d2d45851 Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."
Reason for revert: b/223278795 resolved
Reverted Changes:
I3ddcf5db0:Add screen record to FallbackRecentsTest#goToOverv...

Change-Id: I668637bf1733feb2de8c0ee3c70cbfb3adc269e1
2022-04-06 14:59:45 +00:00
Alex Chau 49520d892d [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: I0e9fa83437dafb91ba22e929b31f55cbf88c3189
2022-04-06 12:31:08 +00:00
Alex Chau c83ea5f8fb Make AllApps bottom sheet follow finger and snap after 30% progress
Bug: 220336617
Test: manual
Change-Id: I0b6296cf5abf0f0a5f34fc2a0b5be93dc93ebf3f
2022-04-06 13:30:41 +01:00
Alex Chau f5f589ad52 Merge "Ensure TestLauncher is actaully shown in goToOverviewFromHome" into tm-dev 2022-04-06 09:41:02 +00:00
Alex Chau 73c076e901 Merge changes from topic "presubmit-am-ebc280344a1741ab828678f9f4570c21" into tm-mainline-prod
* changes:
  [automerge] Ensure TestLauncher is actaully shown in goToOverviewFromHome 2p: 499723636d
  Ensure TestLauncher is actaully shown in goToOverviewFromHome
2022-04-06 09:41:02 +00:00
Sunny Goyal 6c4433a8a1 Merge "Fixing crash when unfolding with an app already open" into tm-dev am: 5e16325ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17489726

Change-Id: I821000bd56ed1530f00811ea0f75f1a59b32b633
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 08:08:34 +00:00
Sunny Goyal 5e16325ccd Merge "Fixing crash when unfolding with an app already open" into tm-dev 2022-04-06 07:46:46 +00:00
Shawn Lin d01522e17a Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev am: d1567efff5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395787

Change-Id: If8b97219c1005e7880cb977ec2215301e8e8f743
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 02:58:45 +00:00
Shawn Lin d1567efff5 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev 2022-04-06 02:37:24 +00:00
Andy Wickham 894c0479ad Merge "Removes deprecated uses of Display#getRealSize in Gesture Nav Edu." into tm-dev 2022-04-06 01:43:05 +00:00
Andy Wickham 53087ebce9 Merge changes from topic "presubmit-am-42d1f5c1a21f4309a8f90dc16543747a" into tm-mainline-prod
* changes:
  [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
  Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
2022-04-06 01:43:05 +00:00
Presubmit Automerger Backend 7261236ff8 [automerge] Ensure TestLauncher is actaully shown in goToOverviewFromHome 2p: 499723636d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586927

Bug: 223278795
Change-Id: I37011cfad68162475e8ea5b249a624b35911106c
2022-04-05 19:56:00 +00:00
Alex Chau 499723636d Ensure TestLauncher is actaully shown in goToOverviewFromHome
- The previous activity can be other test activity with same package name, the check should be more speciifc on the launcher activity itself

Bug: 223278795
Test: com.android.quickstep.FallbackRecentsTest#goToOverviewFromHome
Change-Id: Ie9b88fa0ee16a5b1aec23258b09ab2a22450ac38
2022-04-05 19:55:53 +00:00
Brian Isganitis 870f0c3b22 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev am: fe5684c2e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17333256

Change-Id: Iced2d3e43c352f0eedcb2788e128d643bc5ec21b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 19:44:07 +00:00
Andy Wickham 258c7ea7b5 [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528592

Change-Id: Id37014877c26e22055021e32fb0f6ddc636eecf6
2022-04-05 19:12:05 +00:00
Andy Wickham 936c6c6ead Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
Fix: 227307214
Test: Manually went through the gesture nav tutorials.
Change-Id: I0c6fec12915bacec7933a4beb1a6aa68dc49dd67
2022-04-05 12:11:15 -07:00
Brian Isganitis fe5684c2e8 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev 2022-04-05 17:22:13 +00:00
Thiru Ramasamy 5e8dc996d2 Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev am: b266baa64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17514640

Change-Id: I5eb79a523386e8d07c4a661bd918fc78ad51ef65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 14:39:53 +00:00
Thiru Ramasamy b266baa64d Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev 2022-04-05 14:20:13 +00:00
Alex Chau 4d797754b4 Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev am: d5d06190a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570026

Change-Id: Ib81e7c35566ccd0a9afc4d0af17ea01ecf696bf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 11:22:33 +00:00
Alex Chau d5d06190a7 Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev 2022-04-05 10:19:55 +00:00
Brian Isganitis 63c32cab98 Create ResourceBasedOverride for SearchSessionManager.
This override will allow Launcher3 to initialize and control a search session implementation.

Bug: 216683257
Test: Manual
Change-Id: I43d4793ef176cfd8e074961286356b96f9222ca9
2022-04-04 17:02:41 -07:00
Alex Chau 53d3be9d66 Add ScreenRecordrule to FallbackRecentsTest
Bug: 223278795
Test: presubmit
Change-Id: Iec9157165bb21626af7036a9c4df0dfcc447f890
2022-04-04 19:58:16 +01:00
Pat Manning 1d460f33bf Merge "Animate overivew actions view hiding on scroll." into tm-dev am: 10b77ab7e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17414979

Change-Id: I1786c6a70f1d52917c5cb95f9fb79f96e89503c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 18:57:09 +00:00
Pat Manning 10b77ab7e7 Merge "Animate overivew actions view hiding on scroll." into tm-dev 2022-04-04 18:43:08 +00:00
Pat Manning 458dcdbe1e Animate overivew actions view hiding on scroll.
Test: manual
Fix: 221113300
Change-Id: Ie21343e280639e027f012d9c734b798f4dc4e71a
2022-04-04 17:10:27 +01:00
Thiru Ramasamy dde19ea64d Rename "ONE_SEARCH" attributes to "WEB_SEARCH"
* Minor fix to logging

Bug: 210792253
Test: manual
Change-Id: Ib32b945e1fa7696b3b8360dae01e1bd00295ff8d
2022-04-01 23:10:43 +00:00
Tracy Zhou a2291a2292 Merge "Fix npe in FrameHandler" into tm-dev am: 76a99eccc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17534537

Change-Id: Icd9665e61dd033ef5970be41939f9070c892d77d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:26:34 +00:00
Tracy Zhou 6811c5b8ab Merge "Do not append additional delimiters" into tm-dev am: bb75f59792
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528595

Change-Id: I8661f7a6320c9214104cc1639645721ad8e66548
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 04:49:42 +00:00
Tracy Zhou b5f7e4fc19 Fix npe in FrameHandler
Previously we check if the view root is null, but after ag/16308550 we no longer do so

Fixes: 208657242
Test: N/A
Change-Id: I0bb4a1b26ca8b201393587e7d0d922b7d4e08419
2022-03-31 21:46:47 -07:00
Tracy Zhou bb75f59792 Merge "Do not append additional delimiters" into tm-dev 2022-04-01 04:26:20 +00:00