commit | d760c90c8ccd6ad52f75a5af3c9690f47f12bbea | [log] [tgz] |
---|---|---|
author | Mathew Inwood <mathewi@google.com> | Tue Mar 27 16:26:47 2018 +0100 |
committer | Mathew Inwood <mathewi@google.com> | Tue Apr 10 14:32:31 2018 +0100 |
tree | 88ac0e34a6903cba030d42fa6cd80e3b9719f446 | |
parent | 23d87b4834dd76aaa7a719c9775aba0c6cee8866 [diff] |
Configurable sample rate for hidden API log events To reduce log spam, we do not log all hidden API accesses. This CL allows configuration of the sampling rate of the log events so it can be tweaked later if necessary. Test: m Test: $ adb shell settings put global hidden_api_access_log_sampling_rate 100 Bug: 64382372 Bug: 77517571 Change-Id: Ibec5d3d93bac4308f96c8d3a7a36de6add967eae