Commit 0e7e7e3
TileMode will be applied to all images && updated dependencies (#292)
* ⬆️ Bump androidx.profileinstaller:profileinstaller (#267)
Bumps androidx.profileinstaller:profileinstaller from 1.2.2 to 1.3.0.
---
updated-dependencies:
- dependency-name: androidx.profileinstaller:profileinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump roomVersion from 2.5.0 to 2.5.1 (#263)
Bumps `roomVersion` from 2.5.0 to 2.5.1.
Updates `androidx.room:room-runtime` from 2.5.0 to 2.5.1
Updates `androidx.room:room-ktx` from 2.5.0 to 2.5.1
Updates `androidx.room:room-compiler` from 2.5.0 to 2.5.1
---
updated-dependencies:
- dependency-name: androidx.room:room-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-compiler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6 (#266)
Bumps androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6.
---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.lifecycle:lifecycle-runtime-ktx (#265)
Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.5.1 to 2.6.1.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-runtime-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0 (#264)
Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0.
---
updated-dependencies:
- dependency-name: androidx.activity:activity-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Updated gradle-wrapper.properties to use the new distributionUrl for Gradle-7.5, and updated settings.gradle.kts to use the new version of com.android.tools.build:gradle:7.4.2.
* :arrow_up: Bump roomVersion from 2.5.1 to 2.5.2 (#287)
Bumps `roomVersion` from 2.5.1 to 2.5.2.
Updates `androidx.room:room-runtime` from 2.5.1 to 2.5.2
Updates `androidx.room:room-ktx` from 2.5.1 to 2.5.2
Updates `androidx.room:room-compiler` from 2.5.1 to 2.5.2
---
updated-dependencies:
- dependency-name: androidx.room:room-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.room:room-compiler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.profileinstaller:profileinstaller (#277)
Bumps androidx.profileinstaller:profileinstaller from 1.3.0 to 1.3.1.
---
updated-dependencies:
- dependency-name: androidx.profileinstaller:profileinstaller
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.core:core-ktx from 1.7.20 to 1.10.1 (#278)
Bumps androidx.core:core-ktx from 1.7.20 to 1.10.1.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.activity:activity-ktx from 1.7.0 to 1.7.2 (#282)
Bumps androidx.activity:activity-ktx from 1.7.0 to 1.7.2.
---
updated-dependencies:
- dependency-name: androidx.activity:activity-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump kotlinVersion from 1.8.0 to 1.8.22 (#285)
Bumps `kotlinVersion` from 1.8.0 to 1.8.22.
Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.0 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)
Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.0 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump androidx.fragment:fragment-ktx from 1.5.6 to 1.6.1 (#290)
Bumps androidx.fragment:fragment-ktx from 1.5.6 to 1.6.1.
---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update build.gradle.kts to use Kotlin jvmToolchain(17) instead of compileOptions.
Update build.gradle.kts to use Kotlin jvmToolchain(17) instead of kotlinOptions.
Add Kotlin jvmToolchain(17) to build.gradle.kts.
Update build.gradle.kts to use classpath "com.android.tools.build:gradle:8.1.0" instead of libs.tools.gradle.
Add android.defaults.buildfeatures.buildconfig=true, android.nonTransitiveRClass=false, android.nonFinalResIds=false to gradle.properties.
Update distributionUrl to https\://services.gradle.org/distributions/gradle-8.2-bin.zip in gradle-wrapper.properties.
* Update java version from 11 to 17 in pr_pre_check.yml and release.yml
* Refactor ImageInfo.kt, IntExtension.kt, MainViewModel.kt, TileModeFragment.kt, WaterMark.kt, WaterMarkImageView.kt, and WaterMarkRepository.kt (#289)
- Removed imports for android.graphics.Shader and android.os.Build from ImageInfo.kt and WaterMark.kt respectively.
- Removed the obtainTileMode() function from ImageInfo.kt and added it to IntExtension.kt as an extension function named toTileMode().
- Renamed the parameter "imageInfo" in the updateTileMode() function of MainViewModel.kt to "tmpConfig".
- Renamed the parameter "imageInfo" in the updateTileMode() function of WaterMarkRepository.kt to "mode".
- Removed unnecessary null check in TileModeFragment.kt for the selectedImage LiveData.
- Simplified comparisons of tileMode in TileModeFragment.kt and WaterMarkImageView.kt.
- Refactored the updateTileMode() function of WaterMarkRepository.kt to save the tileMode value to DataStore and emit the updated value to the corresponding LiveData.
* [AboutActivity.kt]
- Removed the code block related to checking the SDK version and setting the foreground to null for the window.
[WaterMarkImageView.kt]
- Removed the condition to check the SDK version for creating a static layout instance and created a static layout unconditionally.
[MainActivity.kt]
- Removed the code block related to checking the SDK version and setting the foreground to null for the window.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent b81a3df commit 0e7e7e3
18 files changed
Lines changed: 75 additions & 104 deletions
File tree
- .github/workflows
- app
- src/main/java/me/rosuh/easywatermark
- data
- model
- repo
- ui
- about
- panel
- widget
- utils/ktx
- baseBenchmarks
- cmonet
- gradle/wrapper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
| |||
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 62 | + | |
71 | 63 | | |
72 | 64 | | |
73 | 65 | | |
74 | 66 | | |
75 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
76 | 72 | | |
77 | 73 | | |
78 | 74 | | |
| |||
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 22 | | |
39 | 23 | | |
40 | 24 | | |
| |||
54 | 38 | | |
55 | 39 | | |
56 | 40 | | |
57 | | - | |
58 | 41 | | |
59 | 42 | | |
60 | 43 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
21 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 6 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
161 | 159 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | 160 | | |
171 | 161 | | |
172 | 162 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
638 | | - | |
639 | | - | |
| 637 | + | |
640 | 638 | | |
641 | 639 | | |
642 | 640 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
| 521 | + | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| |||
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
| |||
157 | 155 | | |
158 | 156 | | |
159 | 157 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 158 | | |
165 | | - | |
| 159 | + | |
166 | 160 | | |
167 | 161 | | |
168 | 162 | | |
| |||
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | | - | |
| 28 | + | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
38 | | - | |
| 35 | + | |
39 | 36 | | |
40 | 37 | | |
41 | | - | |
| 38 | + | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
45 | | - | |
46 | | - | |
| 42 | + | |
| 43 | + | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
| |||
0 commit comments