Skip to content

Commit

Permalink
升级案例代码的targetVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Sky233ml committed Jan 9, 2024
1 parent bf09ae5 commit fc1f88e
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 165 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace = "io.github.sky130.kndroidx.demo"
compileSdk = 33
compileSdk = 34

defaultConfig {
applicationId = "io.github.sky130.kndroidx.demo"
minSdk = 21
targetSdk = 33
targetSdk = 34
versionCode = 1
versionName = "1.0"

Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions app/src/test/java/io/github/sky130/kndroidx/ExampleUnitTest.kt

This file was deleted.

2 changes: 1 addition & 1 deletion core/src/main/java/kndroidx/extension/LogExtraFun.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ val Any.log: LogObject
fun Any.log(tag: String = TAG) = LogObject.getObj(tag, this.toString())

fun isDebug(): Boolean {
return context!!.applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE != 0
return context.applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE != 0
}

class LogObject private constructor(private val tag: String, private val msg: String) {
Expand Down

This file was deleted.

51 changes: 0 additions & 51 deletions kndroidx/src/main/java/kndroidx/extension/IntentExtraFun.kt

This file was deleted.

10 changes: 0 additions & 10 deletions kndroidx/src/main/res/values/colors.xml

This file was deleted.

3 changes: 0 additions & 3 deletions kndroidx/src/main/res/values/strings.xml

This file was deleted.

16 changes: 0 additions & 16 deletions kndroidx/src/main/res/values/themes.xml

This file was deleted.

This file was deleted.

0 comments on commit fc1f88e

Please sign in to comment.