temporary fix for A14 QPR3

This commit is contained in:
5ec1cff 2024-02-08 23:14:38 +08:00 committed by JingMatrix
parent 41eb1c63ad
commit 8c0fb4f5eb
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ public class ParasiticManagerHooker {
}
HiddenApiBridge.ApplicationInfo_resourceDirs(newAppInfo, HiddenApiBridge.ApplicationInfo_resourceDirs(appInfo));
newAppInfo.uid = appInfo.uid;
// FIXME: It seems the parsed flags is incorrect (0) on A14 QPR3
newAppInfo.flags = newAppInfo.flags | ApplicationInfo.FLAG_HAS_CODE;
} catch (Throwable e) {
Utils.logE("get manager pkginfo", e);
}