OSDN Git Service

Remove redundent getCurrentCdmaDataConnectionState
[android-x86/frameworks-base.git] / telephony / java / com / android / internal / telephony / cdma / CDMALTEPhone.java
index 586e6b3..5733164 100644 (file)
@@ -87,7 +87,7 @@ public class CDMALTEPhone extends CDMAPhone {
             // already been called
 
             ret = DataState.DISCONNECTED;
-        } else if (mSST.getCurrentCdmaDataConnectionState() != ServiceState.STATE_IN_SERVICE) {
+        } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) {
             // If we're out of service, open TCP sockets may still work
             // but no data will flow
             ret = DataState.DISCONNECTED;