cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/3] git commit: [ubuntu] specify policy_group
Date Tue, 03 Dec 2013 00:21:24 GMT
[ubuntu] specify policy_group


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/a05deffb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/a05deffb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/a05deffb

Branch: refs/heads/dev
Commit: a05deffb5a3e1d6c895466794b86435ab981eebc
Parents: 93f35de
Author: Maxim Ermilov <maxim.ermilov@canonical.com>
Authored: Mon Nov 11 18:00:43 2013 +0400
Committer: Maxim Ermilov <maxim.ermilov@canonical.com>
Committed: Mon Nov 11 18:00:43 2013 +0400

----------------------------------------------------------------------
 plugin.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/a05deffb/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 12a4c30..43ef31b 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -38,6 +38,12 @@ id="org.apache.cordova.media"
      
      <!-- ubuntu -->
      <platform name="ubuntu">
+         <config-file target="config.xml" parent="/*">
+             <feature name="Camera">
+                 <param policy_group="microphone" policy_version="1" />
+                 <param policy_group="video" policy_version="1" />
+             </feature>
+         </config-file>
          <header-file src="src/ubuntu/media.h" />
          <source-file src="src/ubuntu/media.cpp" />
      </platform>


Mime
View raw message