Commit Graph
39081 Commits
Author SHA1 Message Date
Crowdin Bot 2ab489bd60 New Crowdin translations by Github Action 2022-10-30 03:56:01 +03:30
YasanandDaria Hamrah Paytakht a120490c13 Show custom icon shape before presets
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-10-29 10:13:32 +03:30
dependabot[bot] 47a7e14d16 Bump protocVersion from 3.21.8 to 3.21.9 (#3060)
Bumps `protocVersion` from 3.21.8 to 3.21.9.

Updates `protobuf-javalite` from 3.21.8 to 3.21.9

Updates `protoc` from 3.21.8 to 3.21.9
- [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.8...v3.21.9)

---
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-10-28 09:49:08 +08:00
Goooler 07183a63d8 Catch exceptions when invoking getActiveNotifications (#3057)
```
Fatal Exception: java.lang.SecurityException
Disallowed call from unknown notification listener: android.service.notification.INotificationListener$Stub$Proxy@47a3ede
class android.service.notification.INotificationListener$Stub$Proxy
android.os.Parcel.createException(Parcel.java: 1950)
  android.service.notification.NotificationListenerService.getActiveNotifications(NotificationListenerService.java: 810)
  app.lawnchair.NotificationManager$onNotificationFullRefresh$1.invokeSuspend(NotificationManager.kt: 36)
  kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt: 33)
  kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt: 106)
  kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt: 42)
  kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt: 95)
  kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt: 570)
  kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt: 749)
  kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt: 677)
  kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt: 664)
```
2022-10-26 15:56:46 +08:00
Goooler 69d29a6be1 Revert "Check sIsConnected before canceling notification (#2982)"
This reverts commit 4453d7f58a.
2022-10-26 14:28:59 +08:00
dependabot[bot] dbd09c73cd Bump json from 20220320 to 20220924 (#3053)
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-10-25 17:39:28 +08:00
dependabot[bot] 9ce319b458 Bump com.gradle.enterprise from 3.11.1 to 3.11.2 (#3054)
Bumps com.gradle.enterprise from 3.11.1 to 3.11.2.

---
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-10-25 17:38:01 +08:00
Yasan Ghaffarian 26ed7d55ff Create dependabot.yml 2022-10-25 12:09:37 +03:30
Goooler db57a082d8 Update deps (#3051)
https://developer.android.com/jetpack/androidx/releases/compose-ui#1.3.0 
https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.0
https://developer.android.com/jetpack/androidx/releases/annotation#annotation-1.5.0
https://developer.android.com/jetpack/androidx/releases/activity#1.6.0
https://github.com/google/accompanist/releases/tag/v0.27.0
https://github.com/material-components/material-components-android/releases/tag/1.7.0
https://github.com/google/protobuf-gradle-plugin/releases/tag/v0.9.0
2022-10-25 15:36:49 +08:00
564a9b917b Only show hidden app in search when its full name is typed (#3032)
Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-10-23 19:07:24 +08:00
Crowdin Bot fc440d6949 New Crowdin translations by Github Action 2022-10-23 03:57:41 +03:30
Yasan e93249c7d9 Update Crowdin actions (1.4.15 -> 1.4.16) 2022-10-22 11:01:14 +03:30
Yasan 8ebac8a01c Only run crowdin_auto_merge on pull_request:opened 2022-10-18 18:52:08 +03:30
Crowdin Bot db345bce64 New Crowdin translations by Github Action 2022-10-18 18:49:30 +03:30
Yasan 32a5567596 Update crowdin auto merge's run condition 2022-10-18 17:46:59 +03:30
Yasan 9b9a891b0c Use LAWNCHAIR_BOT_TOKEN on Crowdin actions 2022-10-18 17:42:35 +03:30
d446e42fed Custom icon shape creator/editor (#3016)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
Co-authored-by: Goooler <wangzongler@gmail.com>
Co-authored-by: SuperDragonXD <70206496+superdragonxd@users.noreply.github.com>
2022-10-18 13:42:08 +03:30
Zilberto Junior 657bcd37c5 Add permission ACCESS_RESTRICTED_SETTINGS
This will allow modify restricted settings on Android 13
2022-10-17 15:01:46 +03:30
Yasan Ghaffarian 0604b89645 Update Crowdin Action (1.4.13 -> 1.4.15) 2022-10-17 14:32:55 +03:30
SuperDragonXD 89bb0e6464 Create Brave QSB Provider (closes #2706) 2022-10-17 14:19:17 +08:00
Crowdin Bot b0933fbb29 New Crowdin translations by Github Action 2022-10-16 10:08:24 +00:00
Goooler bb024ef89e AGP 7.3.1 & KSP 1.0.7
https://github.com/google/ksp/releases/tag/1.7.20-1.0.7
2022-10-14 09:43:47 +08:00
Goooler 5e8c1f9007 Remove Gradle's filesystem watching flag as it was enabled by default
https://docs.gradle.org/7.0.1/release-notes.html#file-system-watching
2022-10-13 14:37:38 +08:00
Goooler bddda749cc Bug Fix : Transparent background for Clock icons
Follow up #3011.
2022-10-13 09:27:52 +08:00
SuperDragonXD 899b1b7d67 Fix crashes from #3018 by un-! the comparison operator
Apparently I didn't fully read the docs:  `check` and`require` error out on `false`, instead of `true`. This commit fixes that by removing the `!` on the comparison operators.
2022-10-12 21:55:51 +08:00
Goooler f9284b3f85 Sync submodule
https://github.com/LawnchairLauncher/lawnchair/pull/3011
https://github.com/LawnchairLauncher/platform_frameworks_libs_systemui/pull/7
2022-10-12 21:05:07 +08:00
b587ba5cb7 Transparent background for themed icons (#3011)
It would be nice to have an option to make the icon background transparent when themed icons (with Lawnicons) used.

Co-authored-by: Yasan <yasandev@gmail.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-10-12 20:55:35 +08:00
NaveenandGoooler 78437aad9e Hide hidden apps in search (#3014)
- Hide apps in search by default.
- Added switch to show hidden apps in search , If needed for someone.

Co-authored-by: Goooler <wangzongler@gmail.com>
2022-10-12 20:00:07 +08:00
Goooler 4d38496a9c Use the default G1GC on JDK 17+
Remove -XX:+UseParallelGC and use the default garbage collector as the improvements are minimal on JDK 17+
2022-10-12 18:10:49 +08:00
Goooler c7ad0d0085 Simplify error state checks (#3018)
- `throw IllegalStateException` -> `check`
- `throw IllegalArgumentException` -> `require`
2022-10-12 10:24:35 +08:00
SuperDragonXD b35eb21843 Theme search bar by default (fixes #3013) 2022-10-11 17:58:26 +08:00
Goooler ab67440c81 Cleanup maven repos 2022-10-06 15:44:49 +08:00
Goooler de59af030e Kotlin 1.7.20 (#3005)
https://github.com/JetBrains/kotlin/releases/tag/v1.7.20
https://github.com/google/ksp/releases/tag/1.7.20-1.0.6
https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.3.2
2022-10-06 14:48:38 +08:00
Suphon T b8943840dc Color selector improvements (#2991)
* Refactor color preference args

* Combine "Dynamic" and "Presets" page

* Fix color picker initialized as transparent

* Extract duplicate hsv conversion calls

* Align HSV picker paddings

* Add section headers for color presets

* Automatically apply color on preset click

* Change color picker arguments to Int
2022-10-04 16:05:01 +07:00
SuperDragonXD 956e7b49a7 README.md: Added Telegram and Discord badges 2022-10-03 10:24:06 +08:00
Goooler 6fd1fe19c8 Improve Simplified Chinese translations 2022-10-02 04:47:12 +00:00
Crowdin Bot c5d628a117 New Crowdin translations by Github Action 2022-10-02 04:47:12 +00:00
Suphon T 663e6e6f75 Show empty search text when there is no market (#2990) 2022-10-01 14:46:59 +07:00
Suphon T 43fba270e6 Fix top bar scroll behavior (#2989)
* Switch topBar behavior to exitUntilCollapsed

* Fix top bar not expanding
2022-10-01 13:02:31 +08:00
YasanandDaria Hamrah Paytakht d75e31c021 Custom Notification Dot Counter Color Support (#2977)
* Add `notificationDotTextColor` to `PreferenceManager2`
* Add `notificationDotTextColor` to preferences UI
* Pass counter color to `DotRenderer`
* Convert `LauncherDefault` to `Default`
* Optimize imports
* Rename "Default" to "Managed by Lawnchair"
* Use the correct `ColorDot` on `ColorPreference`
* Show a contrast warning for dot colors
* Show a special icon on `ColorDot` when the color is 0
* Make `ColorDot(Color)` private to avoid accidental usages
* Create `WarningPreference` as a reusable composable for warnings
* Use Rounded icon on `WarningPreference`
* Fix `ColorContrastWarning.kt`'s file name
* Update platform_frameworks_libs_systemui

Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-28 09:03:08 +03:30
SuperDragonXD 088cfe48df Use new Google Lens icon 2022-09-27 20:59:36 +08:00
Goooler 4453d7f58a Check sIsConnected before canceling notification (#2982)
https://stackoverflow.com/questions/45428363/android-getactivenotifications-throws-securityexception
2022-09-27 16:58:56 +08:00
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 GhaffarianandDaria Hamrah Paytakht 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