commit | e2a922ae4c38420406a6ed6350e1bcece73e6f93 | [log] [tgz] |
---|---|---|
author | Paul Jensen <pauljensen@google.com> | Fri Aug 28 12:00:15 2015 -0400 |
committer | The Android Automerger <android-build@google.com> | Wed Oct 21 11:41:30 2015 -0700 |
tree | f1c6c2ddfee2209798de1a67a1112df6caa67ecc | |
parent | c6f335c1d64e4f02d8d84ea03ca84f07ef749fbe [diff] |
Don't mark NetworkRequests restricted when they don't have restricted caps Requests without NET_CAPABILITIES_INTERNET and just the default network capabilities should not be marked restricted. Without this fix apps can hit permissions exceptions if they inadvertently make requests without NET_CAPABILITIES_INTERNET. Bug:23164917 Change-Id: I4c7136821315bcb05dfc42ffbc505a5d4f6109e6 (cherry picked from commit aae613d96134245af7c55976731a49fa59e77470)