Commit Graph

78507 Commits

Author SHA1 Message Date
Jagrut Desai d176477b7f Merge "Fixing folder drawLeaveBehind() with Taskbar Pinning enabled" into main 2024-01-22 19:40:58 +00:00
Federico Baron dc2f747213 Merge "Fix nested scrolling in two pane picker left pane" into main 2024-01-22 19:38:46 +00:00
Mady Mellor befb26ca11 Add Ats and Liran as owners to taskbar bubbles
Flag: N/A
Test: treehugger
Bug: none
Change-Id: I16c3c45c109d0bcc4f536dfebc5d40c8ea3d2f31
2024-01-22 11:28:47 -08:00
Sunny Goyal 7ec2e11b0c Merge "Implementing an unfold animation using CannedAnimationController" into main 2024-01-22 19:06:41 +00:00
Anushree Ganjam e6760e6855 Merge "Pause the prediction update until the app launch transition ends." into main 2024-01-22 19:05:36 +00:00
Jagrut Desai f5a27ac0c5 Fixing folder drawLeaveBehind() with Taskbar Pinning enabled
Test: Manual
Bug: 320579559
Flag: NONE
Change-Id: If0c7cb7cf8deb89868cb34c310c91fd0cf028643
2024-01-22 10:08:09 -08:00
Anushree Ganjam b3bf0276e4 Pause the prediction update until the app launch transition ends.
b/319162661 issue is similar to hotseat updates on app click : b/148800229 and ag/10235572

So we will pause the prediction updates until the app launch transition is complete.

See https://b.corp.google.com/issues/319162661#comment9 and https://b.corp.google.com/issues/319162661#comment10 for bug report
analysis.

Before fix: https://b.corp.google.com/issues/319162661#comment11

After fix: https://b.corp.google.com/issues/319162661#comment12

Bug: 319162661
Test: Manual
Flag: NA
Change-Id: I797ce982569c7950628368b854fb3b6766f0fc28
2024-01-22 09:51:05 -08:00
Rohit Goyal f97d8ac08f Prefix PromiseIconUiTest with Tapl in AndroidManifest.xml for archiving.
* Archiving test for promise icons use a broadcast receiver.
* Due to recent class identifier change, manifest entry for the receiver was invalidated. This cl attempts to fix the breakage.

Test: atest TaplPromiseIconUiTest.java
Bug: 319240622
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT
Change-Id: I061278d6cc3f49c579575a1af49ffe53770fd790
2024-01-22 17:26:24 +00:00
Luca Zuccarini de109167a2 Update dependency on Shell utils.
Fix: 321724947
Flag: NA
Test: both soong and gradle builds work
Change-Id: Ifc29aa62f19b16da668ed8129cd2a408c65e52f0
2024-01-22 17:14:59 +00:00
fbaron db1e3d53e3 Fix nested scrolling in two pane picker left pane
Fix: 319151078
Test: Verify there's no nested scrolling
Flag: NONE
Change-Id: Ic974c85e1845f45aa0646a1ebf29696f75c9ab90
2024-01-22 09:00:57 -08:00
Sam Cackett 77a7bf2ac7 Merge "Use app short name in Overview IconAppChipView" into main 2024-01-22 14:46:00 +00:00
Jeremy Sim 48467438da Remove app pairs when their member apps are uninstalled
This patch modifies PackageUpdatedTask.execute() to also remove app pairs when their member apps are uninstalled.

Fixes: 316050282
Test: Install App A, create an app pair containing App A, uninstall App A.
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TEAMFOOD
Change-Id: I8487a2dfcfc6d29bd55e88003d1950078c6e2e31
2024-01-22 17:50:12 +08:00
Sebastián Franco 82d88d3fdc Merge "Updating launcher settings so that they become split-screen" into main 2024-01-22 04:58:09 +00:00
Jeremy Sim d9c91a45e8 Implement bounce animation for invalid split target
When the user selects an app pair as a split target, the split instructions view will now bounce up and down to prompt the user to select something else.

Fixes: 315529271
Test: Manual
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TEAMFOOD
Change-Id: I1ff194449db2263b266404f42a75ebc35ee6077c
2024-01-22 12:23:58 +08:00
Android Build Coastguard Worker 5c54e272ac Snap for 11338408 from e66ed03992 to 24Q2-release
Change-Id: I6a260cc21d730757948adb13489a47b7e5178795
2024-01-20 22:20:16 +00:00
Winson Chung c05363a620 Remove path to provide Launcher with the nav bar surface
- It's not currently being used at all, and with the taskbar/navbar
  unification we will likely not need it going forward as well

Fixes: 318651465
Test: Builds
Change-Id: I909c0165468e8da9c3ca2df4ba98da9dcc43eb53
2024-01-20 22:13:41 +00:00
Android Build Coastguard Worker 6338212b26 Snap for 11336776 from 2faf66e5d3 to 24Q2-release
Change-Id: I694932efbb90a0adfd71a4d807f10fc87a1dfe1b
2024-01-20 02:20:57 +00:00
Tracy Zhou e66ed03992 Merge "Update task bar height update logic to consider screen rotation cases" into main 2024-01-20 02:12:19 +00:00
Sunny Goyal 3ef2768922 Merge "Simplyfing SystemShortcut rendering" into main 2024-01-20 01:11:36 +00:00
Tracy Zhou a009a5e82e Update task bar height update logic to consider screen rotation cases
When home screen rotation is enabled, instead of updating taskbar height (assuming that folded task bar is always on the bottom of screen display), we should update taskbar width instead.

Bug: 313371759
Test: try out both folded and unfolded 3-button and gesture nav modes, enable home rotation, make sure all the nav buttons are functional and visible when they should be.
Change-Id: I16f53d9e9c3cd0229fc50b73613b032a96322b97
2024-01-19 16:58:03 -08:00
Tony Wickham 7eceb5b101 Merge "Revert to passing mIsStashed to StashedHandleViewController again" into main 2024-01-20 00:38:16 +00:00
Uwais Ashraf e83095fa68 Merge "Replace existing Robolectric test task with functioning one." into main 2024-01-19 23:45:20 +00:00
Sunny Goyal 2faf66e5d3 Merge "Revert "Set aconfig container to "system""" into main 2024-01-19 23:31:17 +00:00
Federico Baron 2b691f67b4 Merge "Add logs to debug b/318394698" into main 2024-01-19 22:38:23 +00:00
Sebastian Franco 9ae403298d Updating launcher settings so that they become split-screen
Following this guide:
https://developer.android.com/guide/topics/large-screens/activity-embedding#extract_an_activity_from_a_split_to_full_window

Bug: 204463748
Test: Open the settings app and open multiple settings, for now
only the options inside of the launcher3 package work
Flag: ACONFIG com.android.launcher3.Flags.enableTwoPaneLauncherSettings DEVELOPMENT

Change-Id: Ie6a9eb3760171da92d94cf06376127b02afff8df
2024-01-19 22:33:20 +00:00
Uwais Ashraf 77b97c0729 Replace existing Robolectric test task with functioning one.
This CL does the following:
- Creates a dir for multivalentTests
- Creates symlinks for the dir to keep Android Studio happy
- Moves many files to the multivalentTests dir
- Adjusts gradle and soong build files to use the new dir as part of
their source sets.

Test: ./gradlew :NexusLauncher:testGoogleWithQuickstepDebugUnitTest
Test: atest Launcher3RoboTests
Fix: 316553886
Bug: 316553889
Flag: NA
Change-Id: Iae28fd0c0191b3ecf9bd2950800875950cca2622
2024-01-19 21:39:23 +00:00
Sunny Goyal d609f6ea39 Revert "Set aconfig container to "system""
This reverts commit 2916945dbf.

Reason for revert: breaks android-studio development flow

Change-Id: I219eb87c170b2b0dd1bb98894afa680bffb360b5
2024-01-19 21:35:29 +00:00
fbaron e5e37faa1f Add logs to debug b/318394698
Flag: NONE
Test: n/a
Bug: 318394698
Change-Id: I3142dafeae0ba31713f514e690c5b7bb730541b0
2024-01-19 13:24:18 -08:00
Vadim Tryshev 82bf25b017 Merge "Adding TestStabiility so that demoting transitioningToUnlocked_resetCallsPendingRunnable from presubmit works" into main 2024-01-19 21:14:20 +00:00
Fengjiang Li a6142fff95 Merge "Fix flaky ExecutorRunnableTest" into main 2024-01-19 21:05:23 +00:00
Charlie Anderson 97b0c90ae0 Merge "Fixes bug where app suggestions incorrectly calculate available space when bottom row is full" into main 2024-01-19 20:29:21 +00:00
Tony Wickham c4df8c2ec6 Revert to passing mIsStashed to StashedHandleViewController again
- Fixes case where handle is initially invisible but will be stashed
  and visible, e.g. when launching an app from home screen
- To fix the original issue of sampling happening unnecessarily for
  three button nav, also check supportsVisualStashing()

Fixes: 321257120
Flag: None
Test: Launch an app from home in gesture nav mode
Test: testThreeButtonsTaskbarBoundsAfterConfigChangeDuringIme
Change-Id: I1f26436de3081fd00f75a5921010e361e9a9f34e
2024-01-19 20:25:25 +00:00
Fengjiang Li 8e2797c52e Fix flaky ExecutorRunnableTest
Use lock to pause/resume execution of Executor

Fix: 316588649
Test: Unit test
Flag: NONE
Change-Id: I5a3c5dece279c6bdaaba579754678108b4bf75b8
2024-01-19 11:44:17 -08:00
Bill Yi f00c59e2f4 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-19 18:49:23 +00:00
Bill Yi 4d97c8b865 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-19 18:49:23 +00:00
Sunny Goyal 9f226dff72 Simplyfing SystemShortcut rendering
Instead of opening the popup again when the status of AppSharing
changes, updating the UI in-place.

Bug: 321179015
Test: Presubmit
Flag: N/A
Change-Id: I6d7bd8cdf2014fd881324347e3e01b8e7e84ef1e
2024-01-19 10:48:54 -08:00
Helen Cheuk 91a048def2 [automerger skipped] Merge "Add flag guard to hover actions in TouchInteractionService." into udc-qpr-dev am: 7110ff3bfb -s ours
am skip reason: Merged-In I74818f517b84c4aba8a7dd4a77397495595bbef5 with SHA-1 8bcf485ac4 is already in history

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

Change-Id: I8559713c29258b96d8457f3fc1b013c489a77db7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 18:32:12 +00:00
Pat Manning 5f7409b801 [automerger skipped] Add flag guard to hover actions in TouchInteractionService. am: aac08cfbad -s ours
am skip reason: Merged-In I74818f517b84c4aba8a7dd4a77397495595bbef5 with SHA-1 8bcf485ac4 is already in history

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

Change-Id: I08e927aee91d6ea626ed6bb13506764cb8643d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 18:32:08 +00:00
Vadim Tryshev 840a97d7ff Adding TestStabiility so that demoting transitioningToUnlocked_resetCallsPendingRunnable from presubmit works
Bug: 320703862
Test: presubmit
Flag: N/A
Change-Id: Ie0e49ffb4d1efabe1c79fac9342f186f15f8cf23
2024-01-19 18:28:05 +00:00
Bill Yi 92facbe6d9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ef1ac08ff9 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia468610b81bbda731ae19355b5c7d008e11bd2fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 18:27:01 +00:00
Charlie Anderson 4612239a61 Fixes bug where app suggestions incorrectly calculate available space when bottom row is full
Bug: 318417510
Flag: N/A
Test: manually tested toggling app suggestions with the bottom row filled / not filled
Change-Id: I25461aefa8db93a1c2548604c0ea15c9a12ae688
2024-01-19 13:07:11 -05:00
Helen Cheuk 7110ff3bfb Merge "Add flag guard to hover actions in TouchInteractionService." into udc-qpr-dev 2024-01-19 18:00:54 +00:00
Sunny Goyal defc9058a1 Merge "Cleaning up some unused notifications functionality" into main 2024-01-19 16:39:12 +00:00
samcackett 548c4d0e8d Use app short name in Overview IconAppChipView
Fixes: 313649435
Test: Build & Run
  Open an app with a longer name, like Google News or Youtube Music.
  Open "Overview". IconAppChipMenu should have a short name like "News"
  or "YT Music"
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: Ieb449c5e574dd3c7b88a9cd3979175cbc91ef3eb
2024-01-19 14:35:13 +00:00
Johannes Gallmann 3cbcdaff19 Merge "Attach launcher protection scrim to the opening target instead of Launcher's surface." into main 2024-01-19 08:31:32 +00:00
Sunny Goyal e0c1649d87 Cleaning up some unused notifications functionality
Bug: 321154530
Test: Presubmit
Flag: N/A
Change-Id: I1ff2a4f19595659d89e7d72ee1b29036bbd54d8f
2024-01-19 00:21:02 -08:00
Android Build Coastguard Worker 4c5e9fd938 Snap for 11330025 from a3e2c59716 to 24Q2-release
Change-Id: I4ed6a78096d05eeb01e5fbbaa5722d95cf42ef8a
2024-01-19 00:20:46 +00:00
Xin Li 6810c19646 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I0708bf3c060ba84089722d0bd9480a4f4bd2b8e2
Change-Id: I31bb7f6aa8f71244f6e44903927f67e9d3a85642
2024-01-18 13:56:04 -08:00
Anushree Ganjam 917619a06a Merge "Remove Pin Prediction shortcut from private space app." into main 2024-01-18 21:45:23 +00:00
Bill Yi ef1ac08ff9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8ba4cb1f6e6d9367d2221cf03b2aa361a0f89543
2024-01-18 13:13:30 -08:00