mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Fixing up contacts so it works by default with the OLD Contact API
This commit is contained in:
@@ -172,7 +172,10 @@ public class ContactManager {
|
||||
}
|
||||
else
|
||||
{
|
||||
mView.loadUrl("javascript:navigator.AddressBook.fail('None found!')");
|
||||
if(all)
|
||||
mView.loadUrl("javascript:navigator.ContactManager.fail()");
|
||||
else
|
||||
mView.loadUrl("javascript:navigator.AddressBook.fail('None found!')");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user