OSDN Git Service

Deprecate most of NetworkInfo.
authorChalard Jean <jchalard@google.com>
Thu, 8 Mar 2018 04:54:53 +0000 (13:54 +0900)
committerChalard Jean <jchalard@google.com>
Fri, 9 Mar 2018 06:38:25 +0000 (15:38 +0900)
commit8117f93a492fd792aee80d73f436975713055d2d
treee10418ec86a0d5ca042d918e4df4ed363179dc4a
parent59787b42475d4814495f99a94023e5ee25a5c43c
Deprecate most of NetworkInfo.

getType, getTypeName, isConnectedOrConnecting, isConnected,
isAvaisable, isFailover, isRoaming, getState, getDetailedState,
getReason, and the TYPE_* constants in ConnectivityManager
along with methods that use them are now stacked on a boat
bound for the other side of the Styx.

Test: no code changes
Bug: 62844794
Change-Id: Idd70763de5b1af5580b4734cd443ac4b570069cc
api/current.txt
core/java/android/net/ConnectivityManager.java
core/java/android/net/NetworkInfo.java