Loading core/java/com/android/internal/os/Zygote.java +9 −0 Original line number Diff line number Diff line Loading @@ -1270,6 +1270,15 @@ public final class Zygote { @NonNull ApplicationInfo info, @Nullable ProcessInfo processInfo, @Nullable IPlatformCompat platformCompat) { String appOverride = SystemProperties.get("persist.arm64.memtag.app." + info.packageName); if ("sync".equals(appOverride)) { return MEMORY_TAG_LEVEL_SYNC; } else if ("async".equals(appOverride)) { return MEMORY_TAG_LEVEL_ASYNC; } else if ("off".equals(appOverride)) { return MEMORY_TAG_LEVEL_NONE; } // Look at the process attribute first. if (processInfo != null && processInfo.memtagMode != ApplicationInfo.MEMTAG_DEFAULT) { return memtagModeToZygoteMemtagLevel(processInfo.memtagMode); Loading Loading
core/java/com/android/internal/os/Zygote.java +9 −0 Original line number Diff line number Diff line Loading @@ -1270,6 +1270,15 @@ public final class Zygote { @NonNull ApplicationInfo info, @Nullable ProcessInfo processInfo, @Nullable IPlatformCompat platformCompat) { String appOverride = SystemProperties.get("persist.arm64.memtag.app." + info.packageName); if ("sync".equals(appOverride)) { return MEMORY_TAG_LEVEL_SYNC; } else if ("async".equals(appOverride)) { return MEMORY_TAG_LEVEL_ASYNC; } else if ("off".equals(appOverride)) { return MEMORY_TAG_LEVEL_NONE; } // Look at the process attribute first. if (processInfo != null && processInfo.memtagMode != ApplicationInfo.MEMTAG_DEFAULT) { return memtagModeToZygoteMemtagLevel(processInfo.memtagMode); Loading