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

Commit c872b812 authored by Stanislav Zholnin's avatar Stanislav Zholnin Committed by Android (Google) Code Review
Browse files

Merge "Adjust dangerousPermissionSampled atom sampling rate to 1%"

parents 0776d7f4 39307b08
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;
                    }