diff options
author | Chiachang Wang <chiachangwang@google.com> | 2019-04-09 19:42:52 +0800 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2019-04-09 19:42:52 +0800 |
commit | e05d9d88bdd8a20ec028362ea770a6d939546121 (patch) | |
tree | 2b9101027e61060611e455afccc559000ef05c3d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 130b5bf146cfe7bc4684eef15661893dd57cf64f (diff) |
Enforce NETWORK_STACK permission for calling NSS#forceUpdateIfaces
ConnectivityManager and its usages are removed from
NetworkStatsService. After that, forceUpdateIfaces requires
information that only ConnectivityService has, hence
restricting the calling permission to NETWORK_STACK or
MAINLINE_NETWORK_STACK permission. The required permission
will be changed from READ_NETWORK_USAGE_HISTORY to
NETWORK_STACK or MAINLINE_NETWORK_STACK. This change would make
it impossible to call outside the system.
Bug: 126830974
Test: atest FrameworksNetTests
Change-Id: I776484921b2dbb6735d7940c558fb5e4baed6d1e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions