From 676ce330cfa62121c9cd68b29fec5dd2458b9eee Mon Sep 17 00:00:00 2001
From: Matt Porter <mporter@konsulko.com>
Date: Tue, 16 May 2017 15:59:58 -0400
Subject: Add basic telephony binding

Adds a basic telephony binding which supports dial and hangup
operations via ofono. Bluetooth HFP is the only modem type supported
now, with SIM support expected in the future.

AGL-Bug: SPEC-597
Change-Id: Icb302533c368fe37a181601c30f49294ad292a6b
Signed-off-by: Matt Porter <mporter@konsulko.com>
---
 package/config.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'package')

diff --git a/package/config.xml b/package/config.xml
index 82257d0..8ebe8b8 100644
--- a/package/config.xml
+++ b/package/config.xml
@@ -2,10 +2,16 @@
 <widget xmlns="http://www.w3.org/ns/widgets" id="phone" version="0.1">
   <name>Phone</name>
   <icon src="icon.svg"/>
-  <content src="bin/phone" type="application/x-executable"/>
+  <content src="bin/phone" type="application/vnd.agl.native"/>
   <description>This is a demo phone application</description>
   <author>Qt</author>
   <license>APL 2.0</license>
+  <feature name="urn:AGL:widget:required-api">
+    <param name="lib/libtelephony-binding.so" value="local" />
+  </feature>
+  <feature name="urn:AGL:widget:required-permission">
+    <param name="urn:AGL:permission::public:no-htdocs" value="required" />
+  </feature>
 </widget>
 
 
-- 
cgit