commit | dc17982648627f42df2706cc1334912aa22a67f5 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Fri Mar 08 11:55:12 2019 -0800 |
committer | Chenbo Feng <fengc@google.com> | Tue Mar 26 15:16:26 2019 -0700 |
tree | a9bbc52a2b4e2c4f494c56894eb3b9a143c1aef0 | |
parent | c365007e5f7149690d7a1c63320bd419f466b191 [diff] |
Fix the INTERNET related permissions Change the INTERNET permission implementation so it only block socket creation when non of the packages under the same uid have internet permission. Fix the UPDATE_DEVICE_STATS permission so only the uid that own the permission can change it. Bug: 111560570 Test: CtsNetTestCasesUpdateStatsPermission CtsNetTestCasesInternetPermission Change-Id: I42385526c191d4429f486cde01293b27fcc1374b