aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.xml
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-02-26 12:16:16 +0100
committerJose Dapena Paz <jdapena@igalia.com>2022-03-01 18:04:03 +0100
commit8ad6b022196ec689eed08c0f3315a53723d4af0c (patch)
treead749ca05d0c3948beec81d4f0c3f3a852e8456a /src/config.xml
parent48970567f1943fb70ef1526827c21548d23695e7 (diff)
Migrate to new application framework
First, move to use the appService API added as injection in AGL chromium. Then, added stubs for the network and weather APIs as there is no API available right now for them. Bug-AGL: SPEC-4250 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I974097edcef6318585e4e79360dbec6fea7cf480
Diffstat (limited to 'src/config.xml')
-rw-r--r--src/config.xml17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/config.xml b/src/config.xml
index fd74ca5..c882d1f 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" id="webapps-html5-homescreen" version="1.0.0">
+<widget xmlns="http://www.w3.org/ns/widgets" id="homescreen" version="1.0.0">
<name>Homescreen</name>
<icon src="icon.svg"/>
<content src="index.html" type="text/html"/>
@@ -8,20 +8,7 @@
<license>APL 2.0</license>
<surface role="panel" panel="left"/>
<window width="218"/>
- <feature name="urn:AGL:widget:required-permission">
- <param name="urn:AGL:permission::system:run-by-default" value="required" />
- <param name="urn:AGL:permission::public:no-htdocs" value="required" />
- <param name="urn:AGL:permission::public:display" value="required" />
- <param name="urn:AGL:permission::public:audio" value="required" />
- <param name="urn:AGL:permission:afm:system:widget" value="required" /> <!-- list available apps -->
- <param name="urn:AGL:permission:afm:system:runner" value="required" /> <!-- run other apps -->
- <param name="urn:AGL:permission::public:applications:read" value="required" /> <!-- get app icons -->
- </feature>
<feature name="urn:AGL:widget:required-api">
- <param name="homescreen" value="ws" />
- <param name="network-manager" value="ws" />
- <param name="weather" value="ws" />
- <param name="Bluetooth-Manager" value="ws" />
- <param name="afm-main" value="ws" />
+ <param name="agl_appservice" value="injection" />
</feature>
</widget>