Bug 833908: explicitly export spn related attributes in nsIICCRecords. r=allstars.chh, a=tef+
--- 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;