Commit Graph

20581 Commits

Author SHA1 Message Date
Pun Butrach 3affe5afba chore: Ready notification dot lawnchair variant in BTV
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:47 +07:00
Pun Butrach 78043cfc48 fix: Icon not responding to mouse cursor
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:47 +07:00
Pun Butrach ae31153cf9 chore: Revert internal change from 16-dev
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach 309c58ca61 chore: Log IDP for debug
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach c29dcf89b2 fix: Crashing on Android 14 with strict export restriction
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach 864458f326 chore: Log device profile configuration for debug
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach 99a3b91073 Improve Private Space implementation on A15
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach 18a63ffbf7 fix: Private Space crashes on first workspace launch
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach fc6b3e67ee Migration LC15 BaseDraggingActivity -> LC16 BaseActivity
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:43 +07:00
Pun Butrach 646151d871 Partially add IDP, LAP to base instance
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach 7366890c84 Fix init problem again
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach b42904a5d3 Play vibration if MSDL is enabled for locked workspace
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach 77994b0bb5 Use Lawnchair DPO, remove Trace
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach 4f1e9f2d2a Reimplement Hotseat background
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach daf6557f8c Fix init problems on initGrid
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach 951af05ae3 Fix Popup Arrow not being consistent with theming
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach 31d7cd60f7 Enable responsive workspace flag and more m3e flags
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach 5973434dcd Revert to Launcher3 method
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach 2c8110ef77 Restore some iconpack customisation
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach 1d49f08612 Fix safe mode again
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach 89ed5f3e5a Fix Safe mode check impl of ActivityContext
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach 76a8131262 Fix predictiveBack NSME
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach bfb2be39eb Fix bugs with A16/A15 devices
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach b67168f737 Allocate insane memory just for CI
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:44 +07:00
Pun Butrach dd4a08be61 Merge tag 'android-16.0.0_r3' into 16-dev
Android 16.0.0 Release 3 (BP3A.250905.014)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:04 +07:00
SuperDragonXD b2068eaaf1 fix: Bring back icon badges for work profile 2025-12-24 09:09:19 +08:00
Abhishek Sharma 8c36c72efc feat: Add option to clear home screen in settings (#6125)
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2025-12-20 05:56:30 +08:00
Pun Butrach f831a3bf4e fix: Ignore generatedPreviews flags on Vanilla Ice Cream and above
This is always enabled on correct AOSP implementations, crashes should be handled by OEM
2025-12-05 22:51:06 +07:00
ELY M. 736e6c85d6 feat: Support infinite scroll on home screen (#5807)
* scrolling

* removed logging from the scrolling part in pagedview

* added toggle for infinite scrolling

* strings

* scrolling preferences moved

* string fix
2025-12-03 09:54:40 +07:00
Clément Gayot fb845d1460 fix: Revert "Align widget padding to icons" (#6135) 2025-12-01 06:15:44 +08:00
MrSluffy 1bb5878457 feat(deck): app categorization to folders using flowerpot
- Categorize apps using flowerpot and organize into folders
- Add blocking loading dialog during categorization process
- Prevent user cancellation during workspace setup
- Auto-add newly installed apps to appropriate folders

- closes : #5846
2025-11-16 11:55:24 +08:00
Pun Butrach bc6d92f454 fix: Window Insets crashes on less than Android 11 (#6060)
* fix: Window Insets crashes on less than Android 11

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

* Apply suggestion from @validcube

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-11-10 05:38:13 +08:00
Pun Butrach 5a863fb700 fix: Shortcut get disabled reason crashes on Android 8.1 (#6061)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-11-10 05:37:13 +08:00
SuperDragonXD dd786afa4b fix(allapps): Hide app drawer folders in work/private profiles (#6002)
Prevents app drawer folders from being displayed within the work or private space profiles to avoid state complexity.
2025-10-20 15:21:33 +08:00
MrSluffy 11a4b09680 fixed: all app icons changes too when home icons is > 120
- Closes : #5943
2025-10-12 17:00:20 +08:00
Chaikew 5635846e0d feat(ui): Add toggle to disable search bar background in app drawer (#5934)
* feat(ui): Add toggle to disable search bar background in app drawer

* Fix double opacity on the Search Bar's background

- Before, the Search Bar added another -possibly transparent- layer on top of the already existing app drawer background.
- This adds a toggle to disable the double-opacity
- It is made so it is non regressive

Fixes #4158

* style(strings): Fixed inconsistency
2025-10-09 15:09:47 +08:00
Himanshu Garg a2545ee91e Fix app drawer icon scaling when home screen icons are resized (#5932)
* Fix foldable device layout issue on Pixel 9 Pro Fold

- Enable two-panel layout for all multi-display devices (foldables)
- Previously required both isTablet && isMultiDisplay conditions
- Foldable devices may not meet 600dp tablet width threshold when unfolded
- This ensures proper layout utilization of available screen space

Fixes #5920

* Fix app drawer icon scaling when home screen icons are resized

- Prevent home screen icon scale from affecting app drawer layout
- When mIsScalableGrid is true, use separate scaling for app drawer elements
- This fixes the 'zoomed out' appearance in app drawer when home screen
  icons are scaled to 120% or higher
- App drawer now maintains independent sizing from home screen

Fixes #5912

* Remove code comments from fixes

- Clean up code by removing explanatory comments
- Keep changes minimal and focused
2025-10-08 14:30:56 +08:00
Pun Butrach 6b04c12f4b fix: Icon not responding to mouse cursor [Backport 354b64b] (#5895)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-10-02 16:32:34 +08:00
Berke Emin Kabagöz cb8b206a50 Fix android 14 crashes (#5620) 2025-09-28 09:21:02 +08:00
MrSluffy e4d8d3c0c0 fixed : add retry count mechanism for widget configuration
- closes : #5765
- closes : #5764
- closes : #5534
- closes : #5505
- closes : #4533
2025-09-06 15:31:16 +08:00
SuperDragonXD bac85d2915 refactor(permissions): Unify file and media permission handling (#5683)
This commit completes the work started in the search refactor by migrating all remaining legacy file/media permission checks to the new, centralized `FileAccessManager`.

Previously, features like the wallpaper preview and backup system used the side-effect based permission model that created a poor user experience, especially on modern Android versions.

This change unifies all file and media access logic under the new, observable `StateFlow`-based system. This includes:

- Refactoring the wallpaper drawable access logic to correctly handle the various states of media permissions on Android 13+. This is disabled by default on Play Store builds, due to lack of `MANAGE_EXTERNAL_STORAGE` permission.
- Updating the backup/restore system to use the new manager.
- Updating the blur wallpaper feature to use the new manager.
- Migrating the OTA update check to use the new manager.
- Replacing the "Notification Dots" permission bottom sheet with the new, simpler `PermissionDialog` for UI consistency.

Credit-to: @lebao3105 for the initial analysis of the wallpaper permission issue.

Fixes #5632
Fixes #5676
2025-07-30 12:43:37 +08:00
SuperDragonXD 64f0d29671 feat(search): refactor search settings UI
TODO: improve permission handling for other parts of the UI
2025-07-29 17:55:41 +08:00
SuperDragonXD 47cce0d7a3 feat(search): improve empty search results UX 2025-07-29 17:55:41 +08:00
Federico Baron df328e5dfa Add logs and prevent collissions when adding items
-AddWorkspaceItemsTask can add multiple items to the same position, we
avoid that here by adding each item to the database before processing
the next item.
-We add more logs to InstallSessionHelper to be able to check who the
installer is

Bug: 432237485, 425754534
Test: AddWorkspaceItemsTaskTest
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4b439e999734852a017ce662543b4789b36e0e3b)
Merged-In: I2d238f3eb27734ab9cb723e2fe9d6752c5921dd1
Change-Id: I2d238f3eb27734ab9cb723e2fe9d6752c5921dd1
2025-07-27 22:00:10 -07:00
SuperDragonXD ff8c5a827b Don't remove icons when dragging apps from app drawer folders
Fixes #5374
2025-07-16 17:35:50 +08:00
Sebastian Franco 346f5d7890 Actually updating the LayoutParams in the LauncherPreview
When cleaning the code for ag/34436200 I accidentally removed
the fixing line which was removing the old setLayoutParams
for the new one.

Fix: 431696619
Fix: 429081966
Test: Manul test
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fa233150bace5dc6a23272301065d0b35080c215)
Merged-In: I2cca194064b30a61eeacb6a376989c71b3522e87
Change-Id: I2cca194064b30a61eeacb6a376989c71b3522e87
2025-07-15 19:57:54 -07:00
Brandon Dayauon ff0e4ec6bb Log event when windowInsetsController is null
Set up ww logging for this case.

bug: 425502603
Test: presubmit and made sure its loggable by setting null
Flag: EXEMPT adding log for ww
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:32ac0c244589cedd65320d68c0c7bcbe3f5939f1)
Merged-In: I800bfc4c902bbdedee770507624b7628489ccc3b
Change-Id: I800bfc4c902bbdedee770507624b7628489ccc3b
2025-07-15 19:57:45 -07:00
Pun Butrach 2fcaf0a5ec Don't call setAccessibilityPaneTitle when device is not at least Android 9 (#5603)
* Update WidgetsTwoPaneSheet.java

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

* Update PopupContainerWithArrow.java

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

* Update SplitInstructionsView.java

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

* Update TaskbarView.java

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

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-14 14:19:58 +08:00
Sebastian Franco d24bc7c690 Centering preview view using gravity Center
We didn't bother to center the view because it just one view that
matches the parent view, the problem is that the peview view is
bigger than it's parent, this is by design so that the preview
matches the full screen and looks the same as the real Launcher.
We then scale the preview view to match the visualization space.

The problem is that the logic that position a view in FrameLayot
doesn't account for children views bigger than itself so in
RTL the view is not "centered" or it doesn't start where we expect
it to start. By using gravity = CENTER it does account correclty
for bigger views.

Fix: 429081966
Test: GridPreviewTest
Flag: EXEMPT bug fix
(cherry picked from commit 6624691c50b29dabb706e52d5bd09d88b257015b)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e5e32f0ef771417b9bf29a71d6d7fd7b47067dd1)
Merged-In: I1e75087ca68dd3180b0a9f11d9403eafb892391a
Change-Id: I1e75087ca68dd3180b0a9f11d9403eafb892391a
2025-07-11 17:35:23 -07:00
Federico Baron 361f5a435b Prevent LoaderTask from running during setup wizard
This was causing a bug where simple mode would trigger loadertask to
run, which then led to other errors since it ran prematurely

Bug: 417395120
Test: Manual
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c98d20425bf1c4e5d3a1935f11802a16e2d0aa6f)
Merged-In: Ib73e3d7849c5b3d887cbca0fbc8a386ed553f751
Change-Id: Ib73e3d7849c5b3d887cbca0fbc8a386ed553f751
2025-07-09 19:28:23 -07:00