summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-07-28 09:18:46 +0000
committerLorenzo Colitti <lorenzo@google.com>2020-07-28 09:20:19 +0000
commita40ff70cad00a6c298e07c2c38e95d58074a7157 (patch)
treea3b4fae38515c8ee3f0658bc174e77267ce351d4 /tools/aapt2/java/JavaClassGenerator.cpp
parent83578eaa9547cf887d4a24d89315f5232d1fcc47 (diff)
Set the NetworkInfo subtype to 0.
For non-telephony networks, this was always set to 0 before R. In R, it is currently set to the same value as the network type. This is incorrect because the two have different namespaces. or example, currently, any network of type WIFI (==1) will have a subtype of NETWORK_TYPE_GPRS (==1). Similarly, all ETHERNET networks will have subtype NETWORK_TYPE_1XRTT, all VPN networks will have a subtype of NETWORK_TYPE_TD_SCDMA, etd. Bug: 161653721 Test: builds, boots Change-Id: I07e111c1762e0021c931cefc27f193f78578748b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions