Commit Graph

79811 Commits

Author SHA1 Message Date
MrSluffy
6ec7638260 enh : update constant shift value
- fixes missing web search tile
2025-01-15 15:13:21 +08:00
MrSluffy
dc9adb7a12 enh : add DISPLAY_DRAWER_FOLDER in condition 2025-01-15 13:51:19 +08:00
John Andrew Camu
448d718e6a feat : Initial implementation Caddy (#5166)
- Introduced "Caddy" functionality to organize apps within the app drawer.
- Allows grouping of applications for better accessibility and user experience.
- Serves as a foundational feature for enhancing app drawer usability.
2025-01-15 13:01:51 +08:00
renovate[bot]
f96ffc9cd4 Update plugin com.diffplug.spotless to v7.0.2 (#5165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-15 07:04:58 +08:00
renovate[bot]
a9f6c56632 Update plugin com.diffplug.spotless to v7.0.1 (#5142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-15 06:51:04 +08:00
MrSluffy
2314313216 enh : show debug warning on nightly release 2025-01-14 12:25:21 +08:00
MrSluffy
151365f4b2 enh : allapps search alignment 2025-01-13 14:09:15 +08:00
renovate[bot]
44b457aec8 Update AGP to v8.8.0 (#5151)
* Update AGP to v8.8.0

* Delete ScreenshotRequest.aidl

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2025-01-12 01:49:28 +00:00
Lawnchair Bot
847c2e33ee New Crowdin translations by GitHub Action (#5156)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-01-12 03:57:03 +03:30
SuperDragonXD
4c241adb9b Improve launcher pop-up settings UX
- Migrate legacy preferences
- Improve code for disabling unavailable items
- Allow toggling wallpaper carousel
2025-01-11 16:08:45 +08:00
MrSluffy
265e8596cd enh : animate all apps padding width
- closes : #5154
2025-01-11 14:04:50 +08:00
MrSluffy
5ae811d44d enh : tweak all apps search bar 2025-01-10 16:37:54 +08:00
MrSluffy
e154c33da9 enh : refactor carousel imp 2025-01-10 12:14:16 +08:00
MrSluffy
f5fdbdb954 enh : tweak carousel wallpie transition 2025-01-10 11:09:05 +08:00
renovate[bot]
45fc0c0120 Update dependency com.google.dagger:hilt-compiler to v2.55 (#5153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 09:35:56 +08:00
MrSluffy
28a01a979e enable ENABLE_WIDGET_HOST_IN_BACKGROUND by default 2025-01-10 08:07:30 +08:00
MrSluffy
7a822b0ce5 enh : don't show carousel in smartspace/atglance
- tweak ui enhancement
- closes : #5152
2025-01-10 07:51:02 +08:00
MrSluffy
edd2e9b231 enh : avoid unnecessary image saving 2025-01-09 17:35:50 +08:00
MrSluffy
80fbd9b2de fixedup : clean up carousel view 2025-01-09 16:38:39 +08:00
MrSluffy
042ee8cdea fixed pop-up disappear when lock home enable
- closes : #5145
2025-01-09 14:50:10 +08:00
MrSluffy
b54621fbd5 fixup : pop-up wallpie carousel orientation support 2025-01-09 14:35:51 +08:00
MrSluffy
ff73a51817 fixup : pop-up wallpaper carousel
- fixed item duplication
2025-01-09 14:05:41 +08:00
renovate[bot]
343703f1f5 Update protocVersion to v4.29.3 (#5147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 06:43:31 +08:00
Pun Butrach
e207787df5 Fix translation (#5144) 2025-01-09 06:42:22 +08:00
John Andrew Camu
3a1e1389a2 feat : wallpaper pop-up carousel (#5143) 2025-01-08 19:04:28 +08:00
Zongle Wang
a463fe905a Tweak Ktlint rules (#5141)
* Revert "Fix style"

This reverts commit 7a4d119afa.

* Revert "Spotless 7.0.0"

This reverts commit 3398fce454.

* Tweak rules

* Bump Spotless to 7.0.1

* Reformat again

* Update plugin com.diffplug.spotless to v7.0.1

* Fix by ktlnt cli

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 09:50:43 +00:00
tgex0
2ee7af8ab7 Fix style in SettingInfo (#5140)
Co-authored-by: Zongle Wang <wangzongler@gmail.com>
2025-01-08 17:38:14 +08:00
Goooler
7a4d119afa Fix style 2025-01-08 13:16:24 +08:00
MrSluffy
06689bf0dd fix appdrawer bg color updates during state changes 2025-01-07 18:13:57 +08:00
renovate[bot]
3398fce454 Spotless 7.0.0 (#5138)
* Update plugin com.diffplug.spotless to v7

* Fix styles

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2025-01-07 06:42:29 +00:00
MrSluffy
66928cc74d feat : App drawer color 2025-01-07 14:29:00 +08:00
MrSluffy
134c2193d2 feat : hotseat bg configuration
- bg transparency, color
2025-01-07 13:31:11 +08:00
renovate[bot]
cd562b9319 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0 (#5137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 10:38:12 +08:00
SuperDragonXD
4b0868fdb7 Improve dock background units
- Rename insets to margin
- Change step to something reasonable (5%) - we don't need that much precision
2025-01-05 10:17:24 +08:00
SuperDragonXD
ad1104d107 Refactor search bar settings
- Centralize search bar settings to one screen
- Create two-tab layout
- Tweak main switch preference style
- Move search files to folder
2025-01-05 10:17:19 +08:00
SuperDragonXD
c2665df04f Allow re-arranging popup menu items (#5112)
* feat: Allow re-arranging popup menu items

* Refactor draggable preferences

* Refactor options pop-up drag and drop view

- Move to new screen
- Separate preview and options
2025-01-05 08:30:36 +08:00
Lawnchair Bot
31ff15488a New Crowdin translations by GitHub Action (#5133)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-01-05 03:56:11 +03:30
MrSluffy
38934f824f feat : Adjust page-indicator height to space workspace and hotseat
closes : #4836
2025-01-03 13:17:19 +08:00
MrSluffy
24ba4752ce reload icons upon reset 2025-01-03 08:14:08 +08:00
MrSluffy
bd119f5b4b fixed saved scroll position 2025-01-03 08:05:49 +08:00
MrSluffy
1e9b73707d feat : implementation pause apps 2025-01-01 14:45:23 +08:00
MrSluffy
8b35a95523 Disable themed icons by default
- Themed icons are now disabled by default since most users do not have a third-party themed icon pack installed by default.
2025-01-01 10:47:19 +08:00
MrSluffy
b684505009 fixed 3p themed icons not applying
- closes : #4799
- closes : #4752
- closes : #4267
- closes : #4248
- closes : #4179
- closes : #4157
- closes : #3960
- closes : #3943
- closes : #3408
- closes : #2882
2025-01-01 09:56:15 +08:00
MrSluffy
31dfcc8fe6 fixed style 2024-12-30 12:59:30 +08:00
MrSluffy
eb536c182b fixed adaptive-icon not applying 2024-12-30 12:07:17 +08:00
MrSluffy
aa8dd44d6a Fix widget configuration for two-step process
- closes : #5124

Bug: java.lang.IllegalArgumentException: Bad widget id 2367
2024-12-30 08:32:28 +08:00
Pun Butrach
45c8552319 Reimplement catch RemoteAnimationTarget.rotationChange (#5126)
* Update QuickstepTransitionManager.java

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

* Update AbsSwipeUpHandler.java

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

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2024-12-30 03:56:18 +08:00
Lawnchair Bot
5421b45235 New Crowdin translations by GitHub Action (#5123)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-12-29 03:56:35 +03:30
MrSluffy
4ad2e73075 Fix NullPointerException in WidgetSizes.updateWidgetSizeRangesAsync
This commit addresses a NullPointerException that occurs when updating
widget options in the WidgetSizes class. The fix includes:

- Adding null checks for sizeOptions and currentOptions
- Comparing new sizes with current sizes before updating
- Catching and logging exceptions during widget option updates
- Returning null from getWidgetSizeOptions if it fails to create a valid Bundle

These changes should resolve the "Attempt to invoke virtual method 'void
android.os.Bundle.putAll(android.os.Bundle)' on a null object reference" error
and improve the robustness of widget size updates.

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Bundle.putAll(android.os.Bundle)' on a null object reference
at android.os.Parcel.createExceptionOrNull(Parcel.java:3075)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.updateAppWidgetOptions(IAppWidgetService.java:1017)
at android.appwidget.AppWidgetManager.updateAppWidgetOptions(AppWidgetManager.java:727)
at com.android.launcher3.widget.util.WidgetSizes.lambda$updateWidgetSizeRangesAsync$0(Unknown Source:31)
at com.android.launcher3.widget.util.WidgetSizes.a(Unknown Source:0)
at ba.a.run(Unknown Source:10)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.appwidget.AppWidgetServiceImpl.updateAppWidgetOptions(AppWidgetServiceImpl.java:2193)
at com.android.internal.appwidget.IAppWidgetService$Stub.onTransact(IAppWidgetService.java:500)
at android.os.Binder.execTransactInternal(Binder.java:1375)
at android.os.Binder.execTransact(Binder.java:1311)
2024-12-28 09:31:58 +08:00
MrSluffy
d401ba32fd Fix widget-related crash in LauncherWidgetHolder
- Adding null checks before calling methods on mWidgetHost
- Ensuring the listening flag is always updated, even if an exception occurs

This should resolve the "java.lang.NullPointerException: Attempt to read from
field 'com.android.server.appwidget.AppWidgetServiceImpl$ProviderId'" error
and improve overall stability when dealing with widgets

error: Uncaught exception

java.lang.RuntimeException: Unable to stop activity {app.lawnchair.nightly/app.lawnchair.LawnchairLauncher}: java.lang.NullPointerException: Attempt to read from field 'com.android.server.appwidget.AppWidgetServiceImpl$ProviderId com.android.server.appwidget.AppWidgetServiceImpl$Provider.id' on a null object reference in method 'android.util.SparseArray com.android.server.appwidget.AppWidgetServiceImpl$Host.getWidgetUids()'
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5484)
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:5456)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:5525)
at android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:43)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2423)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:334)
at android.app.ActivityThread.main(ActivityThread.java:8348)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1065)
Caused by: java.lang.NullPointerException: Attempt to read from field 'com.android.server.appwidget.AppWidgetServiceImpl$ProviderId com.android.server.appwidget.AppWidgetServiceImpl$Provider.id' on a null object reference in method 'android.util.SparseArray com.android.server.appwidget.AppWidgetServiceImpl$Host.getWidgetUids()'
at android.os.Parcel.createExceptionOrNull(Parcel.java:2446)
at android.os.Parcel.createException(Parcel.java:2424)
at android.os.Parcel.readException(Parcel.java:2407)
at android.os.Parcel.readException(Parcel.java:2349)
at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.stopListening(IAppWidgetService.java:792)
at android.appwidget.AppWidgetHost.stopListening(AppWidgetHost.java:274)
at com.android.launcher3.widget.LauncherWidgetHolder.stopListening(Unknown Source:2)
at com.android.launcher3.widget.LauncherWidgetHolder.setShouldListenFlag(Unknown Source:40)
at com.android.launcher3.widget.LauncherWidgetHolder.setActivityStarted(Unknown Source:1)
at com.android.launcher3.Launcher.onStop(Unknown Source:25)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1496)
at android.app.Activity.performStop(Activity.java:8599)
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5476)
... 14 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.appwidget.AppWidgetServiceImpl$Host.getWidgetUids(AppWidgetServiceImpl.java:4444)
at com.android.server.appwidget.AppWidgetServiceImpl.stopListening(AppWidgetServiceImpl.java:866)
at com.android.internal.appwidget.IAppWidgetService$Stub.onTransact(IAppWidgetService.java:311)
at android.os.Binder.execTransactInternal(Binder.java:1179)
at android.os.Binder.execTransact(Binder.java:1143)
2024-12-28 09:24:35 +08:00