Commit Graph

39039 Commits

Author SHA1 Message Date
Goooler e7fe6d4aef Fix crash when clicking Lens icon 2022-09-27 15:13:37 +08:00
Crowdin Bot 24760b1269 New Crowdin translations by Github Action 2022-09-26 05:54:49 +00:00
Goooler 3bf177c1b8 Bump actions/setup-python to v4
https://github.com/actions/setup-python/releases/tag/v4.0.0
https://github.com/actions/setup-python/releases/tag/v4.2.0
2022-09-18 19:17:26 +08:00
Goooler b87b99cfe7 Use String extensions to check empty 2022-09-18 16:22:11 +08:00
Yasan Ghaffarian 20d2acc26c Improve how icons are reloaded when alwaysReloadIcons is enabled
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-18 11:12:28 +04:30
SuperDragonXD 191fe2c9e1 ci.py: Don't send when commit count is 0 2022-09-18 10:11:35 +08:00
Crowdin Bot 934a3d8b1b New Crowdin translations by Github Action 2022-09-18 01:53:52 +00:00
Goooler e8dff943a0 Rearrange allprojects block 2022-09-18 02:56:06 +08:00
Goooler 6757e78cbd Configure android extensions in BasePlugin types
Follow up #2903
2022-09-18 02:48:38 +08:00
Goooler 7c948369b9 Bump AGP to 7.3.0 (#2950)
https://developer.android.com/studio/releases/gradle-plugin#7-3-0
2022-09-16 08:21:02 +08:00
Fox2Code 77c918693d grayscale_icon_map.xml: link OnePlus clock icons (#2948) 2022-09-16 06:33:10 +08:00
SuperDragonXD b56358f28f grayscale_icon_map.xml: also Huwaei's clock 2022-09-15 22:55:08 +08:00
SuperDragonXD b5c5e7bab7 grayscale_icon_map.xml: link oem clock icons
Link clock icons of AOSP Clock, ColorOS Clock, ans Samsung Clock to clock array file.
2022-09-15 22:47:14 +08:00
Yasan Ghaffarian 4bc2137016 Run crowdin_upload.yml on push 2022-09-14 16:49:36 +04:30
Yasan Ghaffarian ebc915da65 Run crowdin_download.yml once a week 2022-09-14 16:49:18 +04:30
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 d466f8490f7b241b2461f7e4f549f842e3afa694.
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