summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRambo Wang <rambowang@google.com>2019-12-12 18:16:10 -0800
committerRambo Wang <rambowang@google.com>2020-01-14 10:51:11 -0800
commit818cf71da853a6ce0022b7bf1a8ce48405fc3648 (patch)
treeea451a1ceda2b4f0e06e0324eae073222837ae0d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6408fa473fb3d3493650dd96841f7a2ca2148288 (diff)
Replace StringNetworkSpecifier & subId with TelephonyNetworkSpecifer
StringNetworkSpecifier is widely used to specify subscription id for the NetworkRequest. The raw string field introduce ambiguity and leave large space for bugs. With TelephonyNetworkSpecifer, we are able to settle down the type and value of the fields (although currently only one) and introduce validation to detect the bug in the beginning. Bug: 145993724 Test: atest FrameworksNetTests FrameworksTelephonyTests & make offline-sdk-docs Change-Id: Iefbad9b1deb3de2c0b262d9ce5ae0704a50d08a6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions