summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCody Kesting <ckesting@google.com>2020-03-05 22:13:31 -0800
committerCody Kesting <ckesting@google.com>2020-03-30 17:46:59 -0700
commite277c77fe1d91de10b14097f672c25a7dd289214 (patch)
treef57dca2e386bc4f4295cde3226befc5a4f82ef25 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent982013743bf47366f92564dfb3870a1076ba881c (diff)
Update CS helper for clearing NetworkCapabilities UIDs.
NetworkCapabilities needs to have its UIDs cleared (UID ranges, owner UID, and administrator UIDs) before it can be shared with apps via ConnectivityDiagnosticsCallback invocations. The previous helper used for clearing these values mutated the provided NetworkCapabilities. This is updated to instead return a sanitized copy of the provided NetworkCapabilities Bug: 148942124 Test: atest FrameworksNetTests Change-Id: I2431a6d273d0d73432919baf41b4f66397f4b7dc Merged-In: I2431a6d273d0d73432919baf41b4f66397f4b7dc (cherry picked from commit 45bbc4f6ac910a2ea87eb6b2197e34db50d3ada8)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions