Bug 833908: explicitly export spn related attributes in nsIICCRecords. r=allstars.chh
authorVicamo Yang <vyang@mozilla.com>
Fri, 25 Jan 2013 10:01:26 +0800
changeset 119837 3226c8ac08f71cce1d1749efb75effa9ada6b38b
parent 119836 17306ccdd8d51a654a9db5fd4cb9e9c713070ca5
child 119838 ef49b3dc87372831fc294a9f7dafd460b239c567
push id24231
push userryanvm@gmail.com
push dateSun, 27 Jan 2013 00:13:14 +0000
treeherdermozilla-central@d802d6faa080 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersallstars.chh
bugs833908
milestone21.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 833908: explicitly export spn related attributes in nsIICCRecords. r=allstars.chh
dom/system/gonk/nsIRadioInterfaceLayer.idl
--- a/dom/system/gonk/nsIRadioInterfaceLayer.idl
+++ b/dom/system/gonk/nsIRadioInterfaceLayer.idl
@@ -235,17 +235,17 @@ interface nsIRILContentHelper : nsIMobil
   attribute bool microphoneMuted;
   attribute bool speakerEnabled;
 
   readonly attribute nsIDOMMozVoicemailStatus voicemailStatus;
   readonly attribute DOMString voicemailNumber;
   readonly attribute DOMString voicemailDisplayName;
 };
 
-[scriptable, uuid(886251a4-18d9-4a54-a6a1-57d5c1d61ceb)]
+[scriptable, uuid(7cb249b8-7ec9-4e31-a043-293121574dd0)]
 interface nsIICCRecords : nsISupports
 {
   /**
    * Integrated Circuit Card Identifier.
    */
   readonly attribute DOMString iccid;
 
   /**
@@ -277,16 +277,31 @@ interface nsIICCRecords : nsISupports
    * Abbreviated dialling numbers
    */
   readonly attribute jsval adn;
 
   /**
    * Fixed Dialling Numbers
    */
   readonly attribute jsval fdn;
+
+  /**
+   * Service Provider Name (SPN) of the subscriber's home network.
+   */
+  readonly attribute DOMString spn;
+
+  /**
+   * Network name must be a part of displayed carrier name.
+   */
+  readonly attribute boolean isDisplayNetworkNameRequired;
+
+  /**
+   * Service provider name must be a part of displayed carrier name.
+   */
+  readonly attribute boolean isDisplaySpnRequired;
 };
 
 [scriptable, uuid(c0c5cb9f-6372-4b5a-b74c-baacc2da5e4f)]
 interface nsIVoicemailInfo : nsISupports
 {
   readonly attribute DOMString number;
 
   readonly attribute DOMString displayName;