Release Vulpes OS 2.7-preview.24
This commit is contained in:
parent
49572b6b45
commit
97ef99f827
135 changed files with 7717 additions and 2524 deletions
|
|
@ -290,8 +290,12 @@ define(function(require) {
|
|||
*/
|
||||
_loadApps: function pl__loadApps(apps) {
|
||||
var table = this._permissionTable;
|
||||
var internalRoles = ['system', 'input', 'homescreen', 'search', 'addon', 'langpack'];
|
||||
apps.forEach(function(app) {
|
||||
var manifest = app.manifest ? app.manifest : app.updateManifest;
|
||||
if (manifest.role && internalRoles.indexOf(manifest.role) !== -1) {
|
||||
return;
|
||||
}
|
||||
if (manifest.type != 'certified') {
|
||||
this._apps.push(app);
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ define(function(require) {
|
|||
}
|
||||
} else if (time !== Infinity && time === 0) {
|
||||
l10nAttrs.id = 'battery-' + type + '-complete';
|
||||
} else {
|
||||
l10nAttrs.id = 'battery-' + type + '-unavailable';
|
||||
}
|
||||
|
||||
return l10nAttrs;
|
||||
|
|
|
|||
Loading…
Reference in a new issue