summaryrefslogtreecommitdiff
path: root/identity/java
diff options
context:
space:
mode:
author Junyu Lai <junyulai@google.com> 2021-12-30 10:49:29 +0000
committer Junyu Lai <junyulai@google.com> 2022-01-03 15:15:05 +0000
commit1e3e87b14a9e88d24337fc99221e7d3e153eefe8 (patch)
tree0167a014bc22a0fe8a2d2fb63a8f01d90ba4829e /identity/java
parentfe054b770c996d5cfb3efc1732116c639e11a72c (diff)
[MS31] Fix several hidden API usages
This includes: 1. Replace UserHandle.getUid(userId, appId) with public API 2. Remove Preconditions.checkArgument 3. Replace MathUtil.constrain with the one in NetworkStatsUtils 4. Remove Sets 5. Replace NetworkStack.checkNetworkStackPermission with the one in the PermissionUtils 6. Replace internal CollectionUtils with the one in the module 7. Inline ProtoOutputStream(fd) 8. Replace Intent.EXTRA_USER_HANDLE with Intent.EXTRA_USER Test: atest NetworkStatsSubscriptionsMonitorTest \ NetworkStatsServiceTest Bug: 204830222 Change-Id: If06a27b04ad15c29052b670eefc2f6dc0d199420
Diffstat (limited to 'identity/java')
0 files changed, 0 insertions, 0 deletions