Commit Graph

14731 Commits

Author SHA1 Message Date
Benno Lin edb576fba8 Merge "Enable pressback tests" into tm-dev 2022-04-07 23:39:20 +00:00
Schneider Victor-tulias 2ff0a66b8e Merge "Add logging to debug incorrect taskbar states caught by flaky tests." into tm-dev 2022-04-07 21:05:39 +00:00
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
Schneider Victor-tulias 1abab5be55 Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc"
* changes:
  [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
  [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
TreeHugger Robot 117a0f2afb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 20:55:25 +00:00
Presubmit Automerger Backend b91555f2fa [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b 2p: 37d9c87f7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132

Change-Id: I65757d0e1d13cfb258b40eda75c6e3e13cfaabc4
2022-04-07 20:34:19 +00:00
Presubmit Automerger Backend 37d9c87f7d [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132

Change-Id: Ia37a9a05a06f0610cbf8a4bbf731744a10c44d62
2022-04-07 20:34:13 +00:00
Tracy Zhou 655627f70b Set finishedToApp = false when rotating in Overview
The issue is that we always assume finishedToApp = true when recents animation is cancelled and use that to set FLAG_IN_APP. However, we don't return to app in overview after the device is rotated. Ideally we want to get signal from onRecentsAnimationCancelled, but at this point in the release it's probably ok to use launcher state to determine it.

Fixes: 227565959
Test: manual
Change-Id: I6be800aff8108b382ca3947cd1d0a45c9e9571eb
2022-04-07 20:34:00 +00:00
TreeHugger Robot 06f4ee9a21 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-04-07 19:10:12 +00:00
Presubmit Automerger Backend 4ca8d158d5 [automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4 2p: 6c4b435575
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17626829

Bug: 228260232
Change-Id: I8c302578e0756d3111ee7b0ec636ef77085e0c4d
2022-04-07 18:49:54 +00:00
Presubmit Automerger Backend 6c4b435575 [automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17626829

Bug: 228260232
Change-Id: I26b21ef9c55be8bde372d56ba7e8aea715def2f3
2022-04-07 18:49:47 +00:00
Sunny Goyal c327e6bad4 Fixing spring animation for fallback launcher activity
Bug: 228260232
Test: Verified on device
Change-Id: I7b630fd6936b49214cffd01981e75aeb6b3b5d24
2022-04-07 18:49:41 +00:00
Jason Chang cbf03aa64e Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399 am: 68c42f2742
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735

Change-Id: I580c911c120e47512a612f498ebfeebab578739b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:02: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 0e508ba727 Merge changes from topic "presubmit-am-6e7b87d8c6594f9d9d7fb9f70b2a9861"
* changes:
  [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
  [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 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
TreeHugger Robot 0e7bb77aaa Merge changes from topic "presubmit-am-340548027c9d41d9bb9a1d5ce6e9510a"
* changes:
  [automerge] Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..." 2p: c3d2d45851 2p: 45e6bc6447
  [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
Alex Chau 51bf7af3df Merge changes from topic "presubmit-am-91d9a2708d3b405695b3a3a0998b8f6e"
* changes:
  [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
  [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 c0c1276197 Merge changes from topic "presubmit-am-d97629e947434fe09a62af1bca34a360" into tm-mainline-prod am: 7cc9dcf664
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Change-Id: Ide8fd1d4ebe9b8abc8261ce5bdd24fc922f4fd5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:54:44 +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 5d4c1490eb [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Bug: 227657604
Bug: 225205246
Change-Id: Iee994b293e1136d6b1ae6c315e1084836e9b9565
2022-04-06 21:29:24 +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 ef7b504bef [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id9f6f9eb9f50bd4d2d07e979f1b90c500f75e2eb
2022-04-06 18:45:32 +00: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 51b0a0f4cb [automerge] Add the staggered ring appear animation! 2p: feb31ca567 2p: 3cee2086ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Bug: 197636896
Change-Id: Ide12f85d642a427c5e4a1463bbcade9fdad7310b
2022-04-06 18:27:39 +00:00
Presubmit Automerger Backend 3cee2086ed [automerge] Add the staggered ring appear animation! 2p: feb31ca567
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Bug: 197636896
Change-Id: I43f6c0bb6889398db42d95495064b586a18f3492
2022-04-06 18:27:33 +00:00
Josh Tsuji feb31ca567 Add the staggered ring appear animation!
Bug: 197636896
Test: a lot of unlocking
Change-Id: I9a713ac12eae5128d409166110cece0b86d89ae4
2022-04-06 14:26:50 -04:00
Jon Miranda b6e33441d2 [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203 2p: debdedebed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I4c81d223826ba53f18b6e03d603e2a8ffb694f35
2022-04-06 17:29:26 +00:00
Jon Miranda debdedebed [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: If72bec9d681a0fdb873a77cf8d5e67fc5be56801
2022-04-06 17:29:17 +00:00
Jon Miranda 27f9559203 Revert "Revert "Sync hotseat/taskbar handoff""
This reverts commit efca5c8655.

Reason for revert: ANR no longer happening

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I03bfe8642ef4ed0f9e8fbd543141d39c66375604
2022-04-06 17:29:09 +00:00
Presubmit Automerger Backend 21833871cb [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521 2p: afeb386645
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: If2f11aa645c865be2b21388e724fa04660f2e8b1
2022-04-06 17:22:59 +00: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 1bdb0646d6 [automerge] Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..." 2p: c3d2d45851 2p: 45e6bc6447
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: If879b31ee6511b9ca78cde33ce3b244176f10fc5
2022-04-06 15:00:01 +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 dee631c221 [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: If1a5da4570f79d5ab1bd6281d8a90ee31877fead
2022-04-06 12:31:15 +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 b38d6727dd Merge changes from topic "presubmit-am-ebc280344a1741ab828678f9f4570c21" into tm-mainline-prod am: 73c076e901
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586927

Change-Id: Ia76ae81ab63021921e251a613d855e5b13991703
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:06:38 +00:00