Bug 1137093 - Part 07: Use notifyCurrentCalls (idl). r=hsinyi
authorSzu-Yu Chen [:aknow] <szchen@mozilla.com>
Tue, 24 Mar 2015 18:04:49 +0800
changeset 264430 614fb637c4c9af1e93df0e870ee956c2e291e25f
parent 264429 f85ea6b494aff2b1f43db0da6572c5aa27bb009d
child 264431 f55f46bfd8a220152e4c5fa5ee8828184b1acec2
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsinyi
bugs1137093
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1137093 - Part 07: Use notifyCurrentCalls (idl). r=hsinyi
dom/telephony/nsIGonkTelephonyService.idl
--- a/dom/telephony/nsIGonkTelephonyService.idl
+++ b/dom/telephony/nsIGonkTelephonyService.idl
@@ -5,30 +5,23 @@
 
 #include "nsITelephonyService.idl"
 
 %{C++
 #define GONK_TELEPHONY_SERVICE_CONTRACTID \
         "@mozilla.org/telephony/gonktelephonyservice;1"
 %}
 
-[scriptable, uuid(bf1327e7-ce5f-4bc4-b8ba-101bbe57ff69)]
+[scriptable, uuid(d287e11a-0a65-4456-b481-c63d62afdb5d)]
 interface nsIGonkTelephonyService : nsITelephonyService
 {
-  void notifyAudioStateChanged(in unsigned long clientId, in short state);
-
-  void notifyCallDisconnected(in unsigned long clientId, in jsval call);
-
   void notifyCallRing();
 
-  void notifyCallStateChanged(in unsigned long clientId, in jsval call,
-                              [optional] in boolean skipStateConversion);
+  void notifyCurrentCalls(in unsigned long clientId, in jsval calls);
 
   void notifyCdmaCallWaiting(in unsigned long clientId, in jsval waitingCall);
 
   void notifySupplementaryService(in unsigned long clientId, in AString number,
                                   in AString notification);
 
-  void notifyConferenceCallStateChanged(in short state);
-
   void notifyUssdReceived(in unsigned long clientId, in DOMString message,
                           in boolean sessionEnded);
 };