Use isProfileable rather than privateFlagsExt.

Change-Id: Ie2bade7355e6b0754cf2a2f42bf96e050d399895
This commit is contained in:
Florian Mayer
2022-02-09 16:42:41 -08:00
parent 26d4d356bd
commit fff9ec21bc

View File

@@ -1918,7 +1918,7 @@ public final class ProcessList {
if ((app.info.privateFlags & ApplicationInfo.PRIVATE_FLAG_PROFILEABLE_BY_SHELL) != 0) {
runtimeFlags |= Zygote.PROFILE_FROM_SHELL;
}
if ((app.info.privateFlagsExt & ApplicationInfo.PRIVATE_FLAG_EXT_PROFILEABLE) != 0) {
if (app.info.isProfileable()) {
runtimeFlags |= Zygote.PROFILEABLE;
}
if ("1".equals(SystemProperties.get("debug.checkjni"))) {