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 <[email protected]>
Authored: Sun Aug 25 18:05:59 2013 -0400
Committer: Don Coleman <[email protected]>
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 -->

Reply via email to