commit | 1e5d7425965fca4c96aa282ab0e791b9344142d4 | [log] [tgz] |
---|---|---|
author | Sangcheol Lee <goodsc.lee@samsung.com> | Thu Jun 10 16:06:07 2021 +0900 |
committer | Sangcheol Lee <goodsc.lee@samsung.com> | Thu Jun 17 13:35:58 2021 +0900 |
tree | e15de31385fb71d19984480bfb3fabdbdd1619cc | |
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