8013 Commits

Author SHA1 Message Date
Debajit Ghosh
644d0449ab add system property to disable gzip, to help with debugging. 2009-09-17 15:44:23 -07:00
Amith Yamasani
ebe3d518ff Fix possible race condition when switching keyboards while there are pending messages. 2009-09-17 15:03:40 -07:00
Android (Google) Code Review
ddbeed5d11 Merge change 25571 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-09-17 18:03:26 -04:00
Android (Google) Code Review
e9506e3684 Merge change 25561 into eclair
* changes:
  Add Gservices settings required for carrier billing.
2009-09-17 17:56:31 -04:00
Android (Google) Code Review
76a9b9c246 Merge change 25567 into eclair
* changes:
  The starting progress for WebView should be 100 as it is not in the loading state.
2009-09-17 17:54:11 -04:00
Sanjay Jeyakumar
8cbaa832ae Add Gservices settings required for carrier billing. 2009-09-17 14:47:43 -07:00
Eric Fischer
4175b5f34a Import revised translations. DO NOT MERGE 2009-09-17 14:28:06 -07:00
Grace Kloba
5a4fbd6c20 The starting progress for WebView should be 100 as it is
not in the loading state.
2009-09-17 14:20:28 -07:00
Jeff Sharkey
6449eb06ac Added API for triggering FastTrack.
I added a new API to help us move away from launching
FastTrack through SHOW_OR_CREATE.  For now it's going to
still pass through as an Intent with extras, but in the
future this could be used to launch a Window from a system
service.

Partially fixes http://b/2087222
2009-09-17 13:57:33 -07:00
Leon Scroggins
d55de40481 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
2009-09-17 15:48:37 -04:00
Android (Google) Code Review
3239de8cd7 Merge change 25338 into eclair
* changes:
  Remove the network connection logic from RequestQueue.
2009-09-17 15:25:52 -04:00
Android (Google) Code Review
4ac137cad9 Merge change 25526 into eclair
* changes:
  Add API to retrieve memory used by running processes.
2009-09-17 15:11:22 -04:00
Patrick Scott
aaebc86386 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.
2009-09-17 15:10:30 -04:00
Android (Google) Code Review
b9c107a362 Merge change 25534 into eclair
* changes:
  Message Reject notification shouldn't be shown in Emergency Calling Mode
2009-09-17 15:03:27 -04:00
Android (Google) Code Review
dc2aab4ff2 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.
2009-09-17 15:02:16 -04:00
Satish Roddom
ea803b8e0c 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
2009-09-17 11:59:47 -07:00
Grace Kloba
c0c03af15f 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
2009-09-17 11:56:28 -07:00
Android (Google) Code Review
8460be7a57 Merge change 25535 into eclair
* changes:
  CDMA Check for network duplicate sms
2009-09-17 14:53:45 -04:00
Android (Google) Code Review
3065a3cad0 Merge change 25528 into eclair
* changes:
  Another stagefright test-case and ignore end-of-stream notifications while we're flushing.
2009-09-17 14:46:45 -04:00
Android (Google) Code Review
c2912a662d Merge change 25490 into eclair
* changes:
  Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
2009-09-17 14:39:43 -04:00
Grace Kloba
dfe095a045 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
2009-09-17 11:36:02 -07:00
Andreas Huber
1a77b68e90 Another stagefright test-case and ignore end-of-stream notifications while we're flushing. 2009-09-17 11:16:52 -07:00
Dianne Hackborn
4f21c4cf07 Add API to retrieve memory used by running processes.
Change-Id: I9c1935c2ef3c78bd67ec4dfd811a1caaab4514c3
2009-09-17 11:13:45 -07:00
Android (Google) Code Review
7805933738 Merge change 25523 into eclair
* changes:
  Add additional error checking, exit early if errors occur.
2009-09-17 14:02:06 -04:00
Jack Palevich
fc342cbbf7 Add additional error checking, exit early if errors occur. 2009-09-17 10:59:23 -07:00
Android (Google) Code Review
6c41feadc3 Merge change 25519 into eclair
* changes:
  LocationManagerService: Take fix accuracy into account in proximity zone logic.
2009-09-17 13:58:20 -04:00
Yusuf T. Mobile
2d2078aa1d 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>
2009-09-17 13:56:36 -04:00
Android (Google) Code Review
70db3a20cf Merge change 25414 into eclair
* changes:
  refactor copy-and-paste email address filtering code. add a column to Calendar.Events contract class.
2009-09-17 13:53:37 -04:00
Christian Gustafsson
9d34319f1c 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
2009-09-17 10:36:05 -07:00
Android (Google) Code Review
94ef499182 Merge change 25502 into eclair
* changes:
  Fix typo
2009-09-17 13:17:55 -04:00
Android (Google) Code Review
2f77ffb087 Merge change 25503 into eclair
* changes:
  Don't crash if the cursor is null.
2009-09-17 13:07:04 -04:00
Android (Google) Code Review
f7c98e8d18 Merge change 25493 into eclair
* changes:
  Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
2009-09-17 12:52:59 -04:00
Jeff Hamilton
8d570b3a24 Don't crash if the cursor is null.
Change-Id: Ibbacc97f781c1485599a5e11217527930d97fe2d
2009-09-17 11:52:43 -05:00
Marco Nelissen
ae87bd089a Fix typo 2009-09-17 09:44:43 -07:00
Andrei Popescu
290c34ac3a Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate 2009-09-17 17:27:51 +01:00
Eric Laurent
b9481d8cf6 Fix issue 2127371: Possible race condition in AudioFlinger::openRecord() when a Track is being destroyed.
The fix consists in locking AudioFlinger::mLock mutex in the TrackBase destructor before clearing the strong pointer to the shared memory client. The mutex is not locked in removeclient() any more which implies that we must make sure that the Client destructor is always called from the TrackBase destructor or that we hold the mLock mutex before calling deleting the Client.
2009-09-17 09:26:04 -07:00
Mike Lockwood
c17f07aa04 Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
This reverts commit ddfe879b783ad72603308e28e8f683454464684e.
2009-09-17 11:58:01 -04:00
Nick Pelly
074c11c164 Do not @hide Parcelable implementations in BluetoothClass and BluetoothDevice.
Change-Id: I92389c53a9b99c9507f78898329ff87b631c7aa3
2009-09-17 08:25:30 -07:00
Android (Google) Code Review
ff22b182a2 Merge change 25401 into eclair
* changes:
  Add a null checking to avoid crash.
2009-09-17 11:23:48 -04:00
Android (Google) Code Review
4b6a278cb6 Merge change 25366 into eclair
* changes:
  do not merge.  Revert "do not merge.  Remove voicesearch-specific functionality from framework."
2009-09-17 11:21:47 -04:00
Android (Google) Code Review
c7aef5d0fd Merge change 25477 into eclair
* changes:
  Make ACTV use all available space if height is FILL_PARENT.
2009-09-17 09:51:08 -04:00
Bryan Mawhinney
875fca2e18 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
2009-09-17 13:54:23 +01:00
Android (Google) Code Review
b65c5cf074 Merge change 25098 into eclair
* changes:
  Poster support on the Java side
2009-09-17 07:04:40 -04:00
Android (Google) Code Review
f8c90acd7f 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.
2009-09-17 06:59:49 -04:00
Ben Murdoch
977f7691e5 Only move to the next test in DRT after the test has completed AND the page has finished loading.
Change-Id: I157da58bb99f7bf0fcd00073d078c26c7df201ed
2009-09-17 11:57:47 +01:00
Andrei Popescu
64b86a1e8b Poster support on the Java side 2009-09-17 11:23:09 +01:00
Android (Google) Code Review
f5a68512c3 Merge change 25463 into eclair
* changes:
  First pass at pattern lock screen that includes date / time and carrier info (framework portion).
2009-09-17 05:59:41 -04:00
Karl Rosaen
50b9d80415 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)
2009-09-17 02:56:57 -07:00
Mathias Agopian
bcef9ac35d add basic time stats for surfaces lock time 2009-09-17 01:35:28 -07:00
Android (Google) Code Review
76f0111845 Merge change 25362 into eclair
* changes:
  Handle BACK key with focus in search ACTV correctly
2009-09-17 02:47:01 -04:00