File tree Expand file tree Collapse file tree
app/src/main/kotlin/li/songe/gkd/util
hidden_api/src/main/java/android/content/pm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ object AndroidTarget {
3333 val BAKLAVA = Build .VERSION .SDK_INT >= Build .VERSION_CODES .BAKLAVA
3434
3535 /* * Android 17+ */
36- @get:ChecksSdkIntAtLeast(api = 37 )
37- val CINNAMON_BUN = Build .VERSION .SDK_INT >= 37 // Build.VERSION_CODES.CINNAMON_BUN
36+ @get:ChecksSdkIntAtLeast(api = Build . VERSION_CODES . CINNAMON_BUN )
37+ val CINNAMON_BUN = Build .VERSION .SDK_INT >= Build .VERSION_CODES .CINNAMON_BUN
3838}
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
33
44ext {
55 set(" android.namespace" , " li.songe.gkd" )
6- set(" android.buildToolsVersion" , " 36.1 .0" )
7- set(" android.compileSdk" , 36 )
8- set(" android.targetSdk" , 36 )
6+ set(" android.buildToolsVersion" , " 37.0 .0" )
7+ set(" android.compileSdk" , 37 )
8+ set(" android.targetSdk" , 37 )
99 set(" android.minSdk" , 26 )
1010 set(" android.javaVersion" , JavaVersion .VERSION_11 )
1111 set(" kotlin.jvmTarget" , JvmTarget .JVM_11 )
Original file line number Diff line number Diff line change 11[versions ]
2- kotlin = " 2.3.20 "
2+ kotlin = " 2.3.21 "
33serialization = " 1.11.0"
4- ksp = " 2.3.6 "
4+ ksp = " 2.3.7 "
55agp = " 9.1.1"
6- compose = " 1.10.6 "
7- nav3 = " 1.1.0 "
6+ compose = " 1.11.0 "
7+ nav3 = " 1.1.1 "
88room = " 2.8.4"
99paging = " 3.4.2"
10- ktor = " 3.4.2 "
10+ ktor = " 3.4.3 "
1111atomicfu = " 0.32.1"
1212coil = " 3.4.0"
1313telephoto = " 0.19.0"
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public static IPackageManager asInterface(IBinder binder) {
3131
3232 // android17+
3333 @ RemapMethod ("getInstalledPackages" )
34+ @ RequiresApi (Build .VERSION_CODES .CINNAMON_BUN )
3435 PackageInfoList getInstalledPackagesV17 (long flags , int userId );
3536
3637 @ DeprecatedSinceApi (api = Build .VERSION_CODES .TIRAMISU )
You can’t perform that action at this time.
0 commit comments