Disable old Telephony updates
This CL disables Telephony updates. This prevents the old Telephony
code from reacting to things like incoming rings.
Change-Id: I6318a4f196379a474abb8d2374ae2927d241478c
diff --git a/src/com/android/phone/CallModeler.java b/src/com/android/phone/CallModeler.java
index 3e37f29..edf0656 100644
--- a/src/com/android/phone/CallModeler.java
+++ b/src/com/android/phone/CallModeler.java
@@ -132,9 +132,12 @@
public void addListener(Listener listener) {
Preconditions.checkNotNull(listener);
Preconditions.checkNotNull(mListeners);
+ // Disable updates to avoid interference between Telecomm and Telephony.
+ /*
if (!mListeners.contains(listener)) {
mListeners.add(listener);
}
+ */
}
public List<Call> getFullList() {