mirror of
https://github.com/LSPosed/DisableFlagSecure.git
synced 2025-05-05 02:09:43 +08:00
Check isFirstApplication
This commit is contained in:
parent
e9d7255888
commit
cd8d101b8c
@ -129,7 +129,7 @@ public class DisableFlagSecure implements IXposedHookLoadPackage {
|
|||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
XposedBridge.log(t);
|
XposedBridge.log(t);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (loadPackageParam.isFirstApplication) {
|
||||||
XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook() {
|
XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook() {
|
||||||
@Override
|
@Override
|
||||||
protected void afterHookedMethod(MethodHookParam param) {
|
protected void afterHookedMethod(MethodHookParam param) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user