diff options
author | lucaslin <lucaslin@google.com> | 2021-04-07 20:32:39 +0800 |
---|---|---|
committer | lucaslin <lucaslin@google.com> | 2021-04-07 20:32:39 +0800 |
commit | afdb65906d65b1febb2e6ccab1094798a0ba0da0 (patch) | |
tree | 5aa396919362bdaa06143e475f41026fac38485e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f7923a9cc21746895ac459241e724b0da0339380 (diff) |
Replace MAX_NETWORK_TYPE with TYPE_VPN
ConnectivityManager#MAX_NETWORK_TYPE is a hidden API which cannot
be accessed after ConnectivityManager becomes a part of mainline
module.
Use the max public network type - TYPE_VPN should be enough since
TYPE_* is deprecated and no longer extended.
Bug: 182859030
Test: 1. Remove "framework-connectivity.impl"
2. cd frameworks/base/core/tests/bandwidthtests; mm
Change-Id: I27579a942a0424db647ad1f3383db78d5a0c69a9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions