commit | 1234ce117adc6fef495688ed8032c43e77445f90 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Dec 07 09:51:14 2010 -0800 |
committer | Nick Kralevich <nnk@google.com> | Tue Dec 07 11:27:20 2010 -0800 |
tree | 40f0e94ee1addf4f166c6964c70b19dfd4214f96 | |
parent | 59b3866653a5a561a65d85851061e19123c5755c [diff] |
Modify emergency number detection It's possible for an application to dial an emergency number by appending extra digits to the phone number. For example, one could dial "9111" instead of "911", and a strict .equals wouldn't detect this as an emergency number. Replace .equals() with .startsWith() Change-Id: I87f34fc2b9bbee2c4fa6be511bcc3b955559e0a9