Skip to content

Commit

Permalink
Replace PermissionHelper.java with cordova-plugin-compat
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Apr 5, 2016
1 parent 624ddd5 commit a9c1871
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 139 deletions.
3 changes: 2 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git</repo>
<issue>https://issues.apache.org/jira/browse/CB/component/12320645</issue>

<dependency id="cordova-plugin-compat" version="^1.0.0" />

<js-module src="www/CameraConstants.js" name="Camera">
<clobbers target="Camera" />
</js-module>
Expand Down Expand Up @@ -71,7 +73,6 @@
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />
<source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/camera" />
<source-file src="src/android/ExifHelper.java" target-dir="src/org/apache/cordova/camera" />
<source-file src="src/android/PermissionHelper.java" target-dir="src/org/apache/cordova/camera" />

<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
<clobbers target="CameraPopoverHandle" />
Expand Down
1 change: 1 addition & 0 deletions src/android/CameraLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Licensed to the Apache Software Foundation (ASF) under one
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaResourceApi;
import org.apache.cordova.LOG;
import org.apache.cordova.PermissionHelper;
import org.apache.cordova.PluginResult;
import org.json.JSONArray;
import org.json.JSONException;
Expand Down
138 changes: 0 additions & 138 deletions src/android/PermissionHelper.java

This file was deleted.

0 comments on commit a9c1871

Please sign in to comment.