commit | dca7230c1d28fcf12688dd1a8446ffd17e3afd8c | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Mon Jun 28 04:17:53 2021 +0000 |
committer | paulhu <paulhu@google.com> | Tue Jun 29 16:07:54 2021 +0800 |
tree | 02d837ebd5cef74ef4f370c77420299179f70927 | |
parent | fadd7b7a334004e2785bdd2467c3586bdf1061d0 [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> Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1733212 Merged-In: Ib8ea2185d8056bddb2ca5a8006f83afb3cffc9f4 Change-Id: Ib8ea2185d8056bddb2ca5a8006f83afb3cffc9f4