Commit Graph
87505 Commits
Author SHA1 Message Date
Treehugger Robot 254ba3092e Merge "Handle cancelled All Apps transitions." into main 2024-12-16 19:33:00 -08:00
MrSluffy 9d387bb310 fixed NPE's below R when close folder 2024-12-17 10:22:06 +08:00
renovate[bot] 1cd20b1243 Update dependency com.airbnb.android:lottie to v6.6.2 (#5093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-17 10:16:10 +08:00
Bill Yi 62ca42caa6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1281d2102a0680883a4d15b04163e3e246315ce4
2024-12-16 17:45:40 -08:00
minch 7fc34db11b Let getOffsetToDismissedTask not rely on taskCount
This is a preparation to migrate TaskViews iteration that
rely `getTaskViewCount` to the `TaskViewsIterable` and
`TaskViewsIterator`.

Flag: EXEMPT as no functionality changes
Bug: 379942019
Test: Tested on tangor with `adb shell wm density 480` to simulate
      phone layout, and verified overview layout is correct in
      scenarios below:
      1. Dismiss the first TaskView
      2. Dismiss the last TaskView
      3. Dismiss a TaskView in the middle
      4. Click `ClearAll` button to dismiss all the TaskViews
Change-Id: Icbaf1ea706906097fc6ac60ad3e2ab17d2781284
2024-12-16 23:39:24 +00:00
MrSluffy 5dc8be9206 fixed custom pop up not closing
- closes : #5092
2024-12-17 07:30:35 +08:00
mpodolian 5391e14c3e Added an onClick listener to the bubble bar.
Previously, clicks were not handled because no listener was set on the
bubble bar.

Fixes: 383622825
Test: Manual. Ensure bubbles are on the home screen and set the
navigation mode to 3-button navigation. Click on the collapsed bubble
bar and observe the bar expanding.
Flag: com.android.wm.shell.enable_bubble_bar

Change-Id: I99e1c20e40a9dd9da97b68817734c8ca1f656baa
2024-12-16 15:16:15 -08:00
Charlie Anderson 3eec1895ed Prevent bad grid configuration by making sure RestoreDbTask updates IDP correctly.
IPD#reset() was resetting the internal IDP dbFile to the factory default instead of current grid/db

This lead to LoaderTask and grid migration creating an empty DB for the wrong grid size, while the restored DB remained unused. Leading to an empty home screen because an empty DB file was used.

Bug: 377510898
Flag: EXEMPT bugfix
Test: manually testing backup & restore with various grid sizes
Change-Id: I709201e484afb8f12a4fde21198d2c5793d89ca1
2024-12-16 14:39:41 -08:00
Brandon Dayauon 9f481bb2ea Merge "Fix swipe up to home gesture when entering scheduler page" into main 2024-12-16 13:07:04 -08:00
Liran Binyamin 6592d90003 Merge "Fix bar visibility after dismissing while stashed" into main 2024-12-16 10:05:39 -08:00
Treehugger Robot eeebf0111b Merge "Don't allow drag n drops to auto-switch pages during accessibility item moves." into main 2024-12-16 09:36:34 -08:00
Saumya Prakash 54c6cf7c38 Close the multi instance menu when other things open
This change ensures that if open, the Taskbar multi instance menu will close when
another long press app menu is launched, when a folder is opened, or
when Taskbar all apps is opened.

Fix: 383510315
Test: Open Taskbar multi instance menu and ensure it closes when other
views are opening (Taskbar all apps, a folder, and app long press menu)
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar

Change-Id: Id2d64c86a76978af8db56d3a083dc79a677a1a5d
2024-12-16 08:54:42 -08:00
Johannes Gallmann c812907eb8 Merge "Add blur effect to predictive back-to-home animation" into main 2024-12-16 05:50:34 -08:00
Gustav Sennton c66964125c Merge "Revert "Open Task into Desktop Mode when Taksbar is in DesktopMode"" into main 2024-12-16 05:42:38 -08:00
MrSluffy c0bda4bd8e fixed crash when feed is not install 2024-12-16 16:17:26 +08:00
MrSluffy 5a70fffc2a feat : add support neo feed for custom feed
- closes : #4723
- closes : #4134
- closes : #4239
- closes : #4201
2024-12-16 15:41:57 +08:00
MrSluffy 91ed72f801 fix const value in bitwise shift for TYPE_COMPOSE_VIEW 2024-12-16 13:54:43 +08:00
MrSluffy c61dadd732 fixed disappearing folder app in folder to home 2024-12-16 13:49:39 +08:00
Pun Butrach a35070d8ad Use provided text and colour for widget add button (#5089)
* Use provided colour for widget add button

LC: Allow customisability to the Add Button
LC-Test: Press on any Widget on the Widget sheet

Tested: https://drive.google.com/drive/folders/19UkQPAbeLtg4sYUGXolCb8I7eYQfpU_Z?usp=sharing
Signed-off-by: validcube <pun.butrach@gmail.com>

* Remove slotPlateColor from ColorTokens.kt

---------

Signed-off-by: validcube <pun.butrach@gmail.com>
2024-12-15 19:49:27 +08:00
MrSluffy 6b5e912e10 enhancement folder related issues
- Closing from app to home where weird artifacts shown
- Duplicated icon after adding new icon in the folder
- Stuck icon when moving from app to home

closes the following
- #5084
- #5081
- #5074
2024-12-15 17:20:02 +08:00
MrSluffy 14f7ff52ee supports custom font for common styles 2024-12-15 15:34:03 +08:00
Lawnchair BotandCrowdin Bot 28106e60ca New Crowdin translations by GitHub Action (#5087)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-12-15 03:54:44 +03:30
MrSluffy 2c5cc568be Update IconShape usage to use INSTANCE for context-aware method call 2024-12-14 16:19:03 +08:00
MrSluffy 1db4bb0ee2 fixed masking when closing apps
1. Set icon pack
2. apps to home

closes : #5080
2024-12-14 16:03:05 +08:00
Xin Li 31814b7513 [automerger skipped] Merge "Merge 24Q4 into AOSP main" into main am: 848a909f3d -s ours am: 1ea0b3a66f -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I682485435029f912f4ca9d45880c31f1e255c6fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 22:03:24 -08:00
Xin Li dbddac3522 [automerger skipped] Merge 24Q4 into AOSP main am: 078f13fca8 -s ours am: 829423919d -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: Ib02d0fae559af1a35335673f4a8a5919a2b2487f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 22:03:19 -08:00
Xin Li 1ea0b3a66f [automerger skipped] Merge "Merge 24Q4 into AOSP main" into main am: 848a909f3d -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I2c39ed933c0eb46e91a59099edc6e030f7abfe08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:18:34 -08:00
Xin Li 829423919d [automerger skipped] Merge 24Q4 into AOSP main am: 078f13fca8 -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I0c880bb1ff134d6960bdc501465a04edf6403b19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:18:31 -08:00
Andy Wickham f6850bd4f2 Handle cancelled All Apps transitions.
Previously if this was cancelled mid-animation, the background
panel could get stuck on the screen.

To reproduce this consistently, I automatically cancelled the
animation 50ms after it started. Here's how that looked:
 - Before: https://drive.google.com/file/d/1tiW7mFehk3of-qYe1_HBZSmJLjU4VVmv/view?usp=drive_link&resourcekey=0-tH7YccjcNuXe8qKaL_8H2w
 - After: https://drive.google.com/file/d/1XpRy8FusaSZkJTGa7FHhUuqMUHkeI_UA/view?usp=drive_link&resourcekey=0-gvoyXE3puv7lW78kgKLEng

Fix: 383731295
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I9423b75800a002419a56a3fe3f93b2e7350aeaa0
2024-12-13 17:59:32 -08:00
Liran Binyamin 38dc7ef520 Fix bar visibility after dismissing while stashed
When updating the bubble bar visibility, allow it to become visible
if the only hidden bit is the stashed one and we're animating.

This fixes the visibility issue that appears after dismissing the
bar while stashed, and then sending an initial bubble, while still
stashed.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 383620113
Test: manual
       - create bubble
       - launch app
       - dismiss bubble with adb
       - create bubble with adb
       - observe bubble bar is visible during the animation
Change-Id: I7a955de068867829b3ccab11b2b0adc8d8e10239
2024-12-13 20:30:47 -05:00
Mykola Podolian 19e6afa1f6 Merge "Align the adjusted hotseat drop animation with the hotseat" into main 2024-12-13 17:13:30 -08:00
Wen-chien Wang ad0b62daad Merge "pin-shortcut: Add pin shortcut to the context menu" into main 2024-12-13 17:00:42 -08:00
Xin Li 848a909f3d Merge "Merge 24Q4 into AOSP main" into main 2024-12-13 16:57:21 -08:00
Stefan Andonian 0f4e5e974d Don't allow drag n drops to auto-switch pages during accessibility item moves.
Bug: 379798547
Test: Manually tested this on device.
Flag: EXEMPT bug fix
Change-Id: Ic19a0d167525d5500ed1dacd3dcaaa4550b11261
2024-12-13 16:11:08 -08:00
MrSluffy e0f63aa696 only listen on stat clock when it's default recent 2024-12-14 08:00:47 +08:00
ad697f6144 Improve documentation v4 (LC15) (#4973)
* Update information to LC15

* LC15 Screenshot

* Apply suggestion from code-reviewer

Co-authored-by: Zongle Wang <wangzongler@gmail.com>

* Apply suggestion from code-reviewer

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>

* Installation badges and cert hash

* Update Crowdin branch to 15

* Merge Canary and Development

* Update styling of cert hash

* Update compatlib

* Update for Unified SystemUI

* Improve dev build

* Consistency + Update local fonts

* Consistency with ToC

* Fix awkward

* Link to Smartspacer

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* Update visual to LC15

* Merge suggestion from GitHub Copilot Code Review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* Fix typos and grammar in README files (GitHub Copilot Review)

* English Accent Consistency

* Windows Canary Phone Link compression is the worst

* Apply suggestions from code review

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>

* Update release phase, security policy, and versioning

* Update systemUI/README.md

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>

* Update README: Lawnchair 15 alpha to beta

* Use development instead of beta

* Update CONTRIBUTING.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* Give subtle Google Developer Style guidelines

* Update SECURITY.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
Co-authored-by: Zongle Wang <wangzongler@gmail.com>
Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-12-14 06:50:23 +08:00
Wen-Chien Wang 2badfc7ebc pin-shortcut: Add pin shortcut to the context menu
This cl adds the pin shortcut option to the context menu, where
it works on Home launcher, hotseat, and pinned apps on the
taskbar.
Currently the option is a no-op.

Bug: 375648361
Test: Manual. Recording uploaded to buganizer
Flag: com.android.launcher3.enable_pinning_app_with_context_menu
Change-Id: I5d1284a6e909fd75f14e81c3ae713da3cdc01ce3
2024-12-13 22:49:52 +00:00
Treehugger Robot 5849df4002 Merge "[-1] Fix flicker of -1 when swipe up to exit -1 isn't fast enough" into main 2024-12-13 14:02:46 -08:00
Fengjiang Li b8b16bd288 [-1] Fix flicker of -1 when swipe up to exit -1 isn't fast enough
Fix: 381017761
Flag: NONE - released code
Test: manual - record a video
Change-Id: I5bda4a234cdcc8227d4feb9a92a174d07e46f7a2
2024-12-13 12:11:41 -08:00
Treehugger Robot 9b6c58e6a9 Merge "Do not rely on getTaskViewCount to iterate TaskViews" into main 2024-12-13 11:59:41 -08:00
Sebastián Franco 6f3213b260 Merge "Prevent Hotseat jank when switching Fixed Landscape setting" into main 2024-12-13 11:51:46 -08:00
Stefan Andonian 4e3d6a5d6e Merge "Log.wtf if DeleteDropTarget "canRemove", but doesn't remove item from the database." into main 2024-12-13 11:33:34 -08:00
Xin Li 078f13fca8 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909
Change-Id: Ie23029dc17b8bee64cd8bfc9638057dc3d062950
2024-12-13 11:15:20 -08:00
Sebastian Franco f2b9190c64 Adding logs to see what is triggering rotation changes
Bug: 380940677
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: I393232b410a4b961d3cbdd39766a403f994610e7
2024-12-13 11:08:43 -08:00
Sebastián Franco 24e9e55bca Merge "Setting mIsFixedLandscape as the first if condition while fixing 380940677" into main 2024-12-13 11:08:09 -08:00
minch 8cf0df7f96 Do not rely on getTaskViewCount to iterate TaskViews
Using `getChildCount` to iterate TaskViews instead of
`getTaskViewCount` when indices are used. As it is not safe to assume
the TaskView starts from index 0.

Flag: EXEMPT as no functionality changes
Bug: 379942019
Test: Manual
Change-Id: I599b5117f0848e429ebf83fc4b85451e52b4bcab
2024-12-13 10:12:34 -08:00
Treehugger Robot 4d295d0867 Merge "Migrate to TaskViewsIterable & TaskViewsIterator - [2/n]" into main 2024-12-13 09:49:39 -08:00
Charlie Anderson 9a2e3a715b Merge "Add new failsafe to disable new archiving broadcast" into main 2024-12-13 07:33:49 -08:00
Charlie Anderson e18eac02b9 Merge "Fix user for InstallSessionHelperTest HSUM failures" into main 2024-12-13 07:31:23 -08:00
Schneider Victor-tulias 0b9deb2d0d Merge "Update ProtoLogProxy classes to only log to protolog when protolog has been initialized" into main 2024-12-13 06:43:57 -08:00