Skip to content

Commit

Permalink
1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hujiayucc committed Apr 5, 2023
1 parent 4a03347 commit 83ba14c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ android {
def verCode = new Random()
defaultConfig {
applicationId "com.hujiayucc.hook"
minSdk 28
minSdk 27
targetSdk 33
versionCode 2022
versionName "1.2.3"
versionCode 2222
versionName "1.2.4"
def hotVersionCode = 2023
def hotVersionName = "1.2.3.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.Manifest
import android.annotation.SuppressLint
import android.app.ActivityManager
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.content.res.Configuration
Expand Down Expand Up @@ -76,6 +77,11 @@ class MainActivity : AppCompatActivity() {
private var alertimageView: ImageView? = null
private var menu: Menu? = null

override fun attachBaseContext(newBase: Context?) {
runCatching { newBase?.classLoader?.let { HotFixUtils().doHotFix(it) } }
super.attachBaseContext(newBase)
}

override fun onCreate(savedInstanceState: Bundle?) {
localeID = modulePrefs.get(localeId)
if (localeID != 0) checkLanguage(Language.fromId(localeID))
Expand Down

0 comments on commit 83ba14c

Please sign in to comment.