Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03d23999 authored by Nathan Harold's avatar Nathan Harold
Browse files

Remove getNetworkType() from ServiceState

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
parent 432c2b0f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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);