commit | 27c8a07be62321f2c724c6b5a01e82bdf2e76bfd | [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 | bb8a0db38c08acd1bb5dcd760f4fe9c76748f9cd | |
parent | 9f5c3b8c682a0672328151572e6ec3c0c6f01fef [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