Commit Graph

76973 Commits

Author SHA1 Message Date
Schneider Victor-tulias
25ff85efdc Merge "Add temporary debug logs to OtherActivityInputConsumer" into main 2024-07-12 16:57:31 +00:00
Sebastián Franco
535267a00d Merge "Promote test testAddDeleteShortcutOnHotseat" into main 2024-07-12 16:03:17 +00:00
Schneider Victor-tulias
f67d384f86 Merge "Revert^2 "Add CUJ instrumentation for KQS"" into main 2024-07-12 14:59:45 +00:00
Alex Chau
e74d34673b Merge "Perform state switch to Overview from -1 screen" into main 2024-07-12 10:08:41 +00:00
Sebastian Franco
e84cdcc468 Promote test testAddDeleteShortcutOnHotseat
Flag: TEST_ONLY
Test: testAddDeleteShortcutOnHotseat
Bug: 338869019
Change-Id: Ib3dd4fec0e8e6b4ac9e4233172197b557890ab15
2024-07-11 17:56:44 -07:00
Brandon Dayauon
cbadaa6d08 Merge "Update workEDU background color to scHighest" into main 2024-07-11 22:39:08 +00:00
Treehugger Robot
21b2215968 Merge "Add debug logs to print stack trace for Private space flaky test." into main 2024-07-11 21:48:41 +00:00
Saumya Prakash
267a703ca6 Merge "Replace Lottie animations for All Set page at the end of SUW" into main 2024-07-11 21:26:47 +00:00
Fengjiang Li
dd7471f3bf Merge "[Launcher Jank] Improve SimpleBroadcastReceiver.java" into main 2024-07-11 20:22:22 +00:00
Treehugger Robot
01b577432a Merge "Add screenrecord to testDragIconToPage2" into main 2024-07-11 19:27:59 +00:00
Schneider Victor-tulias
2ba69c2d3e Add temporary debug logs to OtherActivityInputConsumer
Flag: EXEMPT debug logs
Bug: 339905514
Test: Swiped home from running apps and checked logs
Change-Id: Ib13c19df45edba2112afd9603caf5cb0e60fd1d0
2024-07-11 14:30:00 -04:00
Saumya Prakash
c511412c08 Replace Lottie animations for All Set page at the end of SUW
This change updates the background lottie animations that play on the
final page of Setup Wizard, the All Set page. They needed to be updated
since their colors would sometimes get corrupted, which made it
difficult to read the text on screen.

Fix: 318455805
Test: Manually run Setup wizard with the maximum font size and display
size and ensure the animations display correctly for different devices.
Flag: EXEMPT bugfix

Change-Id: I8f30c8e547aa1d704b5be7ba355719643749e3e4
2024-07-11 18:13:15 +00:00
Fengjiang Li
b87ad6f945 [Launcher Jank] Improve SimpleBroadcastReceiver.java
Bug: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: I17bd7e4d7f0640522476e94edae691f983835f62
2024-07-11 11:12:29 -07:00
fbaron
cf55a30dcf Add screenrecord to testDragIconToPage2
Flag: TEST_ONLY
Bug: 352130094
Test: TaplTwoPanelWorkspaceTest#testDragIconToPage2
Change-Id: I0358e4da22afc19a8d976d529c68f09529247ca7
2024-07-11 10:49:58 -07:00
Jordan Silva
51bb09324a Merge "Optimize build for Launcher3Quickstep, Launcher3Go and Launcher3QuickstepGo" into main 2024-07-11 17:48:58 +00:00
Brandon Dayauon
155f842636 Update workEDU background color to scHighest
bug: 342246204
Test: manually photos:
beforeDT: https://drive.google.com/file/d/14qJDNK2044KQXLLr3NgKMnxRcGysGcf3/view?usp=sharing
beforeLT: https://drive.google.com/file/d/1qwKBSUjGXtqY8PVep7ZT0FhABx2kFGFt/view?usp=sharing
afterLT: https://drive.google.com/file/d/1-rR-5x-vp0WUTlGV8rJMHiHnhQ07FfXC/view?usp=sharing
afterDT: https://drive.google.com/file/d/1szHqOSudhqEF4_AId9xD77YKTmGJt09n/view?usp=sharing
Flag: NONE Color change
Change-Id: I7d41581c613bd719515fcf491967327c989bf91b
2024-07-11 10:40:12 -07:00
Treehugger Robot
9ef16e5cd3 Merge "Fix NPE of BaseContainerInterface#calculateTaskSizeInternal" into main 2024-07-11 16:30:31 +00:00
Treehugger Robot
2d73c5ef1b Merge "Change drawing in TTV to use Views rather than Canvas" into main 2024-07-11 15:03:18 +00:00
Alex Chau
1cd3fe27f2 Perform state switch to Overview from -1 screen
- This fixed a regression caused by ag/27904180, where -1 is no longer considered `visibleLauncher`. -1 still have Launcher being top activity, and recents animation will always fail
- Added isInMinusOne in LauncherActivityInterface, and return Launcher in getVisibleLauncher for -1 case
- -1 should be the only case where Launcher is top activity, but is not started

Fix: 352254279
Test: Recents button from the following scenarios: Home, -1, apps, transparent apps, video from -1
Flag: EXEMPT bugfix
Change-Id: I0898d202b9dd4742c0c7d2c0d6b340c748e8acf7
2024-07-11 15:53:26 +01:00
Uwais Ashraf
7e7afac7c0 Change drawing in TTV to use Views rather than Canvas
Fix: 352332386
Test: Presubmit, Manual
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: Ia1b7b6dc3d093d431ce022e793f40e61cec38ac6
2024-07-11 13:19:21 +00:00
Shamali Patwa
d16ea2650e Align predictive back in standalone picker activity
Bug: 346332606
Test: Manual
Flag: EXEMPT BUGFIX
Change-Id: I34882389029a5f095ab8d910791f7be34f7b8355
2024-07-11 13:03:55 +00:00
Treehugger Robot
1d73fdd4ac Merge "Add icon loading to TasksRepository" into main 2024-07-11 11:26:23 +00:00
Uwais Ashraf
b59d86112c Add icon loading to TasksRepository
Bug: 334826842
Test: TasksRepositoryTest
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: I75f2e0e9aae4663993ca54742f653f4c7c04fdfe
2024-07-11 09:40:57 +00:00
Treehugger Robot
d529345e0e Merge "[Launcher Jank] Add TODO for LauncherPreviewRenderer to set bg handler on smartspace BaseTemplateCard" into main 2024-07-11 08:51:29 +00:00
Johannes Gallmann
1cbfe6eb57 Merge "Use default cross-activity animation in Launcher Home Settings" into main 2024-07-11 07:02:49 +00:00
Fengjiang Li
eef1599c06 Fix NPE of BaseContainerInterface#calculateTaskSizeInternal
Fix: 351861547
Flag: NONE - Bug fix
Test: Presubmit
Change-Id: I984748a6c5487a946a96aa3e2183b5d13a370b6d
2024-07-10 14:43:15 -07:00
Anushree Ganjam
f828683fa8 Add debug logs to print stack trace for Private space flaky test.
From the failure test videos, it looks like scrollToTop gets called https://b.corp.google.com/issues/339737008#comment15.

Bug: 339737008
Test: Manual
Flag: TEST_ONLY
Change-Id: I61a95ff45fa4409f8f1b243ac435002556a16677
2024-07-10 13:44:11 -07:00
Mykola Podolian
103191c589 Merge "Shadow for bubble icons fixed." into main 2024-07-10 19:38:23 +00:00
Sebastián Franco
6e43c6aadf Merge "Moving ReorderWidgetsTest to an integration test instead of E2E" into main 2024-07-10 18:28:08 +00:00
Federico Baron
f30a5a3ca1 Merge "Revert "Add screenrecord/demote TwoPanelWokrspaceTest"" into main 2024-07-10 18:16:50 +00:00
Alex Chau
33da74f8c2 Merge "focusTransitionScaleAndDimOut should always go from 1f to 0f" into main 2024-07-10 16:41:03 +00:00
Federico Baron
89414e403c Revert "Add screenrecord/demote TwoPanelWokrspaceTest"
This reverts commit 09ac97fa39.

Reason for revert: fixed issue

Change-Id: I269fbcedc161ff340eaa17d6a37c18cba7ce0848
2024-07-10 16:40:05 +00:00
mpodolian
a3921ddb67 Shadow for bubble icons fixed.
The bubble's outline was hardcoded with a fixed size. This caused a
shadow to be drawn using the hardcoded outline size, regardless of the
actual bubble view size. The BubbleView logic has been updated to use
the actual bubble size for the outline. The guarding flag has been
removed.

Bug: 340445019
Flag: com.android.wm.shell.enable_bubble_bar
Test: http://recall/-/gx8ASgewUeUS3QYohfrd1J/hqFtAZJnX0tCRONoFpSK3i
Change-Id: Iaa2c2d0bfeee2af9840acbcf11daaf8be2e0b7af
2024-07-10 16:36:22 +00:00
Liran Binyamin
e29e31922f Merge "Fix squished hotseat due to bubbles" into main 2024-07-10 16:10:41 +00:00
Jordan Silva
6a8d81a2fa Optimize build for Launcher3Quickstep, Launcher3Go and Launcher3QuickstepGo
This CL adds optimizations for Launcher3Quickstep builds by shrinking
unused resources.
- Enabled proguard for Launcher3QuickStep
- Launcher3Quickstep APK size reduced by -61%, 18.9Mb.
- Launcher3QuickstepGo and Launcher3Go APK size reduced by 6.5%, 872kb.

Fix: 346288630
Flag: EXEMPT Updating bp files to optimize the build
Test: Presubmit and Postsubmit builds
Change-Id: I6f8bdee7febbc125e14df3afe7bbd36ba57623f0
2024-07-10 15:14:09 +00:00
Schneider Victor-tulias
a929c7ab75 Revert^2 "Add CUJ instrumentation for KQS"
0947d9f618

Change-Id: Ifc6f2ae8f447939f274fb6167cc74c0cd2e89652
2024-07-10 14:30:58 +00:00
Liran Binyamin
4cebffa209 Merge "Fix missing bubble update dot" into main 2024-07-10 14:23:16 +00:00
Liran Binyamin
c79119e911 Merge "Fix bubble update animation" into main 2024-07-10 14:23:04 +00:00
Alex Chau
c378e64b75 focusTransitionScaleAndDimOut should always go from 1f to 0f
- Also updated AnimatedFloat to accept a Consumer<Float>, so a lambda can be used as updateCallback with refernce to udpated value
- Also updated PendingAnimation to accept Animator with TimedInterpolator without specifying SpringProperty

Fix: 352195519
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ifb78c1bcd3ca215a5d214f986a107d0988bff13b
2024-07-10 13:40:22 +01:00
Alex Chau
0ac34a3388 Add use case for split animation to retrieve thumbnail
Fix: 349120849
Test: TaskSplitAnimationHelperTest
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: I7d4bcbdbeacd56356c71eb18c73ceef8446011d1
2024-07-10 09:37:33 +00:00
Sebastian Franco
224f67a046 Moving ReorderWidgetsTest to an integration test instead of E2E
Flag: TEST_ONLY
Test: IntegrationReorderWidgetsTest
Bug: 324261526
Fix: 343761044

Change-Id: I9bfe8b587e1024260ddeeb48157c3d204f2d58f2
2024-07-10 04:20:41 +00:00
Kevin Lim
b89cd5e91a Merge "[AllAppsStore] Dump class name in addition to package name for debugging" into main 2024-07-10 00:02:12 +00:00
Liana Kazanova
5de87a8908 Merge "Revert "Add CUJ instrumentation for KQS"" into main 2024-07-09 22:10:40 +00:00
Treehugger Robot
87ba51b611 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:14 +00:00
Treehugger Robot
80831d9adc Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:14 +00:00
Treehugger Robot
8bfaf55814 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:14 +00:00
Priyanka Advani
0947d9f618 Revert "Add CUJ instrumentation for KQS"
Revert submission 28049476-kqs-cuj-instrumentation

Reason for revert: Droidmonitor created revert due to b/352144322. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:28049476-kqs-cuj-instrumentation

Change-Id: I8bfe7bfe4ce1bd816f138dbd4d5915f837ab97a0
2024-07-09 22:04:38 +00:00
Liran Binyamin
e3eaacdcb2 Fix missing bubble update dot
Don't update the dot scale if the bubble bar is not collapsing or
expanding.

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 351904597
Test: manual
       - Create 2 bubbles in the bubble bar
       - Select both bubbles to clear the dot
       - Launch an app to stash the bar
       - Send updates to both bubbles
       - Observe dot appears during each animation
       - Swipe up on the bubble bar
       - Observe dot disappears for the selected bubble but remains
         for the unselected bubble
Change-Id: I2cb6dd7ded261686ae73e497bd5d4841ebde35ef
2024-07-09 17:58:41 -04:00
Brandon Dayauon
197fbabf2c Merge "Make close button to use google symbol library icon and update close color button" into main 2024-07-09 21:53:49 +00:00
Treehugger Robot
c16efda876 Merge "Re-promote fixed test openPrivateSpaceSettings_triggersCorrectIntent to presubmit" into main 2024-07-09 21:53:16 +00:00