You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/12/05 01:59:31 UTC

[4/6] git commit: [ubuntu] specify policy_group

[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/master
Commit: a05deffb5a3e1d6c895466794b86435ab981eebc
Parents: 93f35de
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Mon Nov 11 18:00:43 2013 +0400
Committer: Maxim Ermilov <ma...@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>