incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [2/2] android commit: Forgot to recheck Plugin. Adding it back
Date Tue, 15 May 2012 20:25:17 GMT
Forgot to recheck Plugin.  Adding it back


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/295b9f4f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/295b9f4f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/295b9f4f

Branch: refs/heads/CordovaWebView
Commit: 295b9f4f5b750c9d9f854b5dbfd1e4d134a69752
Parents: 79048a5
Author: Joe Bowser <bowserj@apache.org>
Authored: Tue May 15 09:36:53 2012 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Tue May 15 09:36:53 2012 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/FileUtils.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/295b9f4f/framework/src/org/apache/cordova/FileUtils.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/FileUtils.java b/framework/src/org/apache/cordova/FileUtils.java
index 6351c2e..dc21948 100755
--- a/framework/src/org/apache/cordova/FileUtils.java
+++ b/framework/src/org/apache/cordova/FileUtils.java
@@ -224,7 +224,7 @@ public class FileUtils extends Plugin {
      */
     private void notifyDelete(String filePath) {
         String newFilePath = stripFileProtocol(filePath);
-        int result = this.ctx.getContentResolver().delete(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
+        int result = this.ctx.getActivity().getContentResolver().delete(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
             MediaStore.Images.Media.DATA + " = ?",
             new String[] { filePath });
     }


Mime
View raw message