commit | 0d69d3dfe152024fcfea4a61644454702d69e556 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Mar 09 16:40:15 2016 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Mar 09 16:49:45 2016 -0700 |
tree | 44edaea2b6b9e4dbd6990271ce657e2dbf18b215 | |
parent | b8e8a91f54f9f11a5936611c00d198ed21824854 [diff] |
Restrict TrafficStats due to privacy concerns. Granular per-UID network statistics can be used to infer user behavior over time, so they fall under the umbrella of the PACKAGE_USAGE_STATS permission. Since we can't check app-ops based permissions in the kernel, the best we can do is redirect users to the NetworkStatsManager class, which offers a much more robust historical data set. Bug: 27577101 Change-Id: I696bdc5e0b3d7e24acf35f388d0ab13617ed8af3