Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a87bd83d authored by Eric Miao's avatar Eric Miao
Browse files

Use readonly version of aconfig flag native_metrics

Bug: 375072865
Flag: EXEMPT bugfix

This has the same root cause as b/368409430. Use the readonly
version of aconfig flag native_metrics, so there will be no
I/O involved in Isolated Processes which do not have permission
for I/O.

Change-Id: Ib4d58e47a7b7244f55b7bd2c3d4d5241187875e7
parent 9126dc19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ public class MetricsLoggerWrapper {
    }

    public static void logPostGcMemorySnapshot() {
        if (!com.android.libcore.Flags.nativeMetrics()) {
        if (!com.android.libcore.readonly.Flags.nativeMetrics()) {
            return;
        }
        int pid = Process.myPid();