Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
(Should) Fully support Android 12 based MIUI 13
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikotwa committed Apr 8, 2022
1 parent 8e5405b commit 7dc0f19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
applicationId "fuck.location"
minSdk 28
targetSdk 31
versionCode 721
versionCode 722
versionName "1.2.13"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/java/fuck/location/xposed/HookEntry.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ class HookEntry : IXposedHookZygoteInit, IXposedHookLoadPackage {
ConfigGateway.get().hookWillChangeBeEnabled(lpparam)
ConfigGateway.get().hookGetTagForIntentSender(lpparam)

// Manually workaround as the incapable changes
if (!Miui().isMIUI()) TelephonyRegistryHooker().hookListen(lpparam)
TelephonyRegistryHooker().hookListen(lpparam)

// For Android 12 and MIUI, run this hook
when (Build.VERSION.SDK_INT) {
Expand Down

0 comments on commit 7dc0f19

Please sign in to comment.