Skip to content

Commit 60b4b51

Browse files
committed
common: Check for updates only for installed modules
1 parent 182ee4c commit 60b4b51

File tree

1 file changed

+2
-1
lines changed
  • app/src/main/java/io/github/chsbuffer/revancedxposed

1 file changed

+2
-1
lines changed

app/src/main/java/io/github/chsbuffer/revancedxposed/MainHook.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ fun inContext(lpparam: LoadPackageParam, f: (Application) -> Unit) {
9292
val app = param.thisObject as Application
9393
Utils.setContext(app)
9494
f(app)
95-
UpdateChecker(app).hookNewActivity()
95+
if (XposedInit.modulePath.startsWith("/data/app/"))
96+
UpdateChecker(app).hookNewActivity()
9697
}
9798
})
9899
}

0 commit comments

Comments
 (0)