You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2015/07/07 19:56:18 UTC

cordova-plugin-contacts git commit: CB-9054: Can't fully reproduce, but we should probably wrap this in an exception anyway.

Repository: cordova-plugin-contacts
Updated Branches:
  refs/heads/master 5c3c71c3b -> 29b6a6289


CB-9054: Can't fully reproduce, but we should probably wrap this in an exception anyway.


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

Branch: refs/heads/master
Commit: 29b6a62891d469fdac7d9fb28af1fd27f3d6c092
Parents: 5c3c71c
Author: Joe Bowser <bo...@apache.org>
Authored: Tue Jul 7 10:56:13 2015 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Tue Jul 7 10:56:13 2015 -0700

----------------------------------------------------------------------
 src/android/ContactAccessorSdk5.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/29b6a628/src/android/ContactAccessorSdk5.java
----------------------------------------------------------------------
diff --git a/src/android/ContactAccessorSdk5.java b/src/android/ContactAccessorSdk5.java
index be09f14..68eba61 100644
--- a/src/android/ContactAccessorSdk5.java
+++ b/src/android/ContactAccessorSdk5.java
@@ -45,6 +45,7 @@ import android.content.ContentUris;
 import android.content.ContentValues;
 import android.content.OperationApplicationException;
 import android.database.Cursor;
+import android.database.sqlite.SQLiteException;
 import android.net.Uri;
 import android.os.RemoteException;
 import android.provider.ContactsContract;
@@ -937,6 +938,9 @@ public class ContactAccessorSdk5 extends ContactAccessor {
             }
         } catch (JSONException e) {
             Log.e(LOG_TAG, e.getMessage(), e);
+        } catch (SQLiteException e)
+        {
+            Log.e(LOG_TAG, e.getMessage(), e);
         }
         return photo;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org