Skip to content

Commit

Permalink
fix[MyModule.kt]: Fix wrong class name, += DeviceInfoContentProvider.
Browse files Browse the repository at this point in the history
  • Loading branch information
VergeDX committed May 28, 2023
1 parent fd1b887 commit a29dee2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/me/vergedx/pixelnfc_japansku/MyModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ class MyModule : IXposedHookLoadPackage {
override fun handleLoadPackage(lpparam: XC_LoadPackage.LoadPackageParam) {
XposedBridge.log("Loaded app: " + lpparam.packageName)

XposedHelpers.findAndHookMethod("com.google.android.pixelnfc.provider",
XposedHelpers.findAndHookMethod(
"com.google.android.pixelnfc.provider.DeviceInfoContentProvider",
lpparam.classLoader, "isDeviceJapanSku", String::class.java,

object : XC_MethodHook() {
Expand Down

0 comments on commit a29dee2

Please sign in to comment.