Merge "Revert "Add a SubId to getDataState and getDataActivity""
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 1ba1edd..87b2033 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -1871,10 +1871,10 @@
}
@Override
- public int getDataState(int subId) {
+ public int getDataState() {
final long identity = Binder.clearCallingIdentity();
try {
- final Phone phone = getPhone(subId);
+ Phone phone = getPhone(mSubscriptionController.getDefaultDataSubId());
if (phone != null) {
return PhoneConstantConversions.convertDataState(phone.getDataConnectionState());
} else {
@@ -1887,10 +1887,10 @@
}
@Override
- public int getDataActivity(int subId) {
+ public int getDataActivity() {
final long identity = Binder.clearCallingIdentity();
try {
- final Phone phone = getPhone(subId);
+ Phone phone = getPhone(mSubscriptionController.getDefaultDataSubId());
if (phone != null) {
return DefaultPhoneNotifier.convertDataActivityState(phone.getDataActivityState());
} else {