Commit Graph

39024 Commits

Author SHA1 Message Date
Yasan Ghaffarian
034dd67e0e Fix Crowdin download & upload schedules 2022-09-14 16:40:42 +04:30
SuperDragonXD
339e7d2c71 Replace Discussion and Question templates with...
GitHub Discussions
2022-09-14 19:49:57 +08:00
Yasan Ghaffarian
189632e864 Separate Crowdin upload & download actions
+ Update Crowdin action to 1.4.13 (from 1.4.12)
2022-09-14 15:08:00 +04:30
Yasan Ghaffarian
c644d321ab Only run Crowdin sync on workflow_dispatch 2022-09-14 15:00:47 +04:30
Yasan Ghaffarian
65728621bc Add "Always Reload Icons" experimental feature
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-14 14:25:27 +04:30
Yasan Ghaffarian
66e213b8a3 Always reload icon packs
Only reloads if there is an active icon pack

Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-14 12:12:11 +04:30
Yasan Ghaffarian
13a696ae0f Revert "Automatic icon reload on night mode change (#2930)"
This reverts commit 97d6c852c8.
2022-09-14 12:10:54 +04:30
Crowdin Bot
abc9bfbc2b New Crowdin translations by Github Action 2022-09-13 04:44:26 +00:00
Yasan
8fd839db5c Run crowdin.yml once a week instead of daily 2022-09-13 09:07:55 +04:30
Yasan
c86521d929 Fix auto-merge conditions 2022-09-13 09:04:21 +04:30
Yasan
2d38bcfcdd Add debug step to crowdin_auto_merge.yml 2022-09-13 09:02:53 +04:30
Yasan
8598357d23 Change crowdin_auto_merge.yml trigger to pull_request 2022-09-13 08:37:50 +04:30
Yasan Ghaffarian
15e7577099 Automatically merge Crowdin PRs 2022-09-12 17:36:13 +04:30
Yasan Ghaffarian
2bb4d77d78 Do not upload translations on Crowdin action 2022-09-12 17:21:39 +04:30
Yasan
92499dd460 Allow running build_debug_apk with workflow_call 2022-09-12 11:56:15 +04:30
Yasan Ghaffarian
97d6c852c8 Automatic icon reload on night mode change (#2930)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-09-12 11:43:52 +04:30
github-actions[bot]
672b66c130 New Crowdin translations by Github Action (#2928)
* New Crowdin translations by Github Action

* Update lawnchair/res/values-zh-rCN/strings.xml

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-09-11 23:57:52 +08:00
Yasan
7b9df17287 Create close_low_effort_issues.yml 2022-09-11 19:38:17 +04:30
Yasan
848606d20a Update .gitignore 2022-09-10 09:49:18 +04:30
Crowdin Bot
a03c81abe0 New Crowdin translations by Github Action 2022-09-10 13:06:30 +08:00
Crowdin Bot
245c2ae563 New Crowdin translations by Github Action 2022-09-09 23:14:47 +04:30
SuperDragonXD
69d85a67c2 SwitchPreference: Make switch interactable
Allows the user to toggle `SwitchPreference` by clicking the `Switch` component.
2022-09-09 22:13:49 +08:00
Goooler
ea43f4b6f5 Minify Apk size a bit (#2921)
* Enable R8 fullMode

* No need to keep jetpack libs
https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-main/annotation/annotation/src/main/resources/META-INF/proguard/androidx-annotations.pro

* Add packaging exclude rules
2022-09-09 02:46:07 +08:00
Goooler
504648b654 Add requireSystemService to avoid assertions (#2917)
* Convert RootHelperBackend to Kotlin

* Add requireSystemService to avoid assertions

* Convert OverScrollerCompat to Kotlin

* Revert "Convert RootHelperBackend to Kotlin"

This reverts commit f42d08ad

* Revert "Convert OverScrollerCompat to Kotlin"

This reverts commit d466f8490f.
2022-09-08 14:46:20 +08:00
Yasan
b8c18bc0c0 Run Crowdin action only on the main repository 2022-09-08 11:12:18 +04:30
Goooler
69e241aecf Bump core-ktx to 1.9.0 (#2918)
https://developer.android.com/jetpack/androidx/releases/core#1.9.0
2022-09-08 09:29:00 +08:00
Yasan Ghaffarian
e22eb7fe2f Ignore .vscode/* 2022-09-07 15:34:14 +04:30
Mehdi Afshar
bb801b2553 Custom folder color support 2022-09-07 13:24:47 +04:30
Goooler
f4cf84026a Speed up build a bit (#2913)
* Set lawnWithQuickstep as the default productFlavor

* Disable Jetifier

* Remove obsoleteApi flag

* Add flags
2022-09-07 13:37:05 +08:00
Yasan
e73bc1740c Add project icon to .idea 2022-09-06 21:59:23 +04:30
Crowdin Bot
d0a3edc3b8 New Crowdin translations by Github Action 2022-09-06 15:07:39 +04:30
Yasan
363a70c504 Setup Crowdin sync via GitHub Actions 2022-09-06 15:01:19 +04:30
Goooler
5d8ab7db51 Always publish build scan
Follow up #2903.
2022-09-06 08:42:24 +08:00
Goooler
8263c6feb0 Code cleanups (#2909) 2022-09-06 08:04:08 +08:00
SuperDragonXD
7130b8cc7a Change TopBar.kt to use LargeTopAppBar (#2900)
This squashed commit from the PR originally contains the following commits:
* Change TopBar.kt to use LargeTopAppBar

* `PreferenceScaffold`: Change scroll behavior
Change scroll behavior to use `enterAlwaysScrollBehavior()` instead of `exitUntilCollapsedScrollBehavior()` to fix returning to expanded state issues.

* `TopBar`: Remove custom text weight & fix variable
Remove custom weight on Text() and return topBarSize variable to old value (since it is used in PreferenceSearchScaffold)
2022-09-05 19:13:05 +08:00
Mayur Varde
bf7e4d562c Add uninstall button and it's fixes (#2840)
* Lawnchair: Add uninstall button to system shortcuts

[ghostrider-reborn] updated for android 12
[marshmello61] adapt for Lawnchair
Change-Id: I005d676d9a98f65296c330e5e13fd0d849df6fe5
Signed-off-by: Adithya <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Mayur <ultramayur123@gmail.com>

* Lawnchair: Fix NPE in SystemShortcut

[marshmello61] adapt for Lawnchair
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Mayur <ultramayur123@gmail.com>

* Lawnchair: Use standard launcher method for uninstalling

[marshmello61] adapt for Lawnchair
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Mayur <ultramayur123@gmail.com>

* Fix PR issues

Co-authored-by: Ali B <abittin@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: Yasan Ghaffarian <y.ghafarian@dariahamrah.ir>
2022-09-05 13:14:22 +04:30
Goooler
08031573ff Cleanup build scripts (#2903)
* No need to apply kotlin in hidden-api

* Remove rxjava2

* Add replaceFrameworkJar back

* Remove unused minify configs

* kotlinx-serialization-json 1.4.0

* material3 1.0.0-beta01

* Coil 2.2.0

* Cleanup CC

* Revert "material3 1.0.0-beta01"

This reverts commit 67f51ffe00.

* Revert "Add replaceFrameworkJar back"

This reverts commit c9edc3b65f.

* Limit CI running on dev branches & PRs

* Cleanup kotlin plugins

* Configure android extensions ini allprojects

* Cleanup

* Configure projects repos in dependencyResolutionManagement

* Remove root namespace

* Bump AGP to 7.3.0-rc01

* Remove empty manifest files

* Apply plugins in plugins block

* Remove buildscript

* Enable typesafe project accessors

* Update submodule

* Merge https://github.com/LawnchairLauncher/platform_frameworks_libs_systemui/pull/5

* Bump Gradle Enterprise plugin to 3.11.1

* Add CI ignore rules

* Add renovate.json

* Correct ignore rules for CI

* Enable abortOnError

* Simplify FRAMEWORK_PREBUILTS_DIR

* Remove sdk versions
2022-09-05 09:23:10 +08:00
SuperDragonXD
7a9ec587df PreferenceCategory: Remove bg color on the icons 2022-09-01 15:56:25 +08:00
Goooler
1791555354 Bump opto to 1.0.15 (#2897)
https://github.com/patrykmichalik/opto/issues/2
2022-08-31 12:06:18 +08:00
SuperDragonXD
7ca1ed0f7c Remove duplicate string 2022-08-29 18:28:35 +08:00
SuperDragonXD
ea7181ebf8 Add new icons
Added icons Egg, Diamond, Octagon, and Sharp Square
2022-08-29 17:40:03 +08:00
Yasan
f83e8bd243 Merge pull request #2878 from Goooler/OverlayCallbackImpl
Convert OverlayCallbackImpl to Kotlin
2022-08-28 12:46:48 +04:30
Goooler
3c873a3dd7 NonNull 2022-08-28 16:05:42 +08:00
Goooler
d0fbd9dc70 Add onActivitySaveInstanceState back 2022-08-28 15:58:25 +08:00
Goooler
be1bdf847d Add overrides back 2022-08-28 15:43:01 +08:00
Goooler
146fc04811 Update lawnchair/src/app/lawnchair/nexuslauncher/OverlayCallbackImpl.kt
Co-authored-by: Yasan <yasandev@gmail.com>
2022-08-28 15:33:58 +08:00
SuperDragonXD
ba09ae822e Reorganize parts of settings UI
Organizes "General" settings, add additional strings for "At a Glance" and "Home Screen" settings.
2022-08-27 11:20:11 +04:30
Goooler
d084eddb6c Cleanups 2022-08-25 11:32:44 +08:00
Goooler
31fcfc44b5 Convert OverlayCallbackImpl to Kotlin 2022-08-25 11:08:27 +08:00
Yasan
83f80da766 Update config.yml 2022-08-23 16:01:08 +04:30