Merge "Use isProfileable rather than privateFlagsExt."
This commit is contained in:
committed by
Android (Google) Code Review
commit
059d94de87
@@ -1918,7 +1918,7 @@ public final class ProcessList {
|
|||||||
if ((app.info.privateFlags & ApplicationInfo.PRIVATE_FLAG_PROFILEABLE_BY_SHELL) != 0) {
|
if ((app.info.privateFlags & ApplicationInfo.PRIVATE_FLAG_PROFILEABLE_BY_SHELL) != 0) {
|
||||||
runtimeFlags |= Zygote.PROFILE_FROM_SHELL;
|
runtimeFlags |= Zygote.PROFILE_FROM_SHELL;
|
||||||
}
|
}
|
||||||
if ((app.info.privateFlagsExt & ApplicationInfo.PRIVATE_FLAG_EXT_PROFILEABLE) != 0) {
|
if (app.info.isProfileable()) {
|
||||||
runtimeFlags |= Zygote.PROFILEABLE;
|
runtimeFlags |= Zygote.PROFILEABLE;
|
||||||
}
|
}
|
||||||
if ("1".equals(SystemProperties.get("debug.checkjni"))) {
|
if ("1".equals(SystemProperties.get("debug.checkjni"))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user