cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject git commit: [CB-4661] VIBRATE permission for Android
Date Sun, 25 Aug 2013 22:09:35 GMT
Updated Branches:
  refs/heads/master dd69d8069 -> f009ff35e


[CB-4661] VIBRATE permission for Android


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

Branch: refs/heads/master
Commit: f009ff35ed096849d80758dace9d077c425e1a42
Parents: dd69d80
Author: Don Coleman <dcoleman@chariotsolutions.com>
Authored: Sun Aug 25 18:05:59 2013 -0400
Committer: Don Coleman <dcoleman@chariotsolutions.com>
Committed: Sun Aug 25 18:05:59 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/f009ff35/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 7935128..1118027 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -56,6 +56,10 @@
         </config-file>
 
         <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration"
/>
+
+        <config-file target="AndroidManifest.xml" parent="/manifest">
+            <uses-permission android:name="android.permission.VIBRATE"/>
+        </config-file>
     </platform>
 
     <!-- ios -->


Mime
View raw message