Disable old Telephony updates when using PSTN Telecomm
This is a temporary workaround to allow PSTN Telecomm call services
and PSTN Telephony to co-exist. When a Telecomm PSTN call
is live we disable PSTN Telephony updates.
This prevents the old Telephony code from reacting to things like
incoming rings.
Change-Id: Ic283bed28005f534d337fefb47da445f2dc22c12
diff --git a/src/com/android/phone/PhoneGlobals.java b/src/com/android/phone/PhoneGlobals.java
index 2059b64..d7b109d 100644
--- a/src/com/android/phone/PhoneGlobals.java
+++ b/src/com/android/phone/PhoneGlobals.java
@@ -600,7 +600,7 @@
/**
* Returns the singleton instance of the PhoneApp.
*/
- static PhoneGlobals getInstance() {
+ public static PhoneGlobals getInstance() {
if (sMe == null) {
throw new IllegalStateException("No PhoneGlobals here!");
}
@@ -642,7 +642,7 @@
return audioRouter;
}
- /* package */ CallModeler getCallModeler() {
+ public CallModeler getCallModeler() {
return callModeler;
}