OSDN Git Service

Remove getNetworkType() from ServiceState
authorNathan Harold <nharold@google.com>
Mon, 9 Oct 2017 18:27:40 +0000 (11:27 -0700)
committerNathan Harold <nharold@google.com>
Fri, 13 Oct 2017 19:06:02 +0000 (12:06 -0700)
This method was deprecated 4 years and 11 months ago
and set to be removed in 2013. It was replaced by
getVoiceNetworkType().

Bug: 67589287
Test: make checkbuild on goog/master
Change-Id: I5fefa755738ff2fb3f3babfcafd4dfb329314feb

telephony/java/android/telephony/ServiceState.java

index e448fb2..116e711 100644 (file)
@@ -1197,15 +1197,6 @@ public class ServiceState implements Parcelable {
         }
     }
 
-    /**
-     * @Deprecated to be removed Q3 2013 use {@link #getVoiceNetworkType}
-     * @hide
-     */
-    public int getNetworkType() {
-        Rlog.e(LOG_TAG, "ServiceState.getNetworkType() DEPRECATED will be removed *******");
-        return rilRadioTechnologyToNetworkType(mRilVoiceRadioTechnology);
-    }
-
     /** @hide */
     public int getDataNetworkType() {
         return rilRadioTechnologyToNetworkType(mRilDataRadioTechnology);