Commit Graph

18840 Commits

Author SHA1 Message Date
Rafael de Moura Dev 795fdb2948 Patch fix for Android 13 and below (#4978)
* Patch fix for Android 13 and below
tested in Android 9, 10 and 13 and works fine.

* fix crash dragging the icons from drawer to home screen

* use LawnchairWindowManagerProxy

---------

Co-authored-by: MrSluffy <werdna.jac@gmail.com>
2024-11-17 09:05:31 +08:00
Pun Butrach b86b188307 Make early stage of Lawnchair 15 launchable in A14 (#4975)
* Make Lawnchair 15 launchable in current state

* Allow LC to change DP without crash
2024-11-07 07:59:35 +08:00
MrSluffy f1d5d58e64 fixed more crashes 2024-11-05 23:13:57 +08:00
MrSluffy 95bf5aef9f fixes crashes 2024-11-05 22:11:23 +08:00
MrSluffy 65c4fe9b32 fixed build 2024-11-03 18:45:48 +08:00
MrSluffy 5081f7e92d fixes more error 2024-11-03 10:04:38 +08:00
MrSluffy c9ae8049a2 Merge branch '14-dev' into merge-aosp15 2024-11-02 10:59:11 +08:00
MrSluffy 2e4a2330d3 fixes more error 2024-11-01 10:19:35 +08:00
Pun Butrach 0db176a1b5 Launch system settings with proper animation (#4932)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2024-10-27 15:12:40 +08:00
Clément Gayot 524824eebd Revert "Align widget padding to icons" (#4879)
This reverts commit 93cb189b40.
2024-10-07 10:05:27 +08:00
MrSluffy f751457b95 update uiunfold 2024-10-06 13:34:50 +08:00
MrSluffy 7036792c9e fixed error 2024-09-21 13:02:25 +08:00
MrSluffy 77e0a795b5 Fix 2024-09-15 08:50:28 +08:00
MrSluffy eeb7416bfe Merge branch 'android15-release' into merge-aosp15 2024-09-14 17:29:57 +08:00
Zongle Wang a5b11e2c54 Make BaseActivity extends ComponentActivity (#4803)
We don't have to maintain ComponentActivity like behaviors in LawnchairLauncher anymore.
2024-09-14 09:26:57 +08:00
SlowNicoFish 7a5174d45f Made show scrollbar setting stick after opening search (#4724)
* Made show scrollbar setting stick after opening search

* Made show scrollbar setting stick after opening search
2024-08-26 22:04:48 +08:00
MrSluffy a96634f975 Fix resetting layout when changing grid
- Closes : #4506
2024-08-18 13:35:18 +08:00
MrSluffy fcef4a6d3e Add option folder background opacity
- Closes : #4522
2024-08-18 13:29:55 +08:00
MrSluffy a8055385bb Fixed null object treference on A10
- Closes : #4553
2024-08-18 12:26:49 +08:00
MrSluffy 93cb189b40 Align widget padding to icons 2024-08-17 09:12:50 +08:00
SuperDragonXD 376c279ed0 Fix horizontal drawer padding
This is a very temporary fix until we actually improve the behavior or responsive grid

Closes #4513
2024-08-06 21:15:32 +08:00
MrSluffy 90ecc23782 Initial implementation wallpaper blur 2024-07-28 18:46:37 +08:00
Alex Chau 912edc94a1 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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c378e64b757dbb83b6024be462a6752bc6a2c5f2)
Merged-In: Ifb78c1bcd3ca215a5d214f986a107d0988bff13b
Change-Id: Ifb78c1bcd3ca215a5d214f986a107d0988bff13b
2024-07-12 03:52:35 +00:00
Brandon Dayauon 5c20085a8c Fix NPE when locking private space in taskbar allapps.
We can just remove the check since isSearchSupported has been launched.

bug: 345648701
Test manually video -
before: https://drive.google.com/file/d/1EwwRXrASusmqVixGWuKGnOQQyiDLE6Yy/view?usp=sharing
after: https://drive.google.com/file/d/1OCvtxzbhRJrBMMM2JH_cOurQ-_BaALSA/view?usp=sharing
Flag: com.android.launcher3.enable_private_space
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e770f10d2a6a047c1ad7b1061f57c388dec4f913)
Merged-In: I0ae19d342556aac4ee0b6e26b4cef8752c0beb38
Change-Id: I0ae19d342556aac4ee0b6e26b4cef8752c0beb38
2024-06-27 03:45:27 +00:00
Schneider Victor-tulias cb2a1474a7 Fix icon flash on app launch
Flag: com.android.launcher3.enable_additional_home_animations
Fixes: 343051344
Test: temp logs, launched apps from home, quickly swiped home while quick switching
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9fb1f8043573d5bc3376f0786354fc8f7a9cf2cd)
Merged-In: I91071d53f753eb7bc99305c46241de203bcfdc98
Change-Id: I91071d53f753eb7bc99305c46241de203bcfdc98
2024-06-27 03:45:11 +00:00
SuperDragonXD 5400863d16 Theme additional Launcher3 components 2024-06-26 20:42:59 +08:00
SuperDragonXD 8b5a81c5e7 Reorganize colorscheme files 2024-06-26 19:10:38 +08:00
Charlie Anderson 35439c0821 Only send new first screen broadcast on first load after restore
Flag: EXEMPT launcher_broadcast_installed_apps
Bug: 322314760
Test: manually tested
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:30a3acc7796850caa6be51b6c46d26d35dfb0b3c)
Merged-In: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
Change-Id: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
2024-06-25 00:27:11 +00:00
SuperDragonXD 9aac523fc4 Reorganize and refactor strings.xml
This commit re-organizes `lawn/`'s `strings.xml` code files for clarity and also adds a simple naming scheme. The strings will probably be renamed soon, since I don't have the time to do all of that
2024-06-22 18:32:17 +08:00
MrSluffy 43a5cc7011 Fixed keyboard disappear on empty search
- Closes : #4095
2024-06-22 15:12:51 +08:00
John Andrew Camu 930d0e6cd7 Add Support for big screen (#4461)
* Initial Support for big screen

* Fixed regressions

* Don't recalculate when device isTablet
2024-06-22 12:58:43 +08:00
Ats Jenk e095945bf1 Merge "Check the feature flag before showing bubbles shortcut widget" into main 2024-06-14 18:14:31 +00:00
Sebastián Franco aaee1ef060 Merge "If the app is archived, do not remove in case of playstore install error" into main 2024-06-14 00:50:39 +00:00
Randy Pfohl 69092b41f6 Merge changes from topic "windowPrototype" into main
* changes:
  Fixing tests related to abstraction
  Abstracting StatefulActivity from StateManager
2024-06-13 22:11:49 +00:00
Andrew Cole f77600260c Merge "Send additional Extras in first screen broadcasts, to help with app archiving." into main 2024-06-13 21:30:26 +00:00
Charlie Anderson 7cc4302f10 Send additional Extras in first screen broadcasts, to help with app archiving.
- refactor FirstScreenBroadcast.java into FirstScreenBroadcastHelper.kt
	- send Extras to include installed/archived items on first screen
	- send Extras to include installed/archived widgets on all screens.
	- truncate items to limit Broadcast size

Bug: 322314760
Test: unit testing and E2E test of B&R
Flag: launcher_broadcast_installed_apps

Change-Id: I214149ac0c63f177d3d1ca0b6d0cb11be37f4ae0
2024-06-13 21:29:50 +00:00
randypfohl 176ce85d27 Abstracting StatefulActivity from StateManager
Flag: NONE - abstraction with no logic changes.

Test: Built and ran locally, for launcher3 and third party launchers

Bug: 224595066

Change-Id: I9da15bdd649d3a20e98c6552bb9e9abaec72f97f
2024-06-13 10:26:12 -07:00
Sebastian Franco 6d200f63ac If the app is archived, do not remove in case of playstore install error
Fix: 339852615
Test: Manual
Flag: com.android.launcher3.enable_support_for_archiving
Change-Id: I675586d20d09f9e025dfe6a74cf7b79ddcb40cc2
2024-06-12 19:47:17 -06:00
Brian Isganitis e54c1462a3 Test TaskbarAllAppsController non-search behavior.
Flag: TEST_ONLY
Bug: 230027385, 346394798
Test: TaskbarAllAppsControllerTest
Change-Id: Id97e1b82cb8fba48687b5e23222e3bba6695ac4c
2024-06-12 23:59:51 +00:00
Treehugger Robot 8a281ff7a6 Merge "Convert ENABLE_FLOATING_SEARCH_BAR to aconfig." into main 2024-06-12 23:50:20 +00:00
Himanshu Gupta cf3a0ef2f0 Merge "Prompting the user to set Pixel/Quickstep as default Home app." into main 2024-06-12 21:13:19 +00:00
Mykola Podolian 590e662d70 Merge "Add outline to the bubble bar background view." into main 2024-06-12 16:46:55 +00:00
Andy Wickham cfafb55331 Convert ENABLE_FLOATING_SEARCH_BAR to aconfig.
Flag: com.android.launcher3.floating_search_bar
Test: Build (existing code unchanged)
Bug: 346408388
Fix: 346406981
Change-Id: Ia8d15ceb1b2b4754657844d602cb95b9555a4ece
2024-06-12 01:24:36 +00:00
Himanshu Gupta 261a62219b Prompting the user to set Pixel/Quickstep as default Home app.
requestQuietMode API throws SecurityException in case its called
from a non-default Launcher app.
To mitigate this, we catch the exception and prompt the user
to set their default launcher to the current app.

Video(Pixel): https://photos.app.goo.gl/ni5X1c6vBbYW2JMJ9
Video(Pixel-aosp): https://photos.app.goo.gl/cYLJpTYW76Jnbonc9

Bug: 320446272
Test: Manual
Flag: NONE Bug fix tweak.
Change-Id: I6afb2ae85cabc038e1503e9c34eebd974c4f7a50
2024-06-11 19:11:21 +01:00
mpodolian 84f9cfabb9 Add outline to the bubble bar background view.
Added outline to the bubble bar background. Updated pointer
appearing/disappearing animation - now pointer moves into the bubble
bar background.
Demo: http://recall/-/gx8ASgewUeUS3QYohfrd1J/e1wZMrFZTILq73ik8wwrwx

Fixes: 345489039
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Test: Manual. Expand and collapse bubble bar with the light and the
dark theme.

Change-Id: I095fdc12337955aa21ee0eb622a924ad424ef186
2024-06-11 19:03:24 +01:00
Pragya Bajoria d8522b7828 Update the flag check for back gesture to include tablet filtering to reduce the scope of desktop windowing logic.
Change-Id: I15edeceebfdc14569c1b98caf62c741b40049200
Bug: 346249587
Flag: EXEMPT (windowing is currently only limited to Tablet)
2024-06-10 19:29:30 +00:00
Liam Lee Pong Lam df709d9aef Merge "[Launcher3] Hide keyboard when fastscroller scrolling down and keyboard shown" into main 2024-06-10 17:40:24 +00:00
MrSluffy dfa7645f2c Add throwable error
- Closes : #4416
2024-06-08 09:02:13 +08:00
Federico Baron 4ebc6777cb Merge "Fix folder animation clipping and RTL issue" into main 2024-06-08 00:22:45 +00:00
Shamali Patwa 7902265f77 Merge "Fix the flaky screenshot test" into main 2024-06-07 23:14:15 +00:00