From 61234dc03410bd26a35413de30d95646a5e2dbdf Mon Sep 17 00:00:00 2001 From: Herman van Hazendonk Date: Tue, 19 May 2020 10:11:33 +0200 Subject: [PATCH] core-apps; Add requiredPermissions to appinfo.json In order to make sure things with correctly with ACG. Signed-off-by: Herman van Hazendonk --- com.palm.app.accounts/appinfo.json | 3 +- com.palm.app.calendar/appinfo.json | 3 +- com.palm.app.clock/appinfo.json | 5 ++-- com.palm.app.contacts/appinfo.json | 3 +- com.palm.app.email/appinfo.json | 3 +- com.palm.app.notes/appinfo.json | 47 +++++++++++++++--------------- 6 files changed, 35 insertions(+), 29 deletions(-) diff --git a/com.palm.app.accounts/appinfo.json b/com.palm.app.accounts/appinfo.json index fc8e0e2..8e4979c 100644 --- a/com.palm.app.accounts/appinfo.json +++ b/com.palm.app.accounts/appinfo.json @@ -6,5 +6,6 @@ "main": "index.html", "title": "Accounts", "icon": "icon.png", - "uiRevision": 2 + "uiRevision": 2, + "requiredPermissions": ["applications.internal", "applications", "activities.manage", "devices", "settings", "settings.read", "services", "database", "database.internal", "filecache", "system", "networking", "networking.internal"] } diff --git a/com.palm.app.calendar/appinfo.json b/com.palm.app.calendar/appinfo.json index dbf8b6f..7920a68 100644 --- a/com.palm.app.calendar/appinfo.json +++ b/com.palm.app.calendar/appinfo.json @@ -40,5 +40,6 @@ "limit" : 20 } } - } + }, + "requiredPermissions": ["applications.internal", "applications", "activities.manage", "devices", "settings", "settings.read", "services", "database", "database.internal", "filecache", "system", "networking", "networking.internal"] } diff --git a/com.palm.app.clock/appinfo.json b/com.palm.app.clock/appinfo.json index 024fed6..30dea59 100644 --- a/com.palm.app.clock/appinfo.json +++ b/com.palm.app.clock/appinfo.json @@ -6,9 +6,10 @@ "main": "index.html", "title": "Clock", "icon": "icon.png", - "splashicon": "icon.png", + "splashicon": "icon.png", "noWindow": true, "uiRevision": 2, "debug": false, - "removable": false + "removable": false, + "requiredPermissions": ["applications.internal", "applications", "activities.manage", "devices", "settings", "settings.read", "services", "database", "database.internal", "filecache", "system", "networking", "networking.internal", "time", "activities.manage"] } diff --git a/com.palm.app.contacts/appinfo.json b/com.palm.app.contacts/appinfo.json index 078ba2d..a627c4e 100644 --- a/com.palm.app.contacts/appinfo.json +++ b/com.palm.app.contacts/appinfo.json @@ -7,5 +7,6 @@ "main" : "index.html", "title" : "Contacts", "icon" : "icon.png", - "removable" : false + "removable" : false, + "requiredPermissions": ["applications.internal", "applications", "activities.manage", "devices", "settings", "settings.read", "services", "database", "database.internal", "filecache", "system", "networking", "networking.internal"] } diff --git a/com.palm.app.email/appinfo.json b/com.palm.app.email/appinfo.json index 0d5a02a..be3c0a6 100644 --- a/com.palm.app.email/appinfo.json +++ b/com.palm.app.email/appinfo.json @@ -49,5 +49,6 @@ "limit" : 20 } } - } + }, + "requiredPermissions": ["applications.internal", "applications", "activities.manage", "devices", "settings", "settings.read", "services", "database", "database.internal", "filecache", "system", "networking", "networking.internal"] } diff --git a/com.palm.app.notes/appinfo.json b/com.palm.app.notes/appinfo.json index 96304d8..4bca827 100644 --- a/com.palm.app.notes/appinfo.json +++ b/com.palm.app.notes/appinfo.json @@ -1,25 +1,26 @@ { - "timestamp": "2011-06-02.10:48:51", - "title": "Memos", - "icon": "icon.png", - "id": "com.palm.app.notes", - "version": "3.0.2500", - "type": "web", - "removable": false, - "uiRevision": 2, - "main": "index.html", - "vendor": "HP", - "universalSearch": { - "action": { - "displayName": "New Memo", - "url": "com.palm.app.notes", - "launchParam": "text" - } - }, - "keywords": [ - "Notes", - "Stickies", - "Notepad" - ], - "splashBackground": "images/splash-background.png" + "timestamp": "2011-06-02.10:48:51", + "title": "Memos", + "icon": "icon.png", + "id": "com.palm.app.notes", + "version": "3.0.2500", + "type": "web", + "removable": false, + "uiRevision": 2, + "main": "index.html", + "vendor": "HP", + "universalSearch": { + "action": { + "displayName": "New Memo", + "url": "com.palm.app.notes", + "launchParam": "text" + } + }, + "keywords": [ + "Notes", + "Stickies", + "Notepad" + ], + "splashBackground": "images/splash-background.png", + "requiredPermissions": ["applications.internal", "applications", "activities.manage", "devices", "settings", "settings.read", "services", "database", "database.internal", "filecache", "system", "networking", "networking.internal"] }