Remove old indication for SRVCC changes
Bug: 117555643
Test: manual
Change-Id: Idd5677eeb0b1de7610f742267eecae78fc79e113
diff --git a/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyConstants.java b/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyConstants.java
index 62ed4ba..3cd7d54 100644
--- a/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyConstants.java
+++ b/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyConstants.java
@@ -345,7 +345,7 @@
public static final String EventDataConnectionStateChanged = "DataConnectionStateChanged";
public static final String EventServiceStateChanged = "ServiceStateChanged";
public static final String EventSignalStrengthChanged = "SignalStrengthChanged";
- public static final String EventVolteServiceStateChanged = "VolteServiceStateChanged";
+ public static final String EventSrvccStateChanged = "SrvccStateChanged";
public static final String EventMessageWaitingIndicatorChanged = "MessageWaitingIndicatorChanged";
public static final String EventPhysicalChannelConfigChanged = "PhysicalChannelConfigChanged";
diff --git a/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyStateListeners.java b/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyStateListeners.java
index b9fe705..c90c67a 100644
--- a/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyStateListeners.java
+++ b/Common/src/com/googlecode/android_scripting/facade/telephony/TelephonyStateListeners.java
@@ -16,7 +16,6 @@
package com.googlecode.android_scripting.facade.telephony;
-import com.googlecode.android_scripting.facade.EventFacade;
import android.os.Looper;
import android.telephony.CellInfo;
import android.telephony.DataConnectionRealTimeInfo;
@@ -27,7 +26,8 @@
import android.telephony.SignalStrength;
import android.telephony.SubscriptionManager;
import android.telephony.TelephonyManager;
-import android.telephony.VoLteServiceState;
+
+import com.googlecode.android_scripting.facade.EventFacade;
import java.util.List;
@@ -241,31 +241,31 @@
}
}
- public static class VolteServiceStateChangeListener
+ public static class SrvccStateChangeListener
extends PhoneStateListener {
private final EventFacade mEventFacade;
- public VolteServiceStateChangeListener(EventFacade ef) {
+ public SrvccStateChangeListener(EventFacade ef) {
super();
mEventFacade = ef;
}
- public VolteServiceStateChangeListener(EventFacade ef, int subId) {
+ public SrvccStateChangeListener(EventFacade ef, int subId) {
super(subId);
mEventFacade = ef;
}
- public VolteServiceStateChangeListener(EventFacade ef, int subId, Looper looper) {
+ public SrvccStateChangeListener(EventFacade ef, int subId, Looper looper) {
super(subId, looper);
mEventFacade = ef;
}
@Override
- public void onVoLteServiceStateChanged(VoLteServiceState volteInfo) {
+ public void onSrvccStateChanged(int srvccState) {
mEventFacade.postEvent(
- TelephonyConstants.EventVolteServiceStateChanged,
- volteInfo);
+ TelephonyConstants.EventSrvccStateChanged,
+ srvccState);
}
}