Merge "Adjust dangerousPermissionSampled atom sampling rate to 1%"

This commit is contained in:
Stanislav Zholnin
2020-01-29 14:15:49 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}