forked from github/cordova-android
Fixing up contacts so it works by default with the OLD Contact API
This commit is contained in:
parent
99cdf9686d
commit
304886c7a6
@ -172,7 +172,10 @@ public class ContactManager {
|
|||||||
}
|
}
|
||||||
else
|
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!')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user