7831 Commits

Author SHA1 Message Date
Chia-chi Yeh
41d8565e81 WebKit: switch to java-based CertTool.
Change-Id: Ica6d491ede2bf2a311cacb7a7d64a249191fbecf
2009-09-18 12:32:52 +08:00
Chia-chi Yeh
9b7a3f1a64 Add a helper class to send out credentials.
Change-Id: I9a550c6edc55d5c2c601223c011922b183cb4d30
2009-09-18 12:03:04 +08:00
Chia-chi Yeh
adbc99be6d keystore: add multi-user support.
Change-Id: I60268261110934a1d60efa341ff530f94415724f
2009-09-18 11:49:55 +08:00
Dianne Hackborn
fa82f22f1d Fix issue #2093608: Calendar widget takes a few seconds to launch
Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
2009-09-17 18:01:35 -07:00
Android (Google) Code Review
9b64ef133c Merge change 25647 into eclair
* changes:
  Some tweaks to the rotary lock widget.
2009-09-17 20:43:53 -04:00
Android (Google) Code Review
39a5ba90a4 Merge change 25629 into eclair
* changes:
  Android side of the fix for [2121211] Sholes has stutter during animations
2009-09-17 20:36:24 -04:00
Karl Rosaen
5fef93b2a8 Some tweaks to the rotary lock widget.
- don't show arrows above widget when in resting state
- don't show other icon once you press one (e.g don't show silent mode icon when you are pressing the lock icon)
- wider target for triggering action
2009-09-17 17:21:18 -07:00
Android (Google) Code Review
2b1e67790b Merge change 25639 into eclair
* changes:
  do not use transactions for calls that just read the DB
2009-09-17 20:20:14 -04:00
Android (Google) Code Review
45dfa63af3 Merge change 25640 into eclair
* changes:
  Make the EditText error popup correctly resize when the view resizes.
2009-09-17 20:14:37 -04:00
Android (Google) Code Review
1c7c355626 Merge change 25634 into eclair
* changes:
  Report NO_CONNECTIVITY when failover net unavail
2009-09-17 20:12:22 -04:00
Android (Google) Code Review
409024e9c0 Merge change 25554 into eclair
* changes:
  telephony: Add CdmaCellLocation class to the public API.
2009-09-17 20:07:45 -04:00
Eric Fischer
fa0d253b77 Make the EditText error popup correctly resize when the view resizes.
It was calling PopupWindow.update() with -1 arguments for the width
and height under the impression that that would cause it to use the
new values that had already been set with setWidth() and setHeight().
But in fact this caused it not to change at all.
2009-09-17 17:01:59 -07:00
Fred Quintana
86bd084cf6 do not use transactions for calls that just read the DB 2009-09-17 17:00:01 -07:00
Robert Greenwalt
c7d2530d52 Report NO_CONNECTIVITY when failover net unavail
Fix ConnectivityService so that it reports connection status correctly.

bug: 2128595
2009-09-17 16:34:39 -07:00
Android (Google) Code Review
0d51d63595 Merge change 25626 into eclair
* changes:
  Check if rename of current settings file was successful before persisting new changes to settings.
2009-09-17 19:32:34 -04:00
Suchi Amalapurapu
3d7e855df3 Check if rename of current settings file was successful before persisting
new changes to settings.
2009-09-17 16:30:14 -07:00
Mike Lockwood
1b90def3c6 telephony: Add CdmaCellLocation class to the public API.
Its twin sister GsmCellLocation is public, so this really should be in the SDK too.

Change-Id: If6f5899047546a7398f1e4191c67acf15555c21b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-17 19:23:15 -04:00
Mathias Agopian
b1a1874625 Android side of the fix for [2121211] Sholes has stutter during animations
a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to
2009-09-17 16:18:16 -07:00
Android (Google) Code Review
96352104fb Merge change 25550 into eclair
* changes:
  add system property to disable gzip, to help with debugging.
2009-09-17 19:07:05 -04:00
Android (Google) Code Review
6817946fd0 Merge change 25601 into eclair
* changes:
  Fix possible race condition when switching keyboards while there are pending messages.
2009-09-17 18:49:51 -04:00
Fred Quintana
3ecd5f4375 - Make the AccountManagerService delete accounts that
have no Authenticator, both when the package is removed
  and when the phone is booted.
- add the ability to register with the RegisteredServicesCache
  to be notified when the set of Authenticators changes.
2009-09-17 15:45:41 -07:00
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