Bug 674741 - Part 5: NFC Permissions Changes. r=fabrice

--HG--
extra : rebase_source : 77f7485328b2fd1e57cf6b8ef845dcd0afb7845e
This commit is contained in:
Garner Lee 2013-11-04 17:17:05 -08:00
Родитель f544144e4d
Коммит 85bd10ff13
2 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -302,6 +302,17 @@ this.PermissionsTable = { geolocation: {
privileged: PROMPT_ACTION,
certified: PROMPT_ACTION
},
"nfc": {
app: DENY_ACTION,
privileged: DENY_ACTION,
certified: ALLOW_ACTION,
access: ["read", "write"]
},
"nfc-manager": {
app: DENY_ACTION,
privileged: DENY_ACTION,
certified: ALLOW_ACTION
},
};
/**

Просмотреть файл

@ -95,6 +95,15 @@ this.SystemMessagePermissionsTable = {
"cdma-info-rec-received": {
"mobileconnection": []
},
"nfc-manager-tech-discovered": {
"nfc-manager": []
},
"nfc-manager-tech-lost": {
"nfc-manager": []
},
"nfc-powerlevel-change": {
"settings": ["read", "write"]
}
};
this.SystemMessagePermissionsChecker = {