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

Commit afa79585 authored by Wink Saville's avatar Wink Saville
Browse files

Remove getCurrentDataConnectionList.

This should not be exposed externally and is used only by
RadioInfo.java a hidden application used for debugging.
I'll another mechanism which will probably use an
asynchronous interface with the DataConnectionTracker.

Change-Id: Ic21cc8d45bd3172c2ceeab154eca6118d94580e9
parent 64c42cae
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -365,14 +365,6 @@ public abstract class DataConnectionTracker extends Handler {
        return mActivity;
    }

    /**
     * @return the data connections
     */
    public ArrayList<DataConnection> getAllDataConnections() {
        /** TODO: change return type to Collection? */
        return new ArrayList<DataConnection>(mDataConnections.values());
    }

    public boolean isApnTypeActive(String type) {
        // TODO: support simultaneous with List instead
        if (Phone.APN_TYPE_DUN.equals(type)) {
+0 −7
Original line number Diff line number Diff line
@@ -1249,13 +1249,6 @@ public interface Phone {
     */
    void getDataCallList(Message response);

    /**
     * Get current mutiple data connection status
     *
     * @return list of data connections
     */
    List<DataConnection> getCurrentDataConnectionList();

    /**
     * Update the ServiceState CellLocation for current network registration.
     */
+0 −4
Original line number Diff line number Diff line
@@ -593,10 +593,6 @@ public class PhoneProxy extends Handler implements Phone {
        mActivePhone.getDataCallList(response);
    }

    public List<DataConnection> getCurrentDataConnectionList() {
        return mActivePhone.getCurrentDataConnectionList();
    }

    public void updateServiceLocation() {
        mActivePhone.updateServiceLocation();
    }
+0 −4
Original line number Diff line number Diff line
@@ -727,10 +727,6 @@ public class CDMAPhone extends PhoneBase {
        return mDataConnectionTracker.getDataOnRoamingEnabled();
    }

    public List<DataConnection> getCurrentDataConnectionList () {
        return mDataConnectionTracker.getAllDataConnections();
    }

    public void setVoiceMailNumber(String alphaTag,
                                   String voiceMailNumber,
                                   Message onComplete) {
+0 −4
Original line number Diff line number Diff line
@@ -1069,10 +1069,6 @@ public class GSMPhone extends PhoneBase {
        mCM.getDataCallList(response);
    }

    public List<DataConnection> getCurrentDataConnectionList () {
        return mDataConnectionTracker.getAllDataConnections();
    }

    public void updateServiceLocation() {
        mSST.enableSingleLocationUpdate();
    }