[parasitic] Fix autofill timeout (#1192)
This commit is contained in:
parent
01d3ed1ba7
commit
862988be2a
|
|
@ -231,7 +231,7 @@ androidComponents.onVariants { v ->
|
||||||
filter<ReplaceTokens>("tokens" to tokens)
|
filter<ReplaceTokens>("tokens" to tokens)
|
||||||
filter<FixCrLfFilter>("eol" to FixCrLfFilter.CrLf.newInstance("lf"))
|
filter<FixCrLfFilter>("eol" to FixCrLfFilter.CrLf.newInstance("lf"))
|
||||||
}
|
}
|
||||||
from("${project(":app").buildDir}/${if (rootProject.extra.properties["android.injected.invoked.from.ide"] == "true") "intermediates" else "outputs"}/apk/${variantLowered}") {
|
from("${project(":app").buildDir}/outputs/apk/${variantLowered}") {
|
||||||
include("*.apk")
|
include("*.apk")
|
||||||
rename(".*\\.apk", "manager.apk")
|
rename(".*\\.apk", "manager.apk")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,7 @@ public class ConfigManager {
|
||||||
if (info != null) {
|
if (info != null) {
|
||||||
managerUid = info.applicationInfo.uid;
|
managerUid = info.applicationInfo.uid;
|
||||||
} else {
|
} else {
|
||||||
|
managerUid = -1;
|
||||||
Log.i(TAG, "manager is not installed");
|
Log.i(TAG, "manager is not installed");
|
||||||
}
|
}
|
||||||
} catch (RemoteException ignored) {
|
} catch (RemoteException ignored) {
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ public class ParasiticManagerHooker {
|
||||||
if (param.args[i] instanceof Intent) {
|
if (param.args[i] instanceof Intent) {
|
||||||
var intent = (Intent) param.args[i];
|
var intent = (Intent) param.args[i];
|
||||||
checkIntent(managerService, intent);
|
checkIntent(managerService, intent);
|
||||||
intent.setComponent(new ComponentName(BuildConfig.MANAGER_INJECTED_PKG_NAME, "org.lsposed.manager.ui.activity.MainActivity"));
|
intent.setComponent(new ComponentName(intent.getComponent().getPackageName(), "org.lsposed.manager.ui.activity.MainActivity"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue