Add unregistration method for post-dial listeners.
Santos Cordon [Fri, 10 Jul 2015 23:05:59 +0000 (16:05 -0700)]
Bug: 22410282
Change-Id: I6e24c83108f635542e81f05e53a4dd5a51b69141

src/java/com/android/internal/telephony/Connection.java

index f977d50..8edf67a 100644 (file)
@@ -389,6 +389,10 @@ public abstract class Connection {
         }
     }
 
+    public final void removePostDialListener(PostDialListener listener) {
+        mPostDialListeners.remove(listener);
+    }
+
     protected final void clearPostDialListeners() {
         mPostDialListeners.clear();
     }