mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
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…
Reference in New Issue
Block a user