Skip to content

Commit 0569607

Browse files
TobiGrKartikeyTripathi469
authored andcommitted
Merge pull request #13363 from theimpulson/depUpdate
Update dependencies and Gradle to latest stable release
2 parents f1c608b + 3490008 commit 0569607

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

app/src/main/java/org/schabi/newpipe/util/KeyboardUtil.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
* </p>
1414
*/
1515
public final class KeyboardUtil {
16+
/**
17+
* Flag for {@link InputMethodManager#hideSoftInputFromWindow} to forcefully hide the
18+
* keyboard even if it was explicitly opened by the user (e.g., via D-Pad/Remote).
19+
* This replaces HIDE_NOT_ALWAYS which fails on non-touch devices.
20+
*/
21+
private static final int CLEAR_SOFT_INPUT_FORCED = 0;
1622
private KeyboardUtil() {
1723
}
1824

@@ -48,7 +54,7 @@ public static void hideKeyboard(final Activity activity, final EditText editText
4854
final InputMethodManager imm = ContextCompat.getSystemService(activity,
4955
InputMethodManager.class);
5056
imm.hideSoftInputFromWindow(editText.getWindowToken(),
51-
InputMethodManager.HIDE_NOT_ALWAYS);
57+
CLEAR_SOFT_INPUT_FORCED);
5258

5359
editText.clearFocus();
5460
}

gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ autoservice-google = "1.1.1"
1212
autoservice-zacsweers = "1.2.0"
1313
bridge = "v2.0.2"
1414
cardview = "1.0.0"
15-
checkstyle = "13.2.0"
16-
coil = "3.3.0"
15+
checkstyle = "13.3.0"
16+
coil = "3.4.0"
1717
constraintlayout = "2.2.1"
18-
core = "1.17.0"
18+
core = "1.17.0" # Newer versions require minSdk >= 23
1919
desugar = "2.1.5"
2020
documentfile = "1.1.0"
2121
exoplayer = "2.19.1"
@@ -24,7 +24,7 @@ groupie = "2.10.1"
2424
jsoup = "1.22.1"
2525
junit = "4.13.2"
2626
junit-ext = "1.3.0"
27-
kotlin = "2.3.10"
27+
kotlin = "2.3.20"
2828
kotlinx-coroutines-rx3 = "1.10.2"
2929
kotlinx-serialization-json = "1.10.0"
3030
ksp = "2.3.6"
@@ -35,7 +35,7 @@ localbroadcastmanager = "1.1.0"
3535
markwon = "4.6.2"
3636
material = "1.11.0" # TODO: update to newer version after bug is fixed. See https://github.com/TeamNewPipe/NewPipe/pull/13018
3737
media = "1.7.1"
38-
mockitoCore = "5.21.0"
38+
mockitoCore = "5.23.0"
3939
okhttp = "5.3.2"
4040
phoenix = "3.0.0"
4141
preference = "1.2.1"
@@ -46,7 +46,7 @@ runner = "1.7.0"
4646
rxandroid = "3.0.2"
4747
rxbinding = "4.0.0"
4848
rxjava = "3.1.12"
49-
sonarqube = "7.2.2.6593"
49+
sonarqube = "7.2.3.7755"
5050
statesaver = "1.4.1" # TODO: Drop because it is deprecated and incompatible with KSP2
5151
stetho = "1.6.0"
5252
swiperefreshlayout = "1.2.0"

gradle/wrapper/gradle-wrapper.jar

2.73 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=b266d5ff6b90eada6dc3b20cb090e3731302e553a27c5d3e4df1f0d76beaff06
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
3+
distributionSha256Sum=60ea723356d81263e8002fec0fcf9e2b0eee0c0850c7a3d7ab0a63f2ccc601f3
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)