History log of /frameworks/base/telephony/tests/TelephonyTest/src/com/android/telephonytest/TelephonyUnitTestRunner.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
60d45f0f0320801a16db2ad038453c098e98966c 16-Sep-2009 Nicolas Catania <niko@google.com> Added a field to track if the call is to a voicemail instance.

Refactored common code between CallerInfo and CallerInfoAsyncQuery that deal
with voicemail number comparison.

In CallerInfo.java added a new field mIsVoiceMail to indicate this is a
voicemail call.
Added a new method to convert the CallerInfo into a VM instance.
Added a new method to generate a debug string from an instance.

PhoneNumberUtils has a new method "isVoiceMailNumber" to check if a number
is a VM one. I left the method as hidden. Previously any security exception
failure was cached in a static variable. I removed that and
privilege the optmistic scenario. I am not sure if the security exception
is only for the 'regular' telephony layer and if it applies if a 3rd party
VM app is installed (e.g googlevoice), hence i removed the cashing to make
sure we can pick up new voicemail providers when installed/enabled/disabled.

Bug:2112640
/frameworks/base/telephony/tests/TelephonyTest/src/com/android/telephonytest/TelephonyUnitTestRunner.java
e22415817febc8d3229d1774f3b0dfda0fda8f46 15-Sep-2009 Nicolas Catania <niko@google.com> New field in CallerInfo to cache if the call is an emergency one.

Fixed a bug in the sync call, the photo resource was not set to picture_emergency.

Added tests to check the correct emergency fields are set in the caller info instance.

Bug 2112640
/frameworks/base/telephony/tests/TelephonyTest/src/com/android/telephonytest/TelephonyUnitTestRunner.java