diff options
| author | Sangcheol Lee <goodsc.lee@samsung.com> | 2021-06-10 16:06:07 +0900 |
|---|---|---|
| committer | Sangcheol Lee <goodsc.lee@samsung.com> | 2021-06-17 13:35:58 +0900 |
| commit | 1e5d7425965fca4c96aa282ab0e791b9344142d4 (patch) | |
| tree | e15de31385fb71d19984480bfb3fabdbdd1619cc /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 45f922a2ff748d7e2cebd9587f3007311691c20b (diff) | |
Use appId instead of uid
Multiple user's ares of mApps are not initialized in startMonitoring(),
so mApps.get(uid) of multi-user's app returns null in onPackageAdded().
As the result, permission of system uid is updated to "Network" and
any system application cannot use dedicated apn like IMS.
Using appId avoids this problem.
Bug: 168932048
Test: atest FrameworksNetTests
Signed-off-by: Sangcheol Lee <goodsc.lee@samsung.com>
Change-Id: Ib8ea2185d8056bddb2ca5a8006f83afb3cffc9f4
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
