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

Commit 39307b08 authored by Stanislav Zholnin's avatar Stanislav Zholnin
Browse files

Adjust dangerousPermissionSampled atom sampling rate to 1%

Test: ./out/host/linux-x86/bin/statsd_testdrive 10067
Change-Id: I2c2984d320e8d59c509ef5bddc429f1ba20fd983
parent 4e09642d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2562,7 +2562,7 @@ public class StatsPullAtomService extends SystemService {
                    reportedUids.add(pkg.applicationInfo.uid);

                    if (atomTag == StatsLog.DANGEROUS_PERMISSION_STATE_SAMPLED
                            && ThreadLocalRandom.current().nextFloat() > 0.2f) {
                            && ThreadLocalRandom.current().nextFloat() > 0.01f) {
                        continue;
                    }