Bug 1038701 - [US] Support for ICE Contacts in Lockscreen/Emergency call

You mean moving CallHandler.call() (its logic) from dialer.js to ice_contacts.js, right (in fact, CallHandler.call() would only keep the code to call emergency numbers via dialEmergency() for the case when the number is typed)? If yes, in that case do you still want to do the checking that the number to be called is from an ICE contact or since in this case the calling logic is isolated (there would be no way to access the boolean isICEContact) from the outside world, we just do the calling. It will be pending the checking that a possible typed phone number corresponds to an ICE contact's phone number or any of its variants but as already mentioned via IRC this is an edge case. I think I'll make a proposal in a new commit and we can fine tune it from there ;)