summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorCody Kesting <ckesting@google.com>2020-03-04 13:35:20 -0800
committerCody Kesting <ckesting@google.com>2020-03-30 17:14:07 -0700
commit13564eedd5aa46aff93a31fef33058748df1f231 (patch)
treeebda883c678e2200976e0c64c89f7d9a0a186f6b /tools/aapt2/diff/Diff.cpp
parent560eb2655bc0ffc9b1addc10b7acd1eea4070360 (diff)
Decrement networkRequestPerUid when callbacks are unregistered.
ConnectivityDiagnosticsCallbacks are tied to NetworkRequestInfo objects when registered with the platform. Each NetworkRequestInfo is tied to a specific uid, and ConnectivityService enforces a limit on the number of network requests that can be associated with each uid. When ConnectivityDiagnosticsCallbacks are unregistered from the platform, their NetworkRequestInfo is freed and the number of network requests per the user's uid should be decremented. Bug: 150802582 Test: atest android.net.cts.ConnectivityDiagnosticsManagerTest Change-Id: Ia5ed39c1d8e6221cd402be4f8baf69fa643a6113 Merged-In: Ia5ed39c1d8e6221cd402be4f8baf69fa643a6113 (cherry picked from commit 662076b1a7c0f064fa746fc7b8d3204c966c8e48)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions