mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Merge commit of changes on 1.8
This commit is contained in:
commit
e7411e8260
@ -360,8 +360,7 @@ public class Capture extends Plugin {
|
||||
try {
|
||||
// File properties
|
||||
obj.put("name", fp.getName());
|
||||
obj.put("fullPath", fp.getAbsolutePath());
|
||||
|
||||
obj.put("fullPath", "file://" + fp.getAbsolutePath());
|
||||
// Because of an issue with MimeTypeMap.getMimeTypeFromExtension() all .3gpp files
|
||||
// are reported as video/3gpp. I'm doing this hacky check of the URI to see if it
|
||||
// is stored in the audio or video content store.
|
||||
|
@ -437,7 +437,7 @@ public class ContactAccessorSdk5 extends ContactAccessor {
|
||||
contact.put("ims", ims);
|
||||
}
|
||||
if (websites.length() > 0) {
|
||||
contact.put("websites", websites);
|
||||
contact.put("urls", websites);
|
||||
}
|
||||
if (photos.length() > 0) {
|
||||
contact.put("photos", photos);
|
||||
@ -447,6 +447,11 @@ public class ContactAccessorSdk5 extends ContactAccessor {
|
||||
}
|
||||
return contact;
|
||||
}
|
||||
catch (JSONException e) {
|
||||
Log.e(LOG_TAG,e.getMessage(),e);
|
||||
}
|
||||
return contact;
|
||||
}
|
||||
|
||||
/**
|
||||
* Take the search criteria passed into the method and create a SQL WHERE clause.
|
||||
|
Loading…
Reference in New Issue
Block a user