Bug 833908: explicitly export spn related attributes in nsIICCRecords. r=allstars.chh, a=tef+
authorVicamo Yang <vyang@mozilla.com>
Fri, 25 Jan 2013 10:01:26 +0800
changeset 118334 deb5185f2af9
parent 118333 56254819e70e
child 118335 1be54f370d04
push id358
push userjst@mozilla.com
push dateFri, 25 Jan 2013 09:02:39 +0000
reviewersallstars, tef
bugs833908
milestone18.0
Bug 833908: explicitly export spn related attributes in nsIICCRecords. r=allstars.chh, a=tef+
dom/system/gonk/nsIRadioInterfaceLayer.idl
--- a/dom/system/gonk/nsIRadioInterfaceLayer.idl
+++ b/dom/system/gonk/nsIRadioInterfaceLayer.idl
@@ -220,17 +220,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;
 
   /**
@@ -262,16 +262,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;