Merge "Fix ConnectivityServiceTest fail."
This commit is contained in:
@@ -469,7 +469,10 @@ public class PermissionMonitor {
|
|||||||
*/
|
*/
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
void sendPackagePermissionsToNetd(SparseIntArray netdPermissionsAppIds) {
|
void sendPackagePermissionsToNetd(SparseIntArray netdPermissionsAppIds) {
|
||||||
|
if (mNetd == null) {
|
||||||
|
Log.e(TAG, "Failed to get the netd service");
|
||||||
|
return;
|
||||||
|
}
|
||||||
ArrayList<Integer> allPermissionAppIds = new ArrayList<>();
|
ArrayList<Integer> allPermissionAppIds = new ArrayList<>();
|
||||||
ArrayList<Integer> internetPermissionAppIds = new ArrayList<>();
|
ArrayList<Integer> internetPermissionAppIds = new ArrayList<>();
|
||||||
ArrayList<Integer> updateStatsPermissionAppIds = new ArrayList<>();
|
ArrayList<Integer> updateStatsPermissionAppIds = new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user