commit | 8c066f7cc38a32ea6bd8138eb23eaeefcadd3b8a | [log] [tgz] |
---|---|---|
author | Nancy Chen <nancychen@google.com> | Wed Dec 03 15:18:08 2014 -0800 |
committer | Nancy Chen <nancychen@google.com> | Thu Dec 04 14:28:21 2014 -0800 |
tree | 65be065fe527cb1a90dea3f0bfc905c8bbd93a14 | |
parent | 75f304f922dcb27e57dcbea17a36d426f6b223a7 [diff] |
Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2) Since we don't want the phone app to call TelephonyManager methods directly, create a method in TelecomManager to mimic the behavior. The reason we don't return the voicemail number directly is because once TelecomManager becomes public, we don't want any old app to be able to get the SIM's voicemail number. Bug: 18233678 Change-Id: I620af409788aea7b58169b72a563baeed8115080