mirror of
https://github.com/LSPosed/DisableFlagSecure.git
synced 2025-05-04 22:43:25 +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) {
|
||||
XposedBridge.log(t);
|
||||
}
|
||||
} else {
|
||||
} else if (loadPackageParam.isFirstApplication) {
|
||||
XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook() {
|
||||
@Override
|
||||
protected void afterHookedMethod(MethodHookParam param) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user