Commit Graph

60727 Commits

Author SHA1 Message Date
Bill Yi
7c3608a1bf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6a557288c1c800f433e8a2dcbaa28be97d0d987a
2023-04-27 12:14:42 -07:00
Luca Zuccarini
2eec556e9d Merge "[Toast] Enable background drawables by default in Teamfood." into udc-dev am: 0c856a0c94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22426058

Change-Id: I749ea279d8f461ca9e7386cffcc406dd2a8958d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 16:04:45 +00:00
Luca Zuccarini
0c856a0c94 Merge "[Toast] Enable background drawables by default in Teamfood." into udc-dev 2023-04-27 15:29:02 +00:00
Tracy Zhou
887113eb39 Merge "Fix touch focus not updated correctly after launching overview with live tile." into udc-dev am: 07b5cb3351
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22896425

Change-Id: Ie398979d6c02b5bb9c2dbe73fd31bfba5e857b49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 05:09:10 +00:00
Tracy Zhou
07b5cb3351 Merge "Fix touch focus not updated correctly after launching overview with live tile." into udc-dev 2023-04-27 04:31:49 +00:00
Tracy Zhou
8899f3a387 Fix touch focus not updated correctly after launching overview with live tile.
Similar to ag/19938037

Fixes: 277625965
Test: Meta+Tab to launch overview from app, or swipe from app, then use DPAD_LEFT and DPAD_RIGHT to go through overview. Make sure the selected task is highlighted
Change-Id: Id0138878d32e4d37f30cef51ddb9ddb9df85fd65
2023-04-27 03:14:40 +00:00
Treehugger Robot
168f9548fc Merge "Move setCurrentPlayTime before starting animation." into udc-dev am: a9a2ec9b55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22895085

Change-Id: Ibc426f3571ffe539016638b0f2dd9b173339f795
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 01:37:55 +00:00
Treehugger Robot
a9a2ec9b55 Merge "Move setCurrentPlayTime before starting animation." into udc-dev 2023-04-27 01:00:56 +00:00
Vinit Nayak
0d2b59f0b1 Merge "Add logs for PackageUpdatedTask" into udc-dev am: af55572713
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22873227

Change-Id: Ifbb676e0d70004d2d937842961cf07b4f7bf27e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 23:32:10 +00:00
Vinit Nayak
af55572713 Merge "Add logs for PackageUpdatedTask" into udc-dev 2023-04-26 23:05:42 +00:00
Jagrut Desai
7c7b621e69 Merge "Adding Support for Change Navigation Mode Taskbar Divider Menu Option" into udc-dev am: 0e5f1af6cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22776741

Change-Id: Icc868810cd1c4a7ed324d6ad2e50c68e0c1192d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 22:13:01 +00:00
Jagrut Desai
0e5f1af6cb Merge "Adding Support for Change Navigation Mode Taskbar Divider Menu Option" into udc-dev 2023-04-26 22:12:08 +00:00
Schneider Victor-tulias
a6061127e2 Merge "Fix broken TaplTestsTaskbar splitscreen test cases" into udc-dev am: a314b0375e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22862600

Change-Id: I44b827bbe73498e06ad8d1218245f165cf887a82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 22:08:11 +00:00
Andy Wickham
48a56d3d67 Merge "Add long swipe from app to overview gesture (with flag)." into udc-dev am: a4627d2235
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22243545

Change-Id: Ic4aa2767cf1e12ed901d6dabdc3e67503a5b1d43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 22:07:53 +00:00
Schneider Victor-tulias
a314b0375e Merge "Fix broken TaplTestsTaskbar splitscreen test cases" into udc-dev 2023-04-26 21:33:38 +00:00
Andy Wickham
a4627d2235 Merge "Add long swipe from app to overview gesture (with flag)." into udc-dev 2023-04-26 21:30:53 +00:00
Holly Jiuyu Sun
bf29b11b65 Merge "[play] Add a new attribute type for GMS Play in order to distinguish with the old M0 flow." into udc-dev am: 12fa013fcd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22723243

Change-Id: Ife96a54141a8704d69d945847e14f0a57d094a63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 21:06:18 +00:00
Vinit Nayak
6106ae9ac7 Add logs for PackageUpdatedTask
* That's the bit that updates new packages for work profile,
at least from command line.
* There is variability in how long it could take work profile
apps to show up, from 2-8 seconds.

Bug: 243688989
Change-Id: I710befc5f17b4a16bff523eb03f1e88975cafd43
2023-04-26 13:21:57 -07:00
Holly Jiuyu Sun
12fa013fcd Merge "[play] Add a new attribute type for GMS Play in order to distinguish with the old M0 flow." into udc-dev 2023-04-26 20:21:29 +00:00
Jon Miranda
77b17547c3 Move setCurrentPlayTime before starting animation.
Otherwise when animations are turned off, the animation will start/end
and then gets stuck to the first frame of the animation.

Fixes: 278046913
Change-Id: I5f0ed4b99ab4737b5371d65754d1acb4fdb8edb0
Flag: none
Test: swipe to go home
2023-04-26 12:05:04 -07:00
Andy Wickham
830e4b7ce0 Add long swipe from app to overview gesture (with flag).
High level:
 - As you swipe up from an app (OtherActivityInputConsumer),
   a state transition animation to All Apps is created in
   AnimatorControllerWithResistance. The animation is played
   alongside the Recents resistance animation (i.e. past the
   settling point of Overview, which is at mCurrentShift 1).
 - The actual state transition to All Apps only happens if you
   release your finger in the "all apps region." This is set to
   mCurrentShift 2, so double the distance that Overview rests.
 - A haptic plays whenever you enter or exit this region, and
   the all apps animation is set to 0 until the region is
   active. This is so it's clear that something different is
   happening.
 - The panel that was previously used for tablets is now used
   for phones during this transition. It comes in at full
   opacity when you enter the region, and the contents (apps
   and search suggestions) fade in as you continue swiping.
 - The only gesture that is recognized in the all apps region
   is a fling downwards, which will return you to the previous
   app. Otherwise a left/right/up fling or slow release will
   finish the all apps transition.
 - The threshold is ignored if the flag is disabled (default)
   or if FallbackActivityInterface is active.

Flag:
The threshold is ignored if ENABLE_ALL_APPS_FROM_OVERVIEW is
disabled (default).

Bug: 259619990
Bug: 275132633
Test: Manual with and without the flag enabled
Change-Id: Ie311b77252416d97677b2c56fad61dfd392b6fe8
2023-04-26 10:52:04 -07:00
Jordan Silva
de1e2fe58e Merge "Fix digital wellbeing toast being initialized multiple times" into udc-dev am: a68cd72a3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22821459

Change-Id: Ic9e9190f16283bb2f5248d279341adbc84eef7c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 17:51:11 +00:00
Schneider Victor-tulias
ccc10128f1 Fix broken TaplTestsTaskbar splitscreen test cases
The split tasks no longer close between test orientation changes. Updating tests to close all tasks after TaplTestsTaskbar test cases

Flag: not needed
Fixes: 279063348
Test: TaplTestsTaskbar
Change-Id: Ie654aae0a16ff495555b48f85a8dec8537086649
2023-04-26 10:15:27 -07:00
Jordan Silva
a68cd72a3c Merge "Fix digital wellbeing toast being initialized multiple times" into udc-dev 2023-04-26 17:15:09 +00:00
Sebastián Franco
baac1d9493 Merge "Prevent null pointer exception by return from setBackToLauncherCallback when mBackToLauncherCallback is null" into udc-dev am: 3538deee10
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22774999

Change-Id: I92385e5184c1cd418310c21eca0bef7dbf9f0a89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 16:47:41 +00:00
Sebastián Franco
3538deee10 Merge "Prevent null pointer exception by return from setBackToLauncherCallback when mBackToLauncherCallback is null" into udc-dev 2023-04-26 16:06:35 +00:00
Marcello Galhardo
e935bf9f22 Merge "Add custom widget category for Note Taking" into udc-dev am: 0745f507a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21480232

Change-Id: Ie57d82be336d6fc1a70493b8eb314f612fd56211
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 15:03:04 +00:00
Marcello Galhardo
0745f507a4 Merge "Add custom widget category for Note Taking" into udc-dev 2023-04-26 14:25:33 +00:00
Jordan Silva
f03e5f3778 Fix digital wellbeing toast being initialized multiple times
Digital Wellbeing toast state was being updated several times together with the app icon unnecessarily. This was causing a recreation of the Digital Wellbeing and replacing the banner attached to the TaskView multiple times, leading to heavy UI thread work and jumpy animations in some cases.

Bug: 271428408
Test: manual
Change-Id: I1a2a1423924efb0fb3c1e66826e3ab11211dcfb7
2023-04-26 11:40:47 +01:00
Tracy Zhou
3eb0e148bd Merge "Commit to OtherActivityInputConsumer when swiping up in app" into udc-dev am: c8f0ac0cd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22863002

Change-Id: I1f886768dfd248d2d4169012f38d43ffeb55dc2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 07:00:34 +00:00
Tracy Zhou
c8f0ac0cd8 Merge "Commit to OtherActivityInputConsumer when swiping up in app" into udc-dev 2023-04-26 06:22:50 +00:00
Fengjiang Li
58f67df50c Merge "Fix NPE of predictive back in TaskbarAllAppsSlideInView" into udc-dev am: 216ae0f7ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22717961

Change-Id: I7dbf82e115c8df84d75629587a0faa8de49547c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 05:56:59 +00:00
Fengjiang Li
216ae0f7ec Merge "Fix NPE of predictive back in TaskbarAllAppsSlideInView" into udc-dev 2023-04-26 05:15:33 +00:00
Treehugger Robot
7cb9a07f08 Merge "Move Block 23 flag back into its section" into udc-dev am: 826a5c8e71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22840769

Change-Id: I4a43e83297a27c897831a420f223f3ef85267b5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 03:07:24 +00:00
Treehugger Robot
826a5c8e71 Merge "Move Block 23 flag back into its section" into udc-dev 2023-04-26 02:37:32 +00:00
Vinit Nayak
53f455e5e3 Merge "Add link to block directory" into udc-dev am: 4549e2c851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22821460

Change-Id: I0c37b73fc4acaff7ad87c40f279462aa2d21228e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 23:57:22 +00:00
Vinit Nayak
d585ca4c9f Merge "Route PredictedAppIcon clicks through launcher" into udc-dev am: 80a3213d6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22727510

Change-Id: I2bf06fa832025658c53f2961ec66707b61e7beec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 23:57:12 +00:00
Vinit Nayak
4549e2c851 Merge "Add link to block directory" into udc-dev 2023-04-25 23:21:16 +00:00
Vinit Nayak
80a3213d6b Merge "Route PredictedAppIcon clicks through launcher" into udc-dev 2023-04-25 23:20:41 +00:00
Saumya Prakash
b4f697ea40 Merge "Update the mock hotseat for the Gesture Navigation tutorial" into udc-dev am: 773c5c1760
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22725235

Change-Id: I1a8327f06be35c027caf144088275d5dccd89f70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 21:00:44 +00:00
Saumya Prakash
773c5c1760 Merge "Update the mock hotseat for the Gesture Navigation tutorial" into udc-dev 2023-04-25 20:14:32 +00:00
Tracy Zhou
33bcdbbb9d Commit to OtherActivityInputConsumer when swiping up in app
Fixes: 279634432
Test: swipe up and then immediately down, making sure that the notification shade is not brought down
Change-Id: I5ffdab6cef8162d0f0783c5d4a761197952209dd
2023-04-25 13:10:47 -07:00
Vinit Nayak
1bb594c72b Route PredictedAppIcon clicks through launcher
* This allows us to intercept launching predicted apps for
split-screen if user is in split selection flow
* Defaults to existing behavior of ItemClickHandler.INSTANCE
if we do not need to intercept the click

Bug: 276361926
Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE
Test: Launches as expected when not in split, launches in
split when selected as second app to initiate split with

Change-Id: Ieb45137ae89da340d314e995f4f6eb1f8b49a42f
2023-04-25 12:31:56 -07:00
Vinit Nayak
c91053e9af Move Block 23 flag back into its section
* Seems like with the recent atmospheric river
this feature flag may have slipped out from it's block.

Bug: 278771275
Flag: not needed
Change-Id: I3aa8e70207ea29319b8854ff5d995dc61bc41ef2
2023-04-25 12:17:07 -07:00
Vinit Nayak
a85b629d12 Add link to block directory
Flag: not needed
Bug: 278771275
Test: ran launcher
Change-Id: I6fc37d73a73265520c62c95167fd730095dd81e6
2023-04-25 12:17:07 -07:00
Tracy Zhou
e0c51ea5f9 Merge "Support 4-finger gesture to quick switch" into udc-dev am: eb55f83d88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22233664

Change-Id: Ieb03250589c04f040abe50221e6e1b441c6e27aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 18:55:43 +00:00
Tracy Zhou
eb55f83d88 Merge "Support 4-finger gesture to quick switch" into udc-dev 2023-04-25 18:21:37 +00:00
Robin Lee
d59974a72e Merge "Remove keyguard state from onAnimationCancelled" into udc-dev am: 52b4c77770
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22779727

Change-Id: I500c92b9e85932cc32f6f7eae245f65c118cf86e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 17:49:51 +00:00
Robin Lee
52b4c77770 Merge "Remove keyguard state from onAnimationCancelled" into udc-dev 2023-04-25 17:35:59 +00:00
Treehugger Robot
2cce8050ad [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 0a396bd96f -s ours am: 4f823ca92c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I75d01b051410cfa42884bfc70a0c07cacdf6b8df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 17:28:50 +00:00