OSDN Git Service
Leon Scroggins [Thu, 17 Sep 2009 18:19:49 +0000 (14:19 -0400)]
Don't scroll the title bar off screen while loading.
Though the user can still manually scroll the title bar
off screen, we do not want it to happen automatically.
When we load a new page, its scroll position can be
set to (0,0). Make sure that we simply set it to the
top without adding in the title bar's height. Also,
prevent javascript which attempts to scroll the page
to (0,0) or (0,1) from removing the title bar.
Fixes http://b/issue?id=
2113398 and http://b/issue?id=
2123079
Change-Id: Ida64d8c94be6744c7b0b4d60af1c229b2cc83673
Android (Google) Code Review [Thu, 17 Sep 2009 19:25:52 +0000 (15:25 -0400)]
Merge change 25338 into eclair
* changes:
Remove the network connection logic from RequestQueue.
Android (Google) Code Review [Thu, 17 Sep 2009 19:11:22 +0000 (15:11 -0400)]
Merge change 25526 into eclair
* changes:
Add API to retrieve memory used by running processes.
Patrick Scott [Wed, 16 Sep 2009 13:59:12 +0000 (09:59 -0400)]
Remove the network connection logic from RequestQueue.
This doesn't always work right and is causing some problems if the network comes
back up without sending the broadcast.
Android (Google) Code Review [Thu, 17 Sep 2009 19:03:27 +0000 (15:03 -0400)]
Merge change 25534 into eclair
* changes:
Message Reject notification shouldn't be shown in Emergency Calling Mode
Android (Google) Code Review [Thu, 17 Sep 2009 19:02:16 +0000 (15:02 -0400)]
Merge change 25524 into eclair
* changes:
Fix the zoom center. Now there is a titlebar, the zoom center needs to be adjusted for it as the user really cares the spot in the document. We need to pin zoom around that spot.
Satish Roddom [Wed, 16 Sep 2009 10:52:58 +0000 (05:52 -0500)]
Message Reject notification shouldn't be shown in Emergency Calling Mode
Issue: While in emergency mode, if we receive a message, there is a notification
being shown as "Text Message rejected".
Fix: In CdmaSMSDispatcher.java, send RESULT_OK response instead of RESULT_SMS_GENERIC_ERROR
for messages during Emergency mode. So, that SMS_REJECTED action is not broadcasted.
If the result is RESULT_OK from CdmaSMSDispatcher, the function notifyAndAcknowledgeLastIncomingSms()
is not called from SMSDispatcher.java and hence SMS_REJECTED_ACTION intent is not broadcast.
Consequently SMSRejectReceiver.java will not receive the broadcast and will not show reject
notification.
Change-Id: I2aa8f239393b3e6eeac6b0c2bb69799018e9ae9d
Grace Kloba [Thu, 17 Sep 2009 18:01:44 +0000 (11:01 -0700)]
Fix the zoom center. Now there is a titlebar, the zoom center
needs to be adjusted for it as the user really cares the spot
in the document. We need to pin zoom around that spot.
Fix http://b/issue?id=
2126300
Android (Google) Code Review [Thu, 17 Sep 2009 18:53:45 +0000 (14:53 -0400)]
Merge change 25535 into eclair
* changes:
CDMA Check for network duplicate sms
Android (Google) Code Review [Thu, 17 Sep 2009 18:46:45 +0000 (14:46 -0400)]
Merge change 25528 into eclair
* changes:
Another stagefright test-case and ignore end-of-stream notifications while we're flushing.
Android (Google) Code Review [Thu, 17 Sep 2009 18:39:43 +0000 (14:39 -0400)]
Merge change 25490 into eclair
* changes:
Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
Grace Kloba [Thu, 17 Sep 2009 14:56:48 +0000 (07:56 -0700)]
Don't change the zoom filter during the zoom animation.
Call another invalidate() to draw with the final filters.
This fixed the problem where the end of the zoom animation
is slow and jagged.
Fix http://b/issue?id=
2126523
Andreas Huber [Thu, 17 Sep 2009 18:16:52 +0000 (11:16 -0700)]
Another stagefright test-case and ignore end-of-stream notifications while we're flushing.
Dianne Hackborn [Thu, 17 Sep 2009 17:24:05 +0000 (10:24 -0700)]
Add API to retrieve memory used by running processes.
Change-Id: I9c1935c2ef3c78bd67ec4dfd811a1caaab4514c3
Android (Google) Code Review [Thu, 17 Sep 2009 18:02:06 +0000 (14:02 -0400)]
Merge change 25523 into eclair
* changes:
Add additional error checking, exit early if errors occur.
Jack Palevich [Thu, 17 Sep 2009 17:59:23 +0000 (10:59 -0700)]
Add additional error checking, exit early if errors occur.
Android (Google) Code Review [Thu, 17 Sep 2009 17:58:20 +0000 (13:58 -0400)]
Merge change 25519 into eclair
* changes:
LocationManagerService: Take fix accuracy into account in proximity zone logic.
Yusuf T. Mobile [Tue, 14 Jul 2009 22:46:26 +0000 (15:46 -0700)]
LocationManagerService: Take fix accuracy into account in proximity zone logic.
Fixes http://code.google.com/p/android/issues/detail?id=2002
Change-Id: If2b0665c556269279c5813f2254f9624a556bd92
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Thu, 17 Sep 2009 17:53:37 +0000 (13:53 -0400)]
Merge change 25414 into eclair
* changes:
refactor copy-and-paste email address filtering code. add a column to Calendar.Events contract class.
Christian Gustafsson [Wed, 16 Sep 2009 00:09:13 +0000 (19:09 -0500)]
CDMA Check for network duplicate sms
In some cases a sms acknowledgement might be lost. The network will then resend
the same sms. These duplicate sms should be acknowledged but not shown to the
user.
C.S0015-B 4.3.1.6 Unique Message Identification.
The fields used to identify a message are:
* Message Identifier,
* Originating Address,
* Originating Subaddress, and
* Message Center Time Stamp.
Since some of the fields are optional, the Teleservice Layer shall use as
many of the fields as are present in the SMS message to determine message
uniqueness. Mobile stations should discard repeated messages.
1. Add a fingerprint function to SmsMessage.java. This returns a byte array
to be used as a unique identifier. Parts that make up the identifier are
the originating address, teleservice id and the bearerdata. Using all of
the bearerdata saves parsing time. There are no random bits allowed in
the standard. This makes binary comparison possible. Using all of the
bearerdata accounts for the message id, smsc timestamp and "... shall
use as many of the fields as are present in the SMS message".
2. Have CdmaSMSDispatcher.dispatchMessage() pull a fingerprint and check if
it matches the last acknowledged fingerprint. When it matches return and
signal that message was handled.
3. Have CdmaSMSDispatcher.acknowledgeLastIncomingSms() take the last
dispatched fingerprint move it to the last acknowledged fingerprint.
Only do this if processing of the sms was successful.
Change-Id: If79f8fe40896cd290940b7ccd5a17531ab937b60
Android (Google) Code Review [Thu, 17 Sep 2009 17:17:55 +0000 (13:17 -0400)]
Merge change 25502 into eclair
* changes:
Fix typo
Android (Google) Code Review [Thu, 17 Sep 2009 17:07:04 +0000 (13:07 -0400)]
Merge change 25503 into eclair
* changes:
Don't crash if the cursor is null.
Android (Google) Code Review [Thu, 17 Sep 2009 16:52:59 +0000 (12:52 -0400)]
Merge change 25493 into eclair
* changes:
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
Jeff Hamilton [Thu, 17 Sep 2009 16:51:32 +0000 (11:51 -0500)]
Don't crash if the cursor is null.
Change-Id: Ibbacc97f781c1485599a5e11217527930d97fe2d
Marco Nelissen [Thu, 17 Sep 2009 16:44:43 +0000 (09:44 -0700)]
Fix typo
Andrei Popescu [Thu, 17 Sep 2009 14:55:24 +0000 (15:55 +0100)]
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
Mike Lockwood [Thu, 17 Sep 2009 15:47:56 +0000 (11:47 -0400)]
Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
This reverts commit
ddfe879b783ad72603308e28e8f683454464684e.
Nick Pelly [Wed, 16 Sep 2009 23:50:11 +0000 (16:50 -0700)]
Do not @hide Parcelable implementations in BluetoothClass and BluetoothDevice.
Change-Id: I92389c53a9b99c9507f78898329ff87b631c7aa3
Android (Google) Code Review [Thu, 17 Sep 2009 15:23:48 +0000 (11:23 -0400)]
Merge change 25401 into eclair
* changes:
Add a null checking to avoid crash.
Android (Google) Code Review [Thu, 17 Sep 2009 15:21:47 +0000 (11:21 -0400)]
Merge change 25366 into eclair
* changes:
do not merge. Revert "do not merge. Remove voicesearch-specific functionality from framework."
Android (Google) Code Review [Thu, 17 Sep 2009 13:51:08 +0000 (09:51 -0400)]
Merge change 25477 into eclair
* changes:
Make ACTV use all available space if height is FILL_PARENT.
Bryan Mawhinney [Thu, 17 Sep 2009 12:54:23 +0000 (13:54 +0100)]
Make ACTV use all available space if height is FILL_PARENT.
This prevents the drop down from resizing when the keyboard is shown / hidden, and thus fixes the issue where the 4th item in the list could not be selected when in landscape mode.
Bug:
2096394
Change-Id: Id0e687c897a724379073dcfa82de7ce89ae12035
Android (Google) Code Review [Thu, 17 Sep 2009 11:04:40 +0000 (07:04 -0400)]
Merge change 25098 into eclair
* changes:
Poster support on the Java side
Android (Google) Code Review [Thu, 17 Sep 2009 10:59:49 +0000 (06:59 -0400)]
Merge change 25319 into eclair
* changes:
Only move to the next test in DRT after the test has completed AND the page has finished loading.
Ben Murdoch [Wed, 16 Sep 2009 19:13:07 +0000 (20:13 +0100)]
Only move to the next test in DRT after the test has completed AND the page has finished loading.
Change-Id: I157da58bb99f7bf0fcd00073d078c26c7df201ed
Andrei Popescu [Tue, 15 Sep 2009 19:34:18 +0000 (20:34 +0100)]
Poster support on the Java side
Android (Google) Code Review [Thu, 17 Sep 2009 09:59:41 +0000 (05:59 -0400)]
Merge change 25463 into eclair
* changes:
First pass at pattern lock screen that includes date / time and carrier info (framework portion).
Karl Rosaen [Thu, 17 Sep 2009 09:56:57 +0000 (02:56 -0700)]
First pass at pattern lock screen that includes date / time and carrier info (framework portion).
- layout's tweaked to squeeze carrier, time and date into pattern layout (landscape and portrait)
Mathias Agopian [Thu, 17 Sep 2009 08:35:28 +0000 (01:35 -0700)]
add basic time stats for surfaces lock time
Android (Google) Code Review [Thu, 17 Sep 2009 06:47:01 +0000 (02:47 -0400)]
Merge change 25362 into eclair
* changes:
Handle BACK key with focus in search ACTV correctly
Android (Google) Code Review [Thu, 17 Sep 2009 06:05:21 +0000 (02:05 -0400)]
Merge change 25440 into eclair
* changes:
Fix a minor bug in is_alnum_string()...
Android (Google) Code Review [Thu, 17 Sep 2009 05:07:31 +0000 (01:07 -0400)]
Merge change 25406 into eclair
* changes:
remove the signin required notification as when the signin is successful
Hung-ying Tyan [Wed, 16 Sep 2009 07:43:15 +0000 (15:43 +0800)]
Fix a minor bug in is_alnum_string()...
and remove some verbose logging
Debajit Ghosh [Thu, 17 Sep 2009 00:54:20 +0000 (17:54 -0700)]
refactor copy-and-paste email address filtering code.
add a column to Calendar.Events contract class.
Benny Wong [Wed, 16 Sep 2009 19:48:52 +0000 (14:48 -0500)]
Overlay could not set position or rotation immediately after created, it should be triggered by signalEvent().
Originally from: https://partner.source.android.com/g/#change,1074
Android (Google) Code Review [Thu, 17 Sep 2009 03:16:18 +0000 (23:16 -0400)]
Merge change 25435 into eclair
* changes:
disable backbuffer preservation when possible, which may improve performance a bit
Mathias Agopian [Thu, 17 Sep 2009 03:15:42 +0000 (20:15 -0700)]
disable backbuffer preservation when possible, which may improve performance a bit
Android (Google) Code Review [Thu, 17 Sep 2009 02:56:57 +0000 (22:56 -0400)]
Merge change 25431 into eclair
* changes:
Add "MMS" to common phone number types.
Jeff Sharkey [Thu, 17 Sep 2009 02:54:29 +0000 (19:54 -0700)]
Add "MMS" to common phone number types.
Partially fixes http://b/
2092744
Android (Google) Code Review [Thu, 17 Sep 2009 02:16:58 +0000 (22:16 -0400)]
Merge change 25228 into eclair
* changes:
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java Added the error callback to handle the media server crash.
Amith Yamasani [Thu, 17 Sep 2009 00:31:12 +0000 (17:31 -0700)]
Add a new flag for IMEs to disable suggestions for certain fields.
Android (Google) Code Review [Thu, 17 Sep 2009 01:27:54 +0000 (21:27 -0400)]
Merge change 25423 into eclair
* changes:
fix [
2119400] sholes: artifacting when switching orientation
Mathias Agopian [Thu, 17 Sep 2009 01:27:24 +0000 (18:27 -0700)]
fix [
2119400] sholes: artifacting when switching orientation
Christopher Tate [Wed, 16 Sep 2009 17:57:21 +0000 (10:57 -0700)]
Be sure to include shared lib path info when dealing with agents
In particular, this ensures that on the client side the full classpath is known
and used by the class loader during execution of the agent.
Alex Gruenstein [Tue, 15 Sep 2009 18:19:58 +0000 (11:19 -0700)]
do not merge. Revert "do not merge. Remove voicesearch-specific functionality from framework."
This reverts commit
f1b64f64ab088a3e8cd32ec31f61c958c61d19e5.
It also updates RecognitionResult.java with changes made while it was in the voicesearch branch.
Change-Id: Ibffbe25397628a01ec49393a23c1825cef116501
Android (Google) Code Review [Thu, 17 Sep 2009 00:37:08 +0000 (20:37 -0400)]
Merge change 25382 into eclair
* changes:
Fix async calls with Connect And Disconnect Sink.
Android (Google) Code Review [Thu, 17 Sep 2009 00:34:56 +0000 (20:34 -0400)]
Merge change 25398 into eclair
* changes:
Reintroduce wifi RssiApprox, reducing driver calls
Fred Quintana [Thu, 17 Sep 2009 00:32:42 +0000 (17:32 -0700)]
remove the signin required notification as when the signin is successful
Android (Google) Code Review [Thu, 17 Sep 2009 00:32:41 +0000 (20:32 -0400)]
Merge change 25323 into eclair
* changes:
Change handling of remoteUuids.
Grace Kloba [Thu, 17 Sep 2009 00:28:24 +0000 (17:28 -0700)]
Add a null checking to avoid crash.
Fix http://b/viewIssue?id=
2125276
Jaikumar Ganesh [Wed, 16 Sep 2009 22:15:21 +0000 (15:15 -0700)]
Fix async calls with Connect And Disconnect Sink.
Change-Id: I814c7fdf40ec0d6aefeb410b1a1b1572ab4a8d88
Robert Greenwalt [Thu, 17 Sep 2009 00:17:16 +0000 (17:17 -0700)]
Reintroduce wifi RssiApprox, reducing driver calls
Only do the full signal strength calc when we need to, otherwise use
an approximate value.
This change was introduced a while back but was lost in some merge.
bug:
2125543
Android (Google) Code Review [Thu, 17 Sep 2009 00:06:06 +0000 (20:06 -0400)]
Merge change 25325 into eclair
* changes:
Add a parcelable version of UUID file.
Jaikumar Ganesh [Wed, 16 Sep 2009 19:30:02 +0000 (12:30 -0700)]
Change handling of remoteUuids.
Use the ParcelUuid instead of UUID
Change-Id:Ie05d65a62e8a4df8182a4c737d46c14142bfec43
Jaikumar Ganesh [Tue, 15 Sep 2009 23:27:38 +0000 (16:27 -0700)]
Add a parcelable version of UUID file.
Change-Id:I2582e1c9893292ba35bb5cac90ccd2bd18041d8c
Android (Google) Code Review [Thu, 17 Sep 2009 00:02:14 +0000 (20:02 -0400)]
Merge change 25394 into eclair
* changes:
Add StateListDrawable's dither flag to the constant state.
Romain Guy [Thu, 17 Sep 2009 00:01:06 +0000 (17:01 -0700)]
Add StateListDrawable's dither flag to the constant state.
Change-Id: Ie377bfe3dfb83c33df3c0cc5a02810332a60a322
Android (Google) Code Review [Thu, 17 Sep 2009 00:00:57 +0000 (20:00 -0400)]
Merge change 25393 into eclair
* changes:
fix again [
2102410] Home Screen is not displayed in the background in Landscape Mode
Mathias Agopian [Thu, 17 Sep 2009 00:00:19 +0000 (17:00 -0700)]
fix again [
2102410] Home Screen is not displayed in the background in Landscape Mode
Android (Google) Code Review [Wed, 16 Sep 2009 23:51:12 +0000 (19:51 -0400)]
Merge change 25388 into eclair
* changes:
Fix #
1827299: Google login screen to re-enter password is not viewable
Dianne Hackborn [Wed, 16 Sep 2009 23:46:44 +0000 (16:46 -0700)]
Fix #
1827299: Google login screen to re-enter password is not viewable
This was a problem with not hiding the starting window when it got
transfered to an activity whose window (instead of token) animates
when displayed.
Change-Id: I9eb58faa6e27d53144687952a715fc083a5c5842
Android (Google) Code Review [Wed, 16 Sep 2009 23:34:56 +0000 (19:34 -0400)]
Merge change 25386 into eclair
* changes:
Add one more hardware keyboard character popup: \ if you hold /
Eric Fischer [Wed, 16 Sep 2009 23:26:48 +0000 (16:26 -0700)]
Add one more hardware keyboard character popup: \ if you hold /
Android (Google) Code Review [Wed, 16 Sep 2009 23:20:52 +0000 (19:20 -0400)]
Merge change 25360 into eclair
* changes:
Fix issue #
2121993: com.android.unit_tests.os.HandlerThreadTest:testHandlerThread is failing
Android (Google) Code Review [Wed, 16 Sep 2009 22:49:42 +0000 (18:49 -0400)]
Merge change 25369 into eclair
* changes:
Update the input method when the selection changes.
Android (Google) Code Review [Wed, 16 Sep 2009 22:36:00 +0000 (18:36 -0400)]
Merge change 25190 into eclair
* changes:
add the ability to do a newAssert with no values
Leon Scroggins [Wed, 16 Sep 2009 22:26:17 +0000 (18:26 -0400)]
Update the input method when the selection changes.
Fix http://b/issue?id=
2074446
Add in code that is normally called by TextView.onDraw(). Since
drawing does not happen for WebTextView, we need to call it
ourselves.
Change-Id: Icb47f6a58fba6f8b11e2924befc704f26af68d43
Android (Google) Code Review [Wed, 16 Sep 2009 22:28:31 +0000 (18:28 -0400)]
Merge change 25356 into eclair
* changes:
Filter out failing cases for future investigation.
Bjorn Bringert [Wed, 16 Sep 2009 22:17:16 +0000 (23:17 +0100)]
Handle BACK key with focus in search ACTV correctly
Fixes http://b/issue?id=
2124700
"Back key kills pivoted-in search, should go back to QSB"
Change-Id: Ib54c5de158fc362faa3f0fef553ee403437635ae
Dianne Hackborn [Wed, 16 Sep 2009 22:10:30 +0000 (15:10 -0700)]
Fix issue #
2121993: com.android.unit_tests.os.HandlerThreadTest:testHandlerThread is failing
Change-Id: I5f2cc8b39d3f15782e5fbf47015be9f4fa94a65b
Android (Google) Code Review [Wed, 16 Sep 2009 22:06:12 +0000 (18:06 -0400)]
Merge change 25185 into eclair
* changes:
Implement renderscript Invokables.
Guang Zhu [Wed, 16 Sep 2009 22:04:38 +0000 (15:04 -0700)]
Filter out failing cases for future investigation.
Jason Sams [Wed, 16 Sep 2009 22:04:38 +0000 (15:04 -0700)]
Implement renderscript Invokables.
Android (Google) Code Review [Wed, 16 Sep 2009 21:49:22 +0000 (17:49 -0400)]
Merge change 25351 into eclair
* changes:
Change Theme.Light's background back to pure white.
Android (Google) Code Review [Wed, 16 Sep 2009 21:49:20 +0000 (17:49 -0400)]
Merge change 25307 into eclair
* changes:
Allow touches to change the selection in WebTextView.
Android (Google) Code Review [Wed, 16 Sep 2009 21:46:08 +0000 (17:46 -0400)]
Merge change 25302 into eclair
* changes:
Add more features.
Dianne Hackborn [Wed, 16 Sep 2009 18:05:25 +0000 (11:05 -0700)]
Add more features.
The base set of features probably still needs to be fleshed out,
but it's a start.
Change-Id: Ifca80943810d48764d6ad0c6361abb1fae482d9f
Android (Google) Code Review [Wed, 16 Sep 2009 21:38:53 +0000 (17:38 -0400)]
Merge change 25293 into eclair
* changes:
Fix a handful of bugs in the ContactHeaderWidget
Romain Guy [Wed, 16 Sep 2009 21:36:16 +0000 (14:36 -0700)]
Change Theme.Light's background back to pure white.
Go away gray!
Change-Id: Ice59e585bfd01c02c0fa7fd74a8b13e548248f9e
Android (Google) Code Review [Wed, 16 Sep 2009 21:25:51 +0000 (17:25 -0400)]
Merge change 25279 into eclair
* changes:
Added a field to track if the call is to a voicemail instance.
Android (Google) Code Review [Wed, 16 Sep 2009 19:37:40 +0000 (15:37 -0400)]
Merge change 25297 into eclair
* changes:
Address romain's code review comments
Cary Clark [Wed, 16 Sep 2009 18:36:59 +0000 (14:36 -0400)]
slide the title if the site changes the scroll position
Slide the title away if the scroll is to zero or one, and the
title is partially or fully visible. Set the animation time
to at least SLIDE_TITLE_DURATION, currently set to 300 ms.
Android (Google) Code Review [Wed, 16 Sep 2009 19:07:55 +0000 (15:07 -0400)]
Merge change 25250 into eclair
* changes:
Refactor logic for starting forward servers and http test cases hacking, so that they can be shared between automated test mode and UI launch mode.
Mike Lockwood [Wed, 16 Sep 2009 17:01:32 +0000 (13:01 -0400)]
Add support for launching activities when attaching to a car or desk dock.
Categories CATEGORY_CAR_DOCK and CATEGORY_DESK_DOCK can be assigned to
activities to make them launchable on docked events.
This is a better mechanism than listening for ACTION_DOCK_EVENT with a broadcast receiver.
Change-Id: Ic5f3ab3555ce02ca922bc31ebba41978cefe8bda
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Wed, 16 Sep 2009 18:36:56 +0000 (14:36 -0400)]
Merge change 23383 into eclair
* changes:
Combine the "Permission Requested" title and subtitle into one string.
Android (Google) Code Review [Wed, 16 Sep 2009 18:33:20 +0000 (14:33 -0400)]
Merge change 25303 into eclair
* changes:
Add EGL call error checking.
Leon Scroggins [Wed, 16 Sep 2009 18:12:52 +0000 (14:12 -0400)]
Allow touches to change the selection in WebTextView.
Fix http://b/issue?id=
2019857
If the user has not moved beyond the scaled touch slop, do not
turn it into a scroll, so the user can change the selection.
Change-Id: I1d88691a35ea2da4b03ad713b56331b5c268b757
Android (Google) Code Review [Wed, 16 Sep 2009 18:16:47 +0000 (14:16 -0400)]
Merge change 25296 into eclair
* changes:
Add new Gservices setting for discarding uphill ops for eclair and future devices.
Nicolas Catania [Wed, 16 Sep 2009 01:32:02 +0000 (18:32 -0700)]
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
Jack Palevich [Wed, 16 Sep 2009 18:08:43 +0000 (11:08 -0700)]
Add EGL call error checking.