Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
胡晟昊 committed Jul 27, 2022
2 parents 8063228 + 7b66d19 commit a0194ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ android {
applicationId = "com.dede.nativetools"
minSdk = 23
targetSdk = 33
versionCode = 63
versionName = "4.0.0"
versionCode = 64
versionName = "4.0.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

resourceConfigurations.addAll(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ class NetSpeedService : Service(), Runnable {
override fun onDestroy() {
lifecycleJob.cancel()
netSpeedCompute.destroy()
stopForeground(STOP_FOREGROUND_REMOVE)
@Suppress("DEPRECATION")
stopForeground(true)
notificationManager.cancel(NetSpeedNotificationHelper.NOTIFICATION_ID)
broadcastHelper.unregister(this)
super.onDestroy()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ interface TypefaceGetter {
if (fontList.contains(key)) {
DownloadTypefaceImpl(appContext, "$key.ttf")
} else {
throw IllegalStateException("Unknown font name: $key")
NormalTypeface()
//throw IllegalStateException("Unknown font name: $key")
}
}
}
Expand Down

0 comments on commit a0194ca

Please sign in to comment.