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

Commit 0d3c8686 authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

profcollectd: Rename config env to persist.* am: b6bb23ce am: 790ac8d3 am:...

profcollectd: Rename config env to persist.* am: b6bb23ce am: 790ac8d3 am: bdf21de7 am: 99e8bf8d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425269

Change-Id: I9bf8ab2bc6b60b1ac562cb370a40bb5baba85254
parents ab6c5c19 99e8bf8d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -150,7 +150,8 @@ public final class ProfcollectForwardingService extends SystemService {
        }

        // Sample for a fraction of app launches.
        int traceFrequency = SystemProperties.getInt("profcollectd.applaunch_trace_freq", 2);
        int traceFrequency =
                SystemProperties.getInt("persist.profcollectd.applaunch_trace_freq", 2);
        int randomNum = ThreadLocalRandom.current().nextInt(100);
        if (randomNum < traceFrequency) {
            try {