Commit Graph

46996 Commits

Author SHA1 Message Date
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
Stefan Andonian 0a7156045c Merge "Close open folders when pausing launcher." into tm-dev am: 52eaebead4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17546438

Change-Id: I3ba2bfff90fd04407325a80bea9bf4e92214d7b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 19:39:07 +00:00
TreeHugger Robot 872d2b104c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 44f9f67696 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2276bd940ebfae394e39e824042e7687c239b3bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 19:38:28 +00:00
Bill Yi 3ec4641eca [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 777dddbdb9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If7fc877a610a4a1dd41ce05ea81008c0f6d95b93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 19:38:27 +00:00
Stefan Andonian 52eaebead4 Merge "Close open folders when pausing launcher." into tm-dev 2022-04-07 18:53:45 +00:00
Stefan Andonian c09f3bc17c Merge changes from topic "presubmit-am-53b0d3f55ee24fb6807e6ffd6c335979" into tm-mainline-prod
* changes:
  [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8
  Close open folders when pausing launcher.
2022-04-07 18:53:45 +00:00
TreeHugger Robot 44f9f67696 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 18:51:23 +00:00
TreeHugger Robot b9efc8c8a6 Merge "Making tablet grid scalable and tuning size" into tm-dev am: b9879a0b85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607211

Change-Id: Ie2a2d8d32d35246ef418ba93a1fbce841260354d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 16:03:33 +00:00
TreeHugger Robot b9879a0b85 Merge "Making tablet grid scalable and tuning size" into tm-dev 2022-04-07 15:43:40 +00:00
TreeHugger Robot 28ec173160 Merge changes from topic "aosp_tablet_tune" into tm-mainline-prod
* changes:
  [automerge] Making tablet grid scalable and tuning size 2p: c0481524da
  Making tablet grid scalable and tuning size
2022-04-07 15:43:40 +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
TreeHugger Robot 56052b2e9f Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev am: 833c210550
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id5477be997b6caba4eb64c6bc9d1d6a747752bfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:59:56 +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 b72a73229f Merge "Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."" into tm-dev am: 0bf61a64f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: I0e48bd12a44ea5ed5fc7f4ca9dd8cc5d7e56e7bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 11:36:28 +00:00
Presubmit Automerger Backend 9c1b592bda [automerge] Making tablet grid scalable and tuning size 2p: c0481524da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607211

Bug: 227344807
Change-Id: I88e5812316cdb46be07761a66e1ab5c22bfb4643
2022-04-07 11:21:55 +00:00
Thales Lima c0481524da Making tablet grid scalable and tuning size
Bug: 227344807
Test: manual and HSV
Change-Id: I078d19905947eb924de8b6ed9067b70a32674bfa
2022-04-07 11:21:48 +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 7c775d82ba Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev am: 9e9dd8fa43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Change-Id: If99afc61cbf684b6788df02632325f5b59fd3528
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:31:15 +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 63c4ac5bb1 Merge "Adding finish signal to GestureNavContract." into tm-dev am: e633cca3bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Change-Id: Idf2e9ea01a0076c19596f36fc4f79e2091a9654b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:54:23 +00:00
TreeHugger Robot e633cca3bc Merge "Adding finish signal to GestureNavContract." into tm-dev 2022-04-07 03:24:01 +00:00
TreeHugger Robot 7cc9dcf664 Merge changes from topic "presubmit-am-d97629e947434fe09a62af1bca34a360" into tm-mainline-prod
* changes:
  [automerge] Adding finish signal to GestureNavContract. 2p: 5c20fdd73f
  Adding finish signal to GestureNavContract.
2022-04-07 03:24:01 +00:00
Thiru Ramasamy 5e11706aef Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev am: aa49200100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Change-Id: I596ad469dac9c44071ea9d8bb2b5d3d3823133d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:33:05 +00:00
Thiru Ramasamy aa49200100 Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev 2022-04-07 01:07:28 +00:00
Thiru Ramasamy 99dc0f53d4 Merge changes from topic "QuickSearchLog" into tm-mainline-prod
* changes:
  [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde
  Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event.
2022-04-07 01:07:28 +00:00
Anushree Ganjam c91e0f0bf3 [automerge] Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST 2p: 45f221621e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Bug: 220922858
Change-Id: I3bea3ccc86a23493da440a1d5aca43d06e7e079d
2022-04-06 22:28:02 +00:00
Anushree Ganjam 45f221621e Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST
Bug: 220922858
Test: Manual.

Change-Id: I5a52872a3bf75109b95e9853883825e32a623a1d
2022-04-06 22:18:14 +00:00
Presubmit Automerger Backend 1e72f48c3e [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17546438

Bug: 227142635
Change-Id: I576710869215ec19a60fe29371b742f881260702
2022-04-06 21:47:50 +00:00
Stefan Andonian 253c23b2e8 Close open folders when pausing launcher.
Previously, folders wouldn't close after launching an app and quickly navigating back the launcher.
This is because the onStop state which contains a call to AbstractFloatingView.closeViews() wasn't being called.
This change adds an additional call to specifically close any open folders when the Launcher enters a paused state.

Bug: 227142635
Test: Verified that the issue is fixed after code change.
I logged the Launcher's lifecycle state to ensure my manual testing was reliable.

Change-Id: I838f992f83afdd754672ebbe85d0eb2a7e894417
2022-04-06 21:47:35 +00:00
Presubmit Automerger Backend ea8d7ce46b [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Bug: 210792253
Change-Id: Ib59d79d10e3b745bb275439c435e5ca8edfd1578
2022-04-06 21:32:56 +00:00
Thiru Ramasamy d66f433cde Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event.
Test: Manual - wwdebug && wwlogcat - http://gpaste/5690465669087232
Bug: 210792253
Change-Id: Ibe0c762a9e40e1af85a4d18051ba2a74e9f6106a
2022-04-06 14:32:34 -07:00
Brandon Dayauon 383af6884f Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: Ic506338582953425f4906de98625b96c7632dbeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:01:20 +00: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
Brandon Dayauon e3589debfd Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev 2022-04-06 20:41:24 +00:00
Brandon Dayauon ad98954534 Merge changes from topic "clean2" into tm-mainline-prod
* changes:
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
  Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
2022-04-06 20:41:24 +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 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
Presubmit Automerger Backend 3de743eba8 [automerge] Adjust workspace grid and cellLayout paddings. 2p: 08610ca583
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586931

Bug: 202971709
Change-Id: Ib0f5e6f8eeddfb1b59608e0679b2a1d1808ab98f
2022-04-06 12:11:40 +00:00