Commit Graph

39204 Commits

Author SHA1 Message Date
Crowdin Bot fd7b733437 New Crowdin translations by Github Action 2023-01-22 03:49:43 +03:30
Goooler 5567c8b1c0 Cleanup BuildConfig field refs
* Remove redundant COMMIT_HASH field
* Remove Versioning
2023-01-21 19:54:35 +08:00
Goooler 8645aea709 Defer generateProtoTasks configuration
https://github.com/google/protobuf-gradle-plugin/commit/3f6e8a8ec88c422bbd43c19f80b27472b6b80e9e
2023-01-21 19:27:13 +08:00
Goooler 8581566081 Release apk with uploading mapping file (#3275)
We can easily retrace obfuscated stack traces with the mapping file.
2023-01-21 18:34:10 +08:00
Goooler 8a69921aa6 Prevent continuation twice resuming in BlankActivity (#3276) 2023-01-21 18:33:26 +08:00
Goooler 70fece5991 Rename QsbLayout to LawnQsbLayout (#3274) 2023-01-21 15:56:23 +08:00
Goooler e4dcb17c27 Always enable GoogleQsbContainerView if it is the current search widget (#3273) 2023-01-21 15:55:54 +08:00
Goooler 44d957df51 Catch exceptions for requestQuietModeEnabled in WorkProfileManager (#3270)
https://source.android.com/docs/devices/admin/managed-profiles
https://developer.android.com/reference/android/os/UserManager#requestQuietModeEnabled(boolean,%20android.os.UserHandle)
2023-01-20 23:09:24 +08:00
Goooler 0c137fc90b Remove n_percent string translations (#3267) 2023-01-20 18:03:25 +08:00
Goooler 6c073ae8b0 Check contentViewParent nullable in Workspace (#3271) 2023-01-20 17:04:56 +08:00
Goooler d34768864d Depends on kotlinx-coroutines-android 1.6.4
https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.6.4
2023-01-20 14:11:16 +08:00
Goooler 500f1acd05 Convert LawnchairDeviceSearchAlgorithm to Kotlin (#3128)
* Convert LawnchairDeviceSearchAlgorithm to Kotlin

* Convert SearchActionCompat to Kotlin

* Convert SearchTargetCompat to Kotlin

* Cleanup LawnchairDeviceSearchAlgorithm

* Cleanup SearchActionCompat

* Cleanup SearchTargetCompat

* Rename members

* Mark PreferenceChangeListener functional

* Rearrange

* Imports
2023-01-20 11:02:47 +08:00
Goooler d74fe34178 Be easier to trigger fast scroller in app drawer (#3253) 2023-01-20 10:17:09 +08:00
Goooler 08cfd742a0 Distinct OSS lib models by their names (#3266)
* Mark ossLibraries non-null

* Distinct oss lib models

* Cleanup
2023-01-20 10:16:31 +08:00
Goooler 6803d8b2a0 Unify all data class fields to values (#3252)
Make sure all fields in data classes are values instead of variables, just use `.copy()` to change the contents.
2023-01-19 21:25:41 +08:00
Naveen e6cce8b3bf Dynamic clock support for third party icon packs (#3228)
* Squashed commit of the following:

commit 578de6dddad5a9e831240f4ff31bde218c4fa58f
Merge: a0ef4288fd 798e93ee17
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Tue Dec 27 05:04:50 2022 +0530

    Merge remote-tracking branch 'upstream/12.1-dev' into FixIconPack

commit a0ef4288fd13674b183a8d6ec27964c1cc0ff7e4
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Thu Dec 22 02:56:20 2022 +0530

    code cleanup

commit 3e6e49c957f8670e4540d4c6d1f87aa6b370ef74
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Thu Dec 22 02:28:58 2022 +0530

    recreate icons for adaptive and tranparant background when icons are from iconpack

commit a77c8e7bcb44f3e7a4286a345acdf64010552dc1
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Thu Dec 22 02:23:20 2022 +0530

    Add icon change event for iconpack as well

commit 4b36b447e823eb42e3204e7ce3c1094893c48757
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 20:06:09 2022 +0530

    cleanup

commit 3bf0a8e38f408ef9f3b3c5cb00f69d2e1045870c
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 19:55:06 2022 +0530

    limit monochrome to SDK 33

commit 7e52a6d8736aa9b917294c79b23405a0df5b4a0e
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:10:50 2022 +0530

    move string to xml

commit 3f340a68f82b0f06007df0c8c41c8e0157961612
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:08:05 2022 +0530

    Enhancement on applying Themed Icon

    Apply themed icons for system icons if they support (android 13+ [not sure about android 12] )
    Select Icon pack and Themed Icon separately for home and app drawer (This help to apply Themed icons (home) + delta icons (app drawer) together) - Ref : 815
    Support Transparant background on adaptive icons

commit 88ddd5b3f654a580fcc17fbd1d39741913a8baf3
Merge: df0eaf8160 6ad549c79b
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:07:42 2022 +0530

    Merge remote-tracking branch 'upstream/12.1-dev' into FixIconPack

commit df0eaf816015df83563003092a3764a438d20ce3
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:07:28 2022 +0530

    Revert "Revert "Bump AGP to 7.4.0-rc01 (#3178)""

    This reverts commit 0013d4094803c788e84c82d0c00b7630b01e9a57.

commit 0013d4094803c788e84c82d0c00b7630b01e9a57
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Sun Dec 18 04:25:33 2022 +0530

    Revert "Bump AGP to 7.4.0-rc01 (#3178)"

    This reverts commit 4b789cd5d3.

* updated suggestions

* Dynamic clock from icon pack

* Add transparent background

* removed unused imports

* Remove unused imports

* revert reload icons

* Update lawnchair/res/values/strings.xml

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

* Changed themed icon order

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
2023-01-19 21:11:55 +08:00
renovate[bot] e296034313 Update dependency io.github.fornewid:material-motion-compose-core to v0.10.4 (#3265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 19:39:19 +08:00
Goooler f3639f1072 Tidy up plugin/task configurations (#3263)
Follow up dd3e087c8f & 0803a890aa.

* Apply the latest AppCompat lib for all android modules

* Migrate KotlinCompile to KotlinCompilationTask

* Defer more configurations

* Migrate flavorDimensions

* Configure Java toolchains

* Just configure KotlinBasePlugin

* Bump kotlin.jvmToolchain to 11

* Replace `kotlin-android` with `org.jetbrains.kotlin.android`

* Rearrange project refs

* Reuse FRAMEWORK_PREBUILTS_DIR

* Remove ext.replaceFrameworkJar

* Merge ext.getFrameworkJar

* Set classpath for KotlinCompile

* Tweak ext.addFrameworkJar

* Bump level to 9

* Revert "Bump level to 9"
This reverts commit 94e1b807a0a648942aac1e72ab72bafdd216f9cb.

* Back to 8

* Comment

* Cleanups

* Remove imports
2023-01-19 13:34:09 +08:00
Goooler 8e5f81b1c8 Tweak Renovate
* Remove dependabot.yml
* Let Renovate ignore Kotlin & KSP
2023-01-19 01:27:27 +08:00
Goooler 9d623f04ff Distinguish between release and debug via applicationIdSuffix & label (#3255)
* Add applicationIdSuffix for debug mode

* Generate derived_app_name res for debug & release
2023-01-18 14:21:05 +08:00
Goooler 0803a890aa Kotlin 1.8 and Compose compiler 1.4.0 (#3257)
* Bump Kotlin to 1.8.0

https://github.com/JetBrains/kotlin/releases/tag/v1.8.0
https://github.com/google/ksp/releases/tag/1.8.0-1.0.8

* Bump Compose compiler to 1.4.0

https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.4.0
2023-01-18 11:36:17 +08:00
Naveen 1f9439b2a0 Enhancement on applying themed icon (#3169)
* Squashed commit of the following:

commit 578de6dddad5a9e831240f4ff31bde218c4fa58f
Merge: a0ef4288fd 798e93ee17
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Tue Dec 27 05:04:50 2022 +0530

    Merge remote-tracking branch 'upstream/12.1-dev' into FixIconPack

commit a0ef4288fd13674b183a8d6ec27964c1cc0ff7e4
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Thu Dec 22 02:56:20 2022 +0530

    code cleanup

commit 3e6e49c957f8670e4540d4c6d1f87aa6b370ef74
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Thu Dec 22 02:28:58 2022 +0530

    recreate icons for adaptive and tranparant background when icons are from iconpack

commit a77c8e7bcb44f3e7a4286a345acdf64010552dc1
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Thu Dec 22 02:23:20 2022 +0530

    Add icon change event for iconpack as well

commit 4b36b447e823eb42e3204e7ce3c1094893c48757
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 20:06:09 2022 +0530

    cleanup

commit 3bf0a8e38f408ef9f3b3c5cb00f69d2e1045870c
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 19:55:06 2022 +0530

    limit monochrome to SDK 33

commit 7e52a6d8736aa9b917294c79b23405a0df5b4a0e
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:10:50 2022 +0530

    move string to xml

commit 3f340a68f82b0f06007df0c8c41c8e0157961612
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:08:05 2022 +0530

    Enhancement on applying Themed Icon

    Apply themed icons for system icons if they support (android 13+ [not sure about android 12] )
    Select Icon pack and Themed Icon separately for home and app drawer (This help to apply Themed icons (home) + delta icons (app drawer) together) - Ref : 815
    Support Transparant background on adaptive icons

commit 88ddd5b3f654a580fcc17fbd1d39741913a8baf3
Merge: df0eaf8160 6ad549c79b
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:07:42 2022 +0530

    Merge remote-tracking branch 'upstream/12.1-dev' into FixIconPack

commit df0eaf816015df83563003092a3764a438d20ce3
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Wed Dec 21 03:07:28 2022 +0530

    Revert "Revert "Bump AGP to 7.4.0-rc01 (#3178)""

    This reverts commit 0013d4094803c788e84c82d0c00b7630b01e9a57.

commit 0013d4094803c788e84c82d0c00b7630b01e9a57
Author: Naveen <naveen.ccmsd@gmail.com>
Date:   Sun Dec 18 04:25:33 2022 +0530

    Revert "Bump AGP to 7.4.0-rc01 (#3178)"

    This reverts commit 4b789cd5d3.

* updated suggestions

* Remove unused imports

* revert reload icons

* Update lawnchair/res/values/strings.xml

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

* Changed themed icon order

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
2023-01-18 11:18:40 +08:00
Goooler 2ce1bccb1e Long press versionName text to browse build commit on GitHub (#3256) 2023-01-18 10:39:05 +08:00
Goooler 93e1ca4ba2 Revert "Apply Gradle Cache Fix plugin for all android modules (#3246)"
This reverts commit 23ca7c9f40.
2023-01-18 10:25:16 +08:00
dependabot[bot] 25c6bf73f8 Bump crowdin/github-action from 1.5.2 to 1.5.3 (#3254)
Bumps [crowdin/github-action](https://github.com/crowdin/github-action) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/1.5.2...1.5.3)

---
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>
2023-01-17 22:29:00 +08:00
Goooler f3a007de37 Annotate BugReport with @Parcelize 2023-01-17 00:50:52 +08:00
Goooler 42a4958e26 Add an option to override max search result count in settings (#3244)
Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
2023-01-16 18:36:21 +08:00
Goooler e8fde0d444 Rename all modules to start with a lowercase (#3245) 2023-01-16 10:24:03 +08:00
Goooler e6afbda7b6 Cleanup usages of Bundle and Intent (#3251)
* Use `bundleOf`

* Use intent builder
2023-01-16 08:42:50 +08:00
Goooler 23ca7c9f40 Apply Gradle Cache Fix plugin for all android modules (#3246)
https://github.com/gradle/android-cache-fix-gradle-plugin/releases/tag/v2.6.2
2023-01-16 02:54:05 +08:00
Goooler 6e9a6c498b Revert androidx.compose.material3 to 1.1.0-alpha03 (#3248) 2023-01-15 09:54:03 +08:00
Crowdin Bot 8f7d38a4fb New Crowdin translations by Github Action 2023-01-15 03:48:48 +03:30
Goooler 6aff6bb1c7 Remove test deps
Avoid renovate or dependabot bumping these versions, we don't run unit tests now.
2023-01-14 21:20:15 +08:00
Goooler 2681ddfdf2 Use sectionName in fuzzy search to display more related results (#3236) 2023-01-13 22:40:48 +08:00
Goooler a88e3c1e36 Update deps (#3240)
https://developer.android.com/jetpack/androidx/releases/compose-material3#1.1.0-alpha03
https://developer.android.com/jetpack/androidx/releases/compose#2023.01.00
https://developer.android.com/jetpack/androidx/releases/room#2.5.0
https://github.com/topjohnwu/libsu/releases/tag/5.0.4

* Update deps
* Replace `ViewTreeLifecycleOwner.set`
2023-01-13 10:31:07 +08:00
Goooler dd3e087c8f Bump AGP to 7.4.0 final (#3243)
https://developer.android.com/studio/releases/gradle-plugin#7-4-0
2023-01-13 10:21:53 +08:00
Goooler 2e3eae286a Mark the root project's namespace as com.android.launcher3 (#3242) 2023-01-12 21:15:13 +08:00
Goooler b03165f9fc Disable buildFeatures flags by default (#3241) 2023-01-12 18:53:55 +08:00
Goooler 1f545607b5 debugImplementation compose-ui-tooling
https://developer.android.com/jetpack/compose/tooling/studio#preview
2023-01-12 01:59:54 +08:00
Goooler d69db7befb Cleanup ignore rules 2023-01-08 16:21:37 +08:00
Goooler a11fec3080 Minor tweaks in AppInfoComparator (#3234)
Follow up 2165191f15

* Enlarge sectionName's weight in `AppInfoComparator`

* Cleanup `isSimpledChineseLocale`
2023-01-08 16:18:44 +08:00
Crowdin Bot 9fb62ef679 New Crowdin translations by Github Action 2023-01-08 03:49:02 +03:30
dependabot[bot] 0fb2abd0ee Bump com.gradle.enterprise from 3.12.1 to 3.12.2 (#3226)
Bumps com.gradle.enterprise from 3.12.1 to 3.12.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>
2023-01-05 20:08:49 +08:00
Crowdin Bot ccdb590b1a New Crowdin translations by Github Action 2023-01-01 03:51:45 +03:30
dependabot[bot] 7d32574eb4 Bump mockito-core from 4.10.0 to 4.11.0 (#3219)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.10.0...v4.11.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-30 09:36:06 +08:00
Goooler 5304ed28e7 Bump oss-licenses-plugin to 0.10.6 (#3217)
https://developers.google.com/android/guides/releases#december_05_2022
2022-12-29 11:10:50 +08:00
Goooler c06f5fd51b Configure KSP out of android
https://developer.android.com/jetpack/androidx/releases/room#compiler-options
2022-12-29 10:53:38 +08:00
Goooler 848ae402c8 Bump AGP to 7.4.0-rc03 (#3215)
Follow up 4b789cd5d3.

R8 version: 4.0.48 (build 272c2ff86906ca082aef9fe164fb9b3482d2741b from go/r8bot (luci-r8-custom-ci-bionic-15-zk50))
2022-12-28 08:43:14 +08:00
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