Commit Graph

13733 Commits

Author SHA1 Message Date
Sebastián Franco fb9c2942e8 Merge changes from topic "presubmit-am-1bfe19c9d385472a8e3256e5e61c3ade"
* changes:
  [automerge] Make the widget option on the PopupContainer full width 2p: dfa88d55f5 2p: 001367675e
  [automerge] Make the widget option on the PopupContainer full width 2p: dfa88d55f5
  Make the widget option on the PopupContainer full width
2022-04-07 21:49:35 +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
Stefan Andonian 2da656ee8b Merge changes from topic "presubmit-am-53b0d3f55ee24fb6807e6ffd6c335979"
* changes:
  [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8 2p: 1e72f48c3e
  [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8
  Close open folders when pausing launcher.
2022-04-07 18:53:45 +00:00
Presubmit Automerger Backend e7e36c8e01 [automerge] Make the widget option on the PopupContainer full width 2p: dfa88d55f5 2p: 001367675e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17592804

Change-Id: Ied2ef782b56b31a6e700b4d94347492d7427ddb7
2022-04-07 17:00:51 +00:00
Sebastian Franco dfa88d55f5 Make the widget option on the PopupContainer full width
The width of the PopupContainer grows if there are multiple
SystemShortcuts and we where not updating the width of all the
options.

Fix: 227538975
Test: Long press an app like Google Maps on the HomeScreen to see
the menu. All the options should have the same width.

Change-Id: I25310d74aa1af17be37b53c27d2334f86bef325a
2022-04-07 10:00:30 -07: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 833c210550 Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev 2022-04-07 13:44:14 +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 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
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 aa49200100 Merge "Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event." into tm-dev 2022-04-07 01:07:28 +00:00
Presubmit Automerger Backend a3b9aa55ff [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8 2p: 1e72f48c3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17546438

Bug: 227142635
Change-Id: I11d7afaf476837350a9ceb4c5f4b2a81a38f6ff7
2022-04-06 21:47:56 +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 3d696ee841 [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde 2p: ea8d7ce46b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Bug: 210792253
Change-Id: I4ccabfd43a260403c22c4a0833b782dd57ddbfc6
2022-04-06 21:33:02 +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
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
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
Brandon Dayauon 25425eb49e Merge changes from topic "clean2"
* changes:
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15 2p: 771acac97d
  [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 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 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
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 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
Presubmit Automerger Backend 8c8b3260f4 [automerge] Adjust workspace grid and cellLayout paddings. 2p: 08610ca583 2p: 3de743eba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586931

Bug: 202971709
Change-Id: Id7afdac9afa747f598f0d7271f4df5f8470aeb30
2022-04-06 12:11:46 +00:00
Pat Manning 08610ca583 Adjust workspace grid and cellLayout paddings.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: Ia49e48f336bcca906aae6b014d88f10421b83d0c
2022-04-06 13:10:50 +01:00
Presubmit Automerger Backend 07317defcf [automerge] Adjust edit state drop targets and workspace scaling per device type and orientation. 2p: 5dadc92d7b 2p: 1447be8f6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586929

Bug: 202971709
Change-Id: I69adc6d0f1b0c1d3f28bd3d8737c6b391d7bf5d1
2022-04-05 20:56:12 +00:00
Pat Manning de25c0db36 Adjust edit state drop targets and workspace scaling per device type and orientation.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: I0a642f932afd75e47ce11a2c1ee94643d1a67e0c
2022-04-05 20:56:03 +00:00
Brandon Dayauon df63b26114 [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15 2p: 771acac97d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Bug: 224731116
Bug: 224731300
Change-Id: Idcc3bc32c0fd634d513e10ab6e9115f0b584a4e2
2022-04-05 18:56:22 +00:00
Brandon Dayauon 771acac97d [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Bug: 224731116
Bug: 224731300
Change-Id: Ib8ea272353a89061e318b4a0a9766f05f4497138
2022-04-05 18:56:14 +00:00
Brandon Dayauon d20011be15 Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
Fixed the button to show on Portrait mode..streamline added for work_mode_fab.
Took out unneccessary attributes such as textColor for the button and took out background.

How it looks in landscape: https://screenshot.googleplex.com/AVaUEztqsXYA28N
How it looks in portrait: https://screenshot.googleplex.com/3oTG3j7yZLCxkLz
Apk: https://drive.google.com/file/d/1qLeiJSF3lHf7tZzoHWwBHGxDgbveTIYX/view?usp=sharing

Test: Manual - Tested on local Pixel device (Raven)
Bug: 224731116
Bug: 224731300
Change-Id: If1392806adecf1ce02723d20686ca6bf524f6464
2022-04-05 11:50:18 -07:00
Alex Chau 0a0bf5b0e8 Merge "Override statusBar top inset in Launcher" into tm-dev am: f9aa367324 am: 2bb27e2280
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570025

Change-Id: Ie249e6bae2306b48eb6b8f293f3706866548378b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 11:44:21 +00:00
Alex Chau f9aa367324 Merge "Override statusBar top inset in Launcher" into tm-dev 2022-04-05 10:19:26 +00:00
Stefan Andonian b0fd9cd2ce Merge "Show correct drop targets for All-apps predicted item drags." into tm-dev am: bae4a72d30 am: 464562ae8a am: d18b80656f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17513162

Change-Id: I69f2c9e760f993b3489eb2841da7241df4be2e5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 20:52:28 +00:00
Brian Isganitis ffaf4dafa3 Merge "Add utility for isWallpaperSupported." into tm-dev am: 9417012064 am: 3eed932247
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17303344

Change-Id: I0f2491bebd36fff1c85834f5986e09c2ae5f1f28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 20:24:43 +00:00
Stefan Andonian bae4a72d30 Merge "Show correct drop targets for All-apps predicted item drags." into tm-dev 2022-04-04 20:13:29 +00:00
Brian Isganitis 9417012064 Merge "Add utility for isWallpaperSupported." into tm-dev 2022-04-04 19:57:25 +00:00
Stefan Andonian c62a4dae5f Show correct drop targets for All-apps predicted item drags.
This change fixes a bug where, after a user drags and drops a
predicted app from the all apps page once, dragging that item again
results in the "Remove" drop target being shown rather than the
"Do Not Suggest" drop target.

Bug: 221057278
Test: Verified correct drop down targets were present after fix when
dropping all apps prediction item on workspace multiple times in a row.

Change-Id: I95940eeebbd547861fcdfbb5d02769b82446184d
2022-04-04 17:32:32 +00:00
Alex Chau 20af9304cb Override statusBar top inset in Launcher
Fix: 227600170
Test: manual on small and large screen devices
Change-Id: I1b0dacaf555db966d1e2a837310d9cebe3e60d7a
2022-04-04 17:39:31 +01:00
Sunny Goyal 18e0838421 Merge "Adding a feature flag to disable icon overrides" into tm-dev am: 59c535bb71 am: 01e40862e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17359924

Change-Id: I34dc87556728defe033135e7e9c2f6267b1debea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 17:58:07 +00:00