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:40:49 -0700
commit45bbc4f6ac910a2ea87eb6b2197e34db50d3ada8 (patch)
treeccf49015237ce6ba9ce2ea2f13cf042c1e57ac68 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf047313940b5af49a3b0e72a5f2d94fc1dda9c9d (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions