cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject cordova-plugin-contacts git commit: CB-9054: Can't fully reproduce, but we should probably wrap this in an exception anyway.
Date Tue, 07 Jul 2015 17:56:18 GMT
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 <bowserj@apache.org>
Authored: Tue Jul 7 10:56:13 2015 -0700
Committer: Joe Bowser <bowserj@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


Mime
View raw message