Commit Graph

78507 Commits

Author SHA1 Message Date
Sam Cackett fe2ff288de Merge "Set max height on TaskMenuView and scroll if too many elements" into main 2024-02-27 17:02:51 +00:00
Shamali Patwa b5c0044a82 Merge "Fix issue that sometimes the widget list table occupies more space." into main 2024-02-27 16:43:02 +00:00
Treehugger Robot 287e981ce9 Merge "Fix bouncing of task view when dragged past dismiss threshold." into main 2024-02-27 16:41:59 +00:00
Himanshu Gupta dcf394535a Merge "Making Settings Cog open PS Settings page." into main 2024-02-27 15:46:34 +00:00
Shamali P 64340ea0ee Fix issue that sometimes the widget list table occupies more space.
Since the widget cells are is recycled, some times, the cell occupies
more space based on the previous cell that it was recycled from. So,
we request layout to update it.

The issue is easily reproducible by first expanding app that has
single item but with large spanY. Then, expanding app with one item
but with smaller spanY (e.g. settings or sheets apps).

* Before: http://screencast/cast/NDkwOTMwOTcyMzkzNDcyMHxjMDdmZDE1Yi05Yg
* After: http://screencast/cast/NTA0NzU3Nzc5MDY0NDIyNHw1NzhkZmM0MS04OA

Bug: 289147379
Flag: N/A
Test: Manual
Change-Id: I4d003024e1db437a50de759f9390190b038a114a
2024-02-27 14:17:03 +00:00
Uwais Ashraf dddafae44e Fix bouncing of task view when dragged past dismiss threshold.
Before: https://screenshot.googleplex.com/56AHSMFkNwC76BV
After: https://screenshot.googleplex.com/AjuWqZaSNxmNYn8

Other cases after:
https://screenshot.googleplex.com/oaNotdg79v7LGUA
https://screenshot.googleplex.com/8SVtzpokbvmAzpv
https://screenshot.googleplex.com/87uRqmEAasBMQz2

Fix: 319577620
Flag: NA
Test: Manual (animation), analyse setPlayFraction log - see screenshots
Change-Id: Ib1f24182b8fc0f6ea1ff07125f25dbfc206ae5c2
2024-02-27 14:15:48 +00:00
Luca Zuccarini 0547036143 Merge "Move remote animation utils to the Animation lib." into main 2024-02-27 13:53:59 +00:00
samcackett 6c93e88faf Set max height on TaskMenuView and scroll if too many elements
Video of functionality: http://shortn/_pz6qhz5yxM

Fixes: 210466650
Test: Manual
Flag: NONE
Change-Id: I8b7873cf03857ee3be047ab30388e679f7a95bfd
2024-02-27 12:45:53 +00:00
Helen Cheuk 96fd73ed84 Merge "Stash taskbar when software keyboard is docked" into main 2024-02-27 10:40:07 +00:00
fbaron 3bb6d4bd81 Update some dimens for portrait edit state
Fix: 324133830
Flag: NONE
Test: HomeScreenEditImageTest
Change-Id: I7f42664b63e6981bcef5db2e76129bd3fe567102
2024-02-27 06:57:55 +00:00
Jeremy Sim 70b3131393 Merge "Improve app pairs disabled state" into main 2024-02-27 06:49:52 +00:00
Fengjiang Li 9f86b17c2c Fix bug where TAPL test is checking test's ApplicationInfo
Bug: 326118348
Test: This is the test
Flag: NONE
Change-Id: I7519727366b1ad03a50da07d6d331135fdcb89a4
2024-02-26 19:03:55 -08:00
Android Build Coastguard Worker 78c89140b6 Snap for 11498394 from 0b32b7a9cb to 24Q2-release
Change-Id: I090d3a8a16a74fe52fc5843f8c6068404fc1cfc8
2024-02-27 02:58:56 +00:00
Brandon Dayauon 3b4e2d79a7 Don't show fastScrollBar when collapsing
bug:299294792
Test manual vids:
before:https://drive.google.com/file/d/1SG9GeU1c-x2p0KT5pQ32RsOHnm0eRbUm/view?usp=sharing
after:https://drive.google.com/file/d/1RsS1yWZ6Qufxf-Odff7mLSCt3j2usPi-/view?usp=sharing
Flag: ACONFIG com.android.launcher3.Flags.private_space_animation TRUNKFOOD

Change-Id: Id94c1ba386f5469242042a5afd7bb566a730cf83
2024-02-26 17:45:03 -08:00
Android Build Coastguard Worker d8456a4aa3 Snap for 11498354 from 0b32b7a9cb to 24Q3-release
Change-Id: I22cf6ac0d0a9c7332eb20f836ffff771000e3dc3
2024-02-27 00:21:20 +00:00
Vadim Tryshev 6e3541e703 Merge "Removing verifying internal Launcher state from tests" into main 2024-02-27 00:02:28 +00:00
LaMont Jones 74f7786401 Fix container for aconfig flags.
This app is in system_ext, not system.

Bug: b/325307746
Test: manual
Flag: NA
Change-Id: Ibb1c7a4b338b6bf900a626e7ec66a28e0f90169d
2024-02-26 14:54:31 -08:00
Jeremy Sim 0a0b1e70d8 Merge "Fix embarrassing typo with saving app pairs" into main 2024-02-26 22:52:52 +00:00
Jeremy Sim 3c1ee0dad4 Improve app pairs disabled state
This CL fixes 2 issues with app pairs:
- When an app pair is incompatible with the screen size due to a non-resizeable app (e.g. Camera), the app pair will now be properly disabled and display an error message. If the user is on a foldable, it will prompt the user to unfold their phone.
- The app pair icon will now properly redraw with lower opacity when it is disabled.

Fixes: 323088270
Test: Manually paused and unpaused apps, created Camera app pairs and tested with foldable
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TEAMFOOD
Change-Id: I66514c96bc19f480c9788661e4dffaa5b1cdc2ca
2024-02-26 14:29:57 -08:00
Catherine Liang 71767d1605 Fix Launcher preview crash
Launcher preview could crash when unfolding a foldable device due to the
folded state display id no longer being valid, resulting in getting a
null display. This was leading to an empty preview bundle being
returned, which is unexpected because null is expected in the case of an
exception. Instead of crashing in getDisplayId, it's better to throw an
exception earlier on if the display is null and return null.

Flag: NA
Bug: 326637851
Test: manually verified by testing unfold in WPP in old and new preview

Change-Id: Ibc353d9447a71d33092d96029a812017487d0970
2024-02-26 21:35:20 +00:00
Vadim Tryshev 0c7fd04a8f Removing verifying internal Launcher state from tests
I’ve never seen a useful failure from these checks, and now I’m seeing a false positive error. That error is fixable by reworking the code, but I think the value of these checks is not worth the effort.

Bug: 322823209
Test: presubmit
Flag: N/A
Change-Id: If675dad254fb82a2a842ef3f9054936f38de1cff
2024-02-26 10:44:57 -08:00
Vadim Tryshev 0b32b7a9cb Merge "Add tracing for a bug where current RecentsActivity is null" into main 2024-02-26 18:33:31 +00:00
Jakob Schneider c93dc0e52a Merge "Remove archiving test because it tests platform specifics instead of launcher logic." into main 2024-02-26 18:26:18 +00:00
Jakob Schneider d1c4c1c182 Add dedicated a11y label for archived apps.
Bug: 326862963
Test: N/A
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving TRUNKFOOD
Change-Id: I2614df570bcd4e731d56088b5ef2db4a6874fb71
2024-02-26 18:23:30 +00:00
Vadim Tryshev 3d02d86872 Demote from presubmit a set of flaking tests
Bug: 319923578
Test: presubmit
Flag: N/A
Change-Id: Icd18cbe386b5cab9ac33b0b74ad0d2d8a40fa5c3
2024-02-26 10:18:54 -08:00
Jeremy Sim dab12bc67c Fix embarrassing typo with saving app pairs
When saving app pairs, we should grab attributes[0] and attributes[1] instead of attributes[0] and attributes[0].

Fixes: 326854996
Test: App pairs saves the correct two apps
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TEAMFOOD
Change-Id: I8d2fc4597cf1f1bd36bc0b910cc022c79a48f067
2024-02-26 09:03:52 -08:00
Schneider Victor-tulias 5040a837d0 Fix blocked gesture handling on failed startRecentsActivity calls
Flag: N/A
Fixes: 324228222
Test: forcicly set SystemUiProxy.mRecentTasks to null. multiple startRecentsActivity call attempts were made rather than just one
Change-Id: I2e5f8cc0cf47a143dcd7985b31292bb4d8cbbcad
2024-02-26 11:12:34 -05:00
Vinit Nayak 6e9070a4a9 Merge "Request high res icons for app pairs after all workspace items processed" into main 2024-02-26 15:06:09 +00:00
Jordan Silva 36304fd1c6 Merge "Add function to start a test activity with different name and label" into main 2024-02-26 11:33:51 +00:00
Orhan Uysal 410b2d7497 Merge "Make taskbar visibilty change only in desktop." into main 2024-02-26 10:47:00 +00:00
fbaron e555d7bc22 [automerger skipped] Update renamed util function M3HCTToColor in launcher code am: 1dcf5b2ef7 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 20d7edb05f is already in history

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

Change-Id: I08c76af897aa3b9ecfbf307ce2fef41c7724c53a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-26 00:43:11 +00:00
Android Build Coastguard Worker 9b3068adb0 Snap for 11494820 from 525163d0c7 to 24Q2-release
Change-Id: I3a3a2fbf407d7c715c16fec0bda8df8da5fc7895
2024-02-26 00:20:30 +00:00
Android Build Coastguard Worker a83c7e5d6e Snap for 11494705 from 525163d0c7 to 24Q3-release
Change-Id: I3ca9bd9aa4ff77fddf5160fcc251c69dc8ee9dc7
2024-02-25 22:20:42 +00:00
Andy Wickham 525163d0c7 Merge "Use setFlags to disable two line toggle flag in tests." into main 2024-02-25 08:09:39 +00:00
Android Build Coastguard Worker 1b07a93bed Snap for 11494200 from e98d88ef2f to 24Q2-release
Change-Id: I8de1fe57f6d93f1e04c6f15d16fe6d9fc083db35
2024-02-25 00:21:04 +00:00
Android Build Coastguard Worker 06b8cdeb77 Snap for 11494049 from e98d88ef2f to 24Q3-release
Change-Id: I60074400dff40bb9c6010bf5383cd985ce0385f7
2024-02-24 22:20:48 +00:00
Fengjiang Li e98d88ef2f Merge "Opt-in predicitive back before register the back button" into main 2024-02-24 04:40:57 +00:00
Android Build Coastguard Worker a5a2bf7ca5 Snap for 11492556 from 0c2b98e876 to 24Q3-release
Change-Id: Iacb6a5d6ccd5a381a1d778d58a6fe56205115e07
2024-02-24 02:35:30 +00:00
Android Build Coastguard Worker cf72128bfb Snap for 11491255 from 45181a668b to 24Q2-release
Change-Id: I6a6a14bd5cebb18fca00577b1c86a2725ddc4b0d
2024-02-24 02:20:46 +00:00
Vinit Nayak ef5159e8df Request high res icons for app pairs after all workspace items processed
* TL;DR Loading workspace icons only requests high res icons for apps
on workspace or in hotseat, not for folders or app pairs. They need to
request that separately
* See notes on bug for root cause

Test: Created many app pairs, empty icons does not repro.
If I remove my change issue consistently repros, not a race condition
Fixes: 323106492

Change-Id: I05ba5e8e8b0eddd4041642f89d06deff85511e40
2024-02-23 16:47:50 -08:00
Saumya Prakash 4314d726c0 Merge "Fix jump in app launch when quick switching from Home" into main 2024-02-24 00:06:43 +00:00
William Leshner 0c2b98e876 Merge "Tweak WidgetPickerActivity size filtering." into main 2024-02-23 23:22:16 +00:00
Saumya Prakash b3b4cc6edb Merge "Ensure taskbar insets for camera cutout only apply on the needed sides" into main 2024-02-23 22:59:57 +00:00
Fengjiang Li e52fee8b8f Opt-in predicitive back before register the back button
The predictive back infra checks the opt-in status when a callback is registered, and drops the registration if the Application / Activity is not opted-in

Fix: 326627953
Test: manual
Flag: ACONFIG launcher.enable_predictive_back_gesture DISABLED
Change-Id: I8f2e2378d0bf966b3784cf08c12045509b6d5682
2024-02-23 14:58:55 -08:00
Treehugger Robot d7161bf6ff Merge "Enforce parent outline for widgets" into main 2024-02-23 21:56:06 +00:00
Jeremy Sim 4e22c4463d Merge "Fix app pair launches with certain apps" into main 2024-02-23 21:56:05 +00:00
Johannes Gallmann 7f1df14cf3 Merge "Use STANDARD_DECELERATE interpolator for predictive back to home" into main 2024-02-23 21:41:54 +00:00
Johannes Gallmann 1a9cff800f Merge "Transfer coordinate into new Rect instead of in-place" into main 2024-02-23 21:20:24 +00:00
Saumya Prakash 5983ac77d8 Fix jump in app launch when quick switching from Home
This change addresses a recent regression that caused quick switch to not scale up to full screen during the launch animation.

Fix: 326625526
Test: Launch quick switch from home and ensure it is a smooth transition
Flag: N/A
Change-Id: Id94d5d3eae0625225f880897e1e5f3cf9e4fea6c
2024-02-23 20:13:18 +00:00
Schneider Victor-tulias bdc846448c Merge "Update KQS launch task callbacks" into main 2024-02-23 19:54:44 +00:00