Skip to content

Commit 6a9ef57

Browse files
author
Krzysztof Nawrot
authored
Merge pull request #28 from Parseus/dev
Dev -> master: version 2.5.1
2 parents 4c8e2a5 + e6cd169 commit 6a9ef57

57 files changed

Lines changed: 332 additions & 1020 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/gradle.xml

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

app/build.gradle

Lines changed: 18 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4-
id 'com.google.devtools.ksp' version '1.8.22-1.0.11'
4+
id 'com.google.devtools.ksp' version '1.9.10-1.0.13'
55
}
66

77
android {
88
namespace 'com.parseus.codecinfo'
9-
compileSdkVersion 34
9+
compileSdk 34
1010
defaultConfig {
1111
applicationId "com.parseus.codecinfo"
12-
minSdkVersion 16
12+
minSdkVersion 21
1313
targetSdkVersion 34
14-
versionCode 23
15-
versionName "2.5.0"
14+
versionCode 24
15+
versionName "2.5.1"
1616
resConfigs 'en'
17-
18-
vectorDrawables.useSupportLibrary = true
1917
}
2018
buildTypes {
2119
debug {
@@ -31,7 +29,7 @@ android {
3129
}
3230
}
3331

34-
flavorDimensions "app", "platform"
32+
flavorDimensions = ["app", "platform"]
3533

3634
productFlavors {
3735
nonFree {
@@ -57,7 +55,6 @@ android {
5755

5856
tv {
5957
dimension "platform"
60-
minSdkVersion 21
6158
versionCode 20000 + android.defaultConfig.versionCode
6259
}
6360
}
@@ -80,67 +77,48 @@ android {
8077
}
8178
}
8279

83-
8480
variantFilter { variant ->
8581
def names = variant.flavors*.name
8682
if (names.contains("nonFree") && names.contains("tv")) {
8783
setIgnore(true)
8884
}
8985
}
90-
91-
sourceSets {
92-
nonFreeMobileDebug {
93-
java.srcDirs += 'src/mobileDebug/java'
94-
}
95-
standardMobileDebug {
96-
java.srcDirs += 'src/mobileDebug/java'
97-
}
98-
nonFreeMobileRelease {
99-
java.srcDirs += 'src/mobileRelease/java'
100-
}
101-
standardMobileRelease {
102-
java.srcDirs += 'src/mobileRelease/java'
103-
}
104-
}
10586
}
10687

10788
configurations {
10889
nonFreeMobileImplementation {}
10990
standardMobileImplementation {}
110-
nonFreeMobileDebugImplementation {}
111-
standardMobileDebugImplementation {}
11291
}
11392

11493
dependencies {
115-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
94+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
11695

117-
implementation 'androidx.appcompat:appcompat:1.7.0-alpha02'
118-
implementation "androidx.core:core-ktx:1.12.0-alpha05"
119-
implementation 'androidx.preference:preference-ktx:1.2.0'
96+
implementation 'androidx.appcompat:appcompat:1.7.0-alpha03'
97+
implementation "androidx.core:core-ktx:1.12.0"
98+
implementation 'androidx.fragment:fragment-ktx:1.7.0-alpha04'
99+
implementation 'androidx.preference:preference-ktx:1.2.1'
100+
implementation 'androidx.recyclerview:recyclerview:1.3.1'
120101

121102
implementation "com.squareup.leakcanary:plumber-android:$leakCanary_version"
122103
implementation "com.squareup.moshi:moshi:$moshi_version"
123104
ksp "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
124-
implementation "com.squareup.okio:okio:3.3.0"
105+
implementation "com.squareup.okio:okio:3.5.0"
125106

126107
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanary_version"
127-
standardMobileDebugImplementation 'androidx.multidex:multidex:2.0.1'
128-
nonFreeMobileDebugImplementation 'androidx.multidex:multidex:2.0.1'
129108

130-
tvImplementation 'androidx.leanback:leanback:1.2.0-alpha02'
131-
tvImplementation 'androidx.leanback:leanback-preference:1.2.0-alpha02'
109+
tvImplementation 'androidx.leanback:leanback:1.2.0-alpha03'
110+
tvImplementation 'androidx.leanback:leanback-preference:1.2.0-alpha03'
132111

133112
standardMobileImplementation 'org.lsposed.hiddenapibypass:hiddenapibypass:4.3'
134113

135114
mobileImplementation 'androidx.constraintlayout:constraintlayout:2.1.4'
136-
mobileImplementation 'androidx.core:core-splashscreen:1.0.1'
115+
mobileImplementation 'androidx.core:core-splashscreen:1.1.0-alpha02'
137116
mobileImplementation 'androidx.palette:palette-ktx:1.0.0'
138-
mobileImplementation 'androidx.webkit:webkit:1.7.0'
117+
mobileImplementation 'androidx.webkit:webkit:1.8.0'
139118
mobileImplementation 'com.github.KieronQuinn:MonetCompat:0.4.1'
140119
mobileImplementation 'com.github.marcoscgdev:Licenser:2.0.0'
141-
mobileImplementation 'com.google.android.material:material:1.10.0-alpha04'
120+
mobileImplementation 'com.google.android.material:material:1.11.0-alpha02'
142121

143-
nonFreeMobileImplementation fileTree(include: ['*.jar'], dir: 'libs')
144122
nonFreeMobileImplementation 'com.google.android.play:app-update:2.1.0'
145123
nonFreeMobileImplementation 'com.google.android.play:app-update-ktx:2.1.0'
146124
nonFreeMobileImplementation 'com.google.android.play:review:2.0.1'

app/libs/gesture-v2.0.3.jar

-6.43 KB
Binary file not shown.

app/libs/sdk-v1.0.0.jar

-1.96 KB
Binary file not shown.

app/proguard-rules.pro

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@
44

55
-keepattributes SourceFile, LineNumberTable
66
-allowaccessmodification
7-
-repackageclasses
8-
9-
-dontwarn android.hardware.scontext.**
10-
-dontwarn com.samsung.**
11-
#noinspection ShrinkerUnresolvedReference
12-
-keep class com.samsung.** { *; }
7+
-repackageclasses

app/src/main/assets/changelog.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
<html>
22
<body>
33

4+
<h2>Version 2.5.1</h2>
5+
<p>Removed support for Android 4.4 and older.</p>
6+
<p>Removed support for legacy gestures on a few very old Samsung phones.</p>
7+
<p>Added known color formats from SPRD/PacketVideo.</p>
8+
<p>Bugfixes and general improvements.</p>
9+
10+
<h2>Version 2.5.0</h2>
11+
<p>Added detecting features introduced in Android 14</p>
12+
<p>Added more known codec issues.</p>
13+
<p>Added more known color formats.</p>
14+
<p>Added showing an optional indicator icon if a codec is hardware-accelerated.</p>
15+
<p>Added showing supported vendor parameters on Android 12+ devices.</p>
16+
<p>DRM detection should be now much faster on Android 11+ devices.</p>
17+
<p>Improved low latency dectection on Android 12+ devices.</p>
18+
<p>Bugfixes and general improvements.</p>
19+
420
<h2>Version 2.4.0</h2>
521
<p>Added detecting features introduced in Android 13.</p>
622
<p>Improved detecting hardware acceleration for audio codecs.</p>

app/src/main/java/com/parseus/codecinfo/data/InfoType.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.parseus.codecinfo.data
22

3-
import android.os.Build
43
import androidx.annotation.DrawableRes
54
import androidx.annotation.StringRes
65
import com.parseus.codecinfo.R
@@ -20,7 +19,7 @@ enum class InfoType(val tabPosition: Int,
2019
else -> DRM
2120
}
2221

23-
val INFO_TYPE_COUNT: Int get() = if (Build.VERSION.SDK_INT >= 18) 3 else 2
22+
val INFO_TYPE_COUNT: Int get() = 3
2423

2524
var currentInfoType: InfoType = Audio
2625
}

0 commit comments

Comments
 (0)