Commit Graph

39156 Commits

Author SHA1 Message Date
SuperDragonXD 798e93ee17 Always show development build warning
Thanks ApkMirror for showing how to enable the debug menu *which is intended for developers and NOT for normal users*
2022-12-25 18:59:16 +08:00
Crowdin Bot 3b8f49f085 New Crowdin translations by Github Action 2022-12-25 03:48:49 +03:30
Yasan 1b13066090 Revert "Add SleepMethodSystem SleepGestureHandler"
This reverts commit db5d280df9.
2022-12-24 10:47:47 +03:30
Goooler ecb25a3379 Bump AGP to 7.4.0-rc02 (#3206)
Follow up 4b789cd5d3.
2022-12-22 09:01:03 +08:00
Yasan 222fde96e9 Bump Compose Material 3 to 1.1.0-alpha03 2022-12-21 18:22:28 +03:30
SuperDragonXD 362e6a8451 Warn user about using development builds (#3158)
* Warn user about using development builds

Can be disabled by enabling the Debug Menu.

* Implement suggested changes
2022-12-21 18:18:43 +03:30
dependabot[bot] e63712a11d Bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 18:12:06 +03:30
dependabot[bot] 6ad549c79b Bump com.gradle.enterprise from 3.12 to 3.12.1 (#3201)
Bumps com.gradle.enterprise from 3.12 to 3.12.1.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 21:17:24 +08:00
Yasan Ghaffarian db5d280df9 Add SleepMethodSystem SleepGestureHandler 2022-12-19 16:12:36 +03:30
Crowdin Bot aabd4b2162 New Crowdin translations by Github Action 2022-12-18 03:49:11 +03:30
Goooler 4b789cd5d3 Bump AGP to 7.4.0-rc01 (#3178)
https://issuetracker.google.com/issues/262661471

```
OLD: Lawnchair 12.1.0 Dev (55d4f55).apk (signature: V2)
NEW: Lawnchair 12.1.0 Dev (235e22f).apk (signature: V2)

          │            compressed             │           uncompressed
          ├───────────┬───────────┬───────────┼───────────┬───────────┬──────────
 APK      │ old       │ new       │ diff      │ old       │ new       │ diff
──────────┼───────────┼───────────┼───────────┼───────────┼───────────┼──────────
      dex │   4.7 MiB │   4.7 MiB │ -14.4 KiB │  11.3 MiB │  11.3 MiB │ -3.2 KiB
     arsc │   3.5 MiB │   3.5 MiB │       0 B │   3.5 MiB │   3.5 MiB │      0 B
 manifest │   5.5 KiB │   5.5 KiB │      +1 B │  24.3 KiB │  24.3 KiB │      0 B
      res │   1.9 MiB │   1.9 MiB │      -2 B │   3.1 MiB │   3.1 MiB │      0 B
   native │ 994.5 KiB │ 999.2 KiB │  +4.6 KiB │ 980.4 KiB │ 980.4 KiB │      0 B
    asset │  22.5 KiB │  22.5 KiB │     +56 B │  68.7 KiB │  68.7 KiB │    +52 B
    other │     932 B │     988 B │     +56 B │     692 B │     697 B │     +5 B
──────────┼───────────┼───────────┼───────────┼───────────┼───────────┼──────────
    total │  11.1 MiB │  11.1 MiB │  -9.6 KiB │  18.9 MiB │  18.9 MiB │ -3.1 KiB


         │          raw           │                unique
         ├────────┬────────┬──────┼───────┬───────┬──────────────────────
 DEX     │ old    │ new    │ diff │ old   │ new   │ diff
─────────┼────────┼────────┼──────┼───────┼───────┼──────────────────────
   files │      2 │      2 │    0 │       │       │
 strings │  69886 │  69934 │  +48 │ 62197 │ 62312 │ +115 (+5282 -5167)
   types │  19760 │  19933 │ +173 │ 17807 │ 17966 │ +159 (+5265 -5106)
 classes │  15917 │  16024 │ +107 │ 15917 │ 16024 │ +107 (+5083 -4976)
 methods │ 103813 │ 103555 │ -258 │ 98416 │ 98246 │ -170 (+40890 -41060)
  fields │  53631 │  53435 │ -196 │ 52854 │ 52694 │ -160 (+19686 -19846)


 ARSC    │ old  │ new  │ diff
─────────┼──────┼──────┼──────
 configs │  350 │  350 │  0
 entries │ 7485 │ 7485 │  0
```
2022-12-16 18:57:48 +08:00
Brian 55d4f55a46 Improve Swahili translation (#3175)
Co-authored-by: AngelofVerdant <brian.kepha.official@gmail.com>
2022-12-15 23:41:14 +08:00
dependabot[bot] 614688ab63 Bump protocVersion from 3.21.11 to 3.21.12 (#3177)
Bumps `protocVersion` from 3.21.11 to 3.21.12.

Updates `protobuf-javalite` from 3.21.11 to 3.21.12

Updates `protoc` from 3.21.11 to 3.21.12
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-javalite
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 23:39:52 +08:00
dependabot[bot] ff852c4eae Bump mockito-core from 4.9.0 to 4.10.0 (#3176)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.9.0...v4.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 23:39:06 +08:00
Brian acfa6615ec Add language support for Dholuo (#3174)
Added Support for a new Language, Dholuo, a native language from Kenya.
Hope to have the Language added to the list on Crowdin and make it easier for my friends and me to translate 🤝

Co-authored-by: AngelofVerdant <brian.kepha.official@gmail.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-12-15 17:35:32 +08:00
dependabot[bot] c75fd3f72d Bump crowdin/github-action from 1.5.1 to 1.5.2 (#3168)
Bumps [crowdin/github-action](https://github.com/crowdin/github-action) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/1.5.1...1.5.2)

---
updated-dependencies:
- dependency-name: crowdin/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 01:16:24 +08:00
Crowdin Bot d1fc5a5350 New Crowdin translations by Github Action 2022-12-11 03:50:15 +03:30
Goooler 5dfc0339a2 Bump GE plugin to 3.12
https://plugins.gradle.org/plugin/com.gradle.enterprise/3.12
2022-12-09 22:26:42 +08:00
Goooler 8880c475fb Use bom to manage Compose versions (#3156)
https://android-developers.googleblog.com/2022/10/whats-new-in-jetpack-compose.html
https://developer.android.com/jetpack/androidx/releases/compose
2022-12-09 22:22:14 +08:00
dependabot[bot] 90642070ca Bump protocVersion from 3.21.10 to 3.21.11 (#3157)
Bumps `protocVersion` from 3.21.10 to 3.21.11.

Updates `protobuf-javalite` from 3.21.10 to 3.21.11

Updates `protoc` from 3.21.10 to 3.21.11
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-javalite
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 21:35:17 +08:00
Naveen c391ddf0d0 Fix to detect older lawnicons version as themed icon pack (#3154)
* Detect old lawnicons where intent is not added

* revert autoformat
2022-12-07 23:17:18 +08:00
Goooler c8d2d96229 Cleanup LawnchairApp 2022-12-07 11:56:35 +03:30
Crowdin Bot 6a1a7a50b8 New Crowdin translations by Github Action 2022-12-05 17:14:46 +03:30
Yasan Ghaffarian 3ee02d4bf9 Set system icon shape's string to "system"
Fixes folder icon shape not matching the system icon
2022-12-04 15:53:18 +03:30
Crowdin Bot 88c2e4eaec New Crowdin translations by Github Action 2022-12-04 03:48:55 +03:30
Yasan 5d323e9e7f Bump Compose to 1.3.1 (from 1.3.0) 2022-12-03 15:57:34 +03:30
dependabot[bot] 2bcd32d086 Bump protocVersion from 3.21.9 to 3.21.10 (#3144)
Bumps `protocVersion` from 3.21.9 to 3.21.10.

Updates `protobuf-javalite` from 3.21.9 to 3.21.10

Updates `protoc` from 3.21.9 to 3.21.10
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.9...v3.21.10)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-javalite
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 23:21:36 +08:00
Crowdin Bot 66b0ecab1d New Crowdin translations by Github Action 2022-11-30 11:56:12 +03:30
Yasan 3ad39d88bb Use system icon shape as default icon shape instead of circle 2022-11-29 18:09:27 +03:30
Yasan 4d6e74742d Fix mWorkspaceSearchContainer's value
Fixes crash when Lawnchair previews are created
2022-11-29 15:32:45 +03:30
Goooler 67f936b528 Bump accompanist to 0.28.0
https://github.com/google/accompanist/releases/tag/v0.28.0
2022-11-29 18:33:09 +08:00
Goooler 6204e8affa More final defs 2022-11-28 00:54:00 +08:00
Goooler 74fa2899a5 Enable stable config cache (#3134)
* Enable stable config cache

https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:stable

* Fix commitHash

https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:external_processes
2022-11-28 00:50:25 +08:00
Goooler 95272645e3 Use Java 19 on CI (#3130)
Follow up 3a75999358
2022-11-25 23:13:32 +08:00
Goooler 3a75999358 Bump Gradle to 7.6
https://docs.gradle.org/7.6/release-notes.html
2022-11-25 22:41:28 +08:00
SuperDragonXD ba4138846a Remove notifications on Telegram private chat 2022-11-25 18:02:12 +08:00
Goooler 2165191f15 Group app list by sectionName before sorting for Simplified Chinese only (#3125)
* Group app list by sectionName before sorting

* For Simplified Chinese only
2022-11-24 14:04:54 +08:00
Goooler bffc62d01b Add GitHub QSB Provider (#3124)
https://github.com/search
2022-11-22 16:44:11 +08:00
Goooler a8000ebd19 Generate launcher_component in productFlavors (#3121) 2022-11-21 10:59:50 +03:30
Naveen e61e43952e Identify theme supported icon pack by intent (#3116)
* Remove hardcoded Icon pack that supports Themed Icons

* Cleanup

* Trim space

* Moved intent value to xml

Moved

* Build ThemedMap from old lawnicon packs

* fix wrong condition

* resync platform module

Co-authored-by: Goooler <wangzongler@gmail.com>
2022-11-20 17:17:52 +03:30
Crowdin Bot 52659111fc New Crowdin translations by Github Action 2022-11-20 03:50:52 +03:30
dependabot[bot] 3ff0672b2b Bump accompanist from 0.27.0 to 0.27.1 (#3117)
Bumps `accompanist_version` from 0.27.0 to 0.27.1.

Updates `accompanist-drawablepainter` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

Updates `accompanist-insets-ui` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

Updates `accompanist-navigation-animation` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

Updates `accompanist-permissions` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

Updates `accompanist-pager` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

Updates `accompanist-placeholder-material` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

Updates `accompanist-systemuicontroller` from 0.27.0 to 0.27.1
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-drawablepainter
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.accompanist:accompanist-insets-ui
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.accompanist:accompanist-navigation-animation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.accompanist:accompanist-permissions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.accompanist:accompanist-pager
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.accompanist:accompanist-placeholder-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.accompanist:accompanist-systemuicontroller
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 10:02:02 +08:00
dependabot[bot] ab9a9d1185 Bump crowdin/github-action from 1.5.0 to 1.5.1 (#3115)
Bumps [crowdin/github-action](https://github.com/crowdin/github-action) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/1.5.0...1.5.1)

---
updated-dependencies:
- dependency-name: crowdin/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 10:03:49 +08:00
dependabot[bot] 1c3c82faee Bump mockito-core from 4.8.1 to 4.9.0 (#3114)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 22:10:59 +08:00
Yasan 89475edf3e Dock widget provider support (#3108)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-11-14 14:57:56 +03:30
Goooler f578bf5286 Set default indent style to space 2022-11-14 09:53:52 +08:00
Goooler 68fe426ac9 Minor cleanups (#3094)
* Cleanup getSystemProperty

* Cleanup fromJsonString

* Cleanup onTrigger

* Cleanup TextUtils usages

* Remove isNotNullOrEmpty

* Cleanup setFormattedContentDescription

* Remove imports

* More

* Tweak

* Inline

* Remove unused `null`

* Remove imports

* Sealed SmartspaceTimeFormat

* Sealed QsbSearchProvider

* Sealed GestureHandlerOption

* Sealed GestureHandler

* Sealed SmartspaceCalendar

* Sealed IconCornerShape

* Sealed BaseBezierPath

* Sealed SleepMethod

* Sealed Font

* Sealed SmartspaceTimeFormat

* Sealed QsbSearchProvider

* Sealed GestureHandlerOption

* Sealed GestureHandler

* Sealed SmartspaceCalendar

* Sealed IconCornerShape

* Sealed BaseBezierPath

* Sealed SleepMethod

* Sealed Font

* No need to open ColorPreferenceEntry

* Sealed BasePreferenceManager

* Sealed WallpaperManagerCompat

* Sealed SmartspaceDataSource

* Sealed IconPack

* Sealed more interfaces

* Declare types

* Migrate LifecycleObserver to DefaultLifecycleObserver

* More Sequences

* Import Button from Compose

* Replace `getAllChildren` with recursiveChildren

* Suppress Lint

* Remove runOnThread

* Cleanup `restartLauncher`

* Remove OptionalUtil

* Fix typo "mutex"

* Supress

* Remove Optional in `appsList`
2022-11-13 11:11:01 +03:30
Naveen 64bc9c232b Fix : Themed icons turn off automatically when dark mode changes (#3099)
* Experimental feature - Transparent Background

* Refactor method name

* Transparent bg fix for clock

* Sync submodule

* resync

* Update lawnchair/res/values/strings.xml

Co-authored-by: Yasan <yasandev@gmail.com>

* Update platform_frameworks_libs_systemui

* Enable Smart hide

* Update lawnchair/src/app/lawnchair/ui/preferences/AppDrawerPreferences.kt

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>

* enableSmartHide only when showHiddenAppsInSearch is disabled

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>

* updated new Layout

* Remove smart hide description

* Rename pref titiles

* Cleanup equals

* Remerge submodule

* Revert "AGP 7.3.1 & KSP 1.0.7"

This reverts commit bb024ef89e.

* clock

* Revert "clock"

This reverts commit 44b4f6d9db4301d86540e37a66681b64a1e2bea3.

* Update platform_frameworks_libs_systemui

* Update lawnchair/src/app/lawnchair/ui/preferences/AppDrawerPreferences.kt

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>

* Rename Title

* Revert changes in build.gradle

* resync platform module

* Hide hideHiddenAppsInSearch when showDrawerSearchBar is disabled

* fix overlap issue

* Hide conf options of Hidden Apps if no hidden apps

* ThemedIcons

* Implementation for wrapping Lawnicons from iconspack

* resync platform ui

* Cleanup

* Cleanup

* Update config.xml

* resync module

* Enable Themed option if any supported package is installed

* Use `any`

* Use `apply`

* Fix auto turn of themed icons when lawnicons is not installed

* resync Fix package name for Lawnicons

* Tweak

Co-authored-by: Goooler <wangzongler@gmail.com>
Co-authored-by: Yasan <yasandev@gmail.com>
Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
2022-11-13 11:06:59 +03:30
Crowdin Bot 9dff6947f9 New Crowdin translations by Github Action 2022-11-13 03:50:07 +03:30
SuperDragonXD bc46b1df00 Bump M3 compose to alpha02 (fix topbar color) 2022-11-12 22:48:20 +08:00