7151 Commits

Author SHA1 Message Date
Android (Google) Code Review
f6ca7fab50 Merge change 23690 into eclair
* changes:
  Prevent a crash when webkit changes the selection.
2009-09-02 16:45:33 -07:00
Android (Google) Code Review
010bed7419 Merge change 23723 into eclair
* changes:
  Get drawable directory for the platform buttons.
2009-09-02 16:44:52 -07:00
Leon Scroggins
ef92e7a606 Prevent a crash when webkit changes the selection.
Partial fix for http://b/issue?id=2081673
This prevents a crash.  However, if the user continues typing
into the textfield, the selection is incorrect.  The real solution
(forthcoming), will make sure that the WebTextView's text gets
updated when webkit updates.

Change-Id: Ic832ec48fd4236c8116c5cbda1467677ad731feb
2009-09-02 19:31:33 -04:00
Android (Google) Code Review
23db17314d Merge change 23717 into eclair
* changes:
  Make new attribute EXTRA_CHANGED_COMPONENT_NAME in broadcast intent ACTION_PACKAGE_CHANGED public so that apps like launcher can find out the changed component name when loading changes made in components.
2009-09-02 16:25:01 -07:00
Grace Kloba
83031581d6 Get drawable directory for the platform buttons.
Fix http://b/issue?id=2086818
2009-09-02 16:21:42 -07:00
Suchi Amalapurapu
32f589046b Make new attribute EXTRA_CHANGED_COMPONENT_NAME in
broadcast intent ACTION_PACKAGE_CHANGED public so that
apps like launcher can find out the changed component name
when loading changes made in components.
2009-09-02 16:11:14 -07:00
Android (Google) Code Review
d4c1baf937 Merge change 23646 into eclair
* changes:
  Immediately destroy BluetoothSocket's on close().
2009-09-02 16:01:15 -07:00
Jean-Baptiste Queru
604637b51c am d3db17d8: Merge snapshot version of donut back into the main tree
Merge commit 'd3db17d8e8563c1629bc705ecded54a405d84b7e' into eclair

* commit 'd3db17d8e8563c1629bc705ecded54a405d84b7e':
  donut snapshot
2009-09-02 15:35:10 -07:00
Dianne Hackborn
f52e9f7033 am e1b4437d: Revert "Fix content provider"
Merge commit 'e1b4437dba7c33566af55d4e5d27d35729678684' into eclair

* commit 'e1b4437dba7c33566af55d4e5d27d35729678684':
  Revert "Fix content provider"
2009-09-02 15:35:01 -07:00
Android (Google) Code Review
983b837ea1 Merge change 23510 into eclair
* changes:
  SMS-to-email fix for messages from the web
2009-09-02 15:29:26 -07:00
Android (Google) Code Review
29dab8278a Merge change 23652 into eclair
* changes:
  Read forward address from file for DRT, fallback to default address
2009-09-02 14:06:59 -07:00
Guang Zhu
b937ba138f Read forward address from file for DRT, fallback to default address
modified:   tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
2009-09-02 14:03:37 -07:00
Jean-Baptiste Queru
d3db17d8e8 Merge snapshot version of donut back into the main tree 2009-09-02 13:42:40 -07:00
Jean-Baptiste Queru
8f4b5a5618 donut snapshot 2009-09-02 13:39:46 -07:00
Android (Google) Code Review
04e1faf0f0 Merge change 23669 into eclair
* changes:
  Cleaner way to fix the -1 count problem (and removing an Eclipse warning along the way).
2009-09-02 13:33:43 -07:00
Cedric Beust
a010ef4d7e Cleaner way to fix the -1 count problem (and removing an Eclipse warning along the way).
Change-Id: I154e27f615932bfcc08993aa361a6d2ffbc51d74
2009-09-02 13:24:52 -07:00
Android (Google) Code Review
682e30a894 Merge change 23667 into eclair
* changes:
  Fix the -1 unread count bug.
2009-09-02 13:15:52 -07:00
Cedric Beust
6f4a8a5861 Fix the -1 unread count bug.
Change-Id: I8b77ad3457504872928c1065d54f50c0618025b5
2009-09-02 13:12:26 -07:00
Android (Google) Code Review
8ecd2aecf6 Merge change 23548 into eclair
* changes:
  Fix some sign in errors.
2009-09-02 13:01:59 -07:00
Android (Google) Code Review
0a29985895 Merge change 23643 into eclair
* changes:
  Don't crash when a user taps on a fast track trigger that isn't hooked up to a contact.
2009-09-02 12:38:03 -07:00
Android (Google) Code Review
beea269000 Merge change 23323 into eclair
* changes:
      For intent ACTION_PACKAGE_CHANGED, there could be a lot of broadcasts related to enabling/disabling     components by apps which could result in thrashing on the PackageManager. For apps that     do not want to be restarted when such a broadcast is sent, we can just aggregate these broadcasts and     handle them at one go.     Changes include:     New structure to hold pending broadcasts by class name. If a component is enabled or disabled frequently     aggregate component enabled/disabled settings in this structure in a 10 second window and then     send out the accumulated list of broadcasts to the ActivityManager.     A new Handler implementation handles this message     Add new attribute name EXTRA_CHANGED_COMPONENT_NAME in broadcast intent Intent.ACTION_PACKAGE_CHANGED for     additional information for apps like Launcher.     Rename a couple of parameters, the names were too jarring.
2009-09-02 12:37:56 -07:00
Satish Roddom
af6bb1ce9a SMS-to-email fix for messages from the web
Certain carrier websites allow sending SMS to phones on their network.  They allow filling
out a "Reply to Address" which can be a phone number.  The website may send that message to
the device as an SMS-to-email, but the "From" address will be an SMS short code and not a
valid email address.  When the user replies to this message, the response is directed to the
short code and not delivered correctly.

In extractEmailAddressFromMessageBody(), currently it checks if the sender is a shortcode
and an email address is present as the first word in the message body. If so, it replaces
the email address as the sender replacing the short code.

The fix to support the above case is remove the email address check and treat the first word
as FROM address regardless of what the user types.

Change-Id: Ifd39a39b352f204024c76fde293164dcd2b0896b
2009-09-02 12:36:59 -07:00
Suchi Amalapurapu
0214e9475f For intent ACTION_PACKAGE_CHANGED, there could be a lot of broadcasts related to enabling/disabling
components by apps which could result in thrashing on the PackageManager. For apps that
    do not want to be restarted when such a broadcast is sent, we can just aggregate these broadcasts and
    handle them at one go.
    Changes include:
    New structure to hold pending broadcasts by class name. If a component is enabled or disabled frequently
    aggregate component enabled/disabled settings in this structure in a 10 second window and then
    send out the accumulated list of broadcasts to the ActivityManager.
    A new Handler implementation handles this message
    Add new attribute name EXTRA_CHANGED_COMPONENT_NAME in broadcast intent Intent.ACTION_PACKAGE_CHANGED for
    additional information for apps like Launcher.
    Rename a couple of parameters, the names were too jarring.
2009-09-02 12:32:32 -07:00
Jeff Hamilton
b623a7c953 Don't crash when a user taps on a fast track trigger that isn't hooked up to a contact. 2009-09-02 14:30:55 -05:00
Nick Pelly
71c3c7806a Immediately destroy BluetoothSocket's on close().
Unfortunatley, shutdown() on the underlying fd does not actually stop a
listening socket from listening. You need to call close() on the fd to
do this. There is no way around it.

So this means the Java BluetoothSocket code has to call destroyNative() during
BluetoothSocket.close().

Since native methods cannot be called after destroyNative(), add a ReadWrite
lock and mClosed field to protect access to native methods.

This fixes the "resource busy" error when Bluetooth OPP and Bluetooth PBAP
tried to resume listening after turning BT off and then on.
2009-09-02 11:51:35 -07:00
Android (Google) Code Review
66c70e13d9 Merge change 23529 into eclair
* changes:
  Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
2009-09-02 11:17:18 -07:00
Android (Google) Code Review
040571aa2f Merge change 23632 into eclair
* changes:
  Increase buffer allocated to receive HTTP response, YouTube is rather verbose...
2009-09-02 10:05:45 -07:00
Android (Google) Code Review
82b43d4f4e Merge change 23631 into eclair
* changes:
  Add APANIC kernel logging to CheckinService. we keep book and only read a particular file once and send it to the server.
2009-09-02 09:41:14 -07:00
Christian Sonntag
62d95ead34 Add APANIC kernel logging to CheckinService.
we keep book and only read a particular file once and send it to the server.

The files are:

Ramconsole Driver (Dream/Sapphire):

/data/dontpanic/last_kmsg

Apanic Driver (Sholes/all future designs):

/data/dontpanic/apanic_console
/data/dontpanic/apanic_threads
2009-09-02 09:28:37 -07:00
Andreas Huber
7272f7f9aa Increase buffer allocated to receive HTTP response, YouTube is rather verbose...
Yes, I know, fixed buffers are bad.
2009-09-02 09:24:09 -07:00
Android (Google) Code Review
854bcb95ce Merge change 23539 into eclair
* changes:
  Squashed commit of the following:
2009-09-02 09:22:49 -07:00
Android (Google) Code Review
bb54f93ff6 Merge change 23527 into eclair
* changes:
  Adding a convenience method to resolve contact lookup URI to a regular content URI
2009-09-02 08:38:32 -07:00
Android (Google) Code Review
14d8e6e5d5 Merge change 23609 into eclair
* changes:
  Fix SDK build breakage.
2009-09-02 00:07:09 -07:00
Android (Google) Code Review
940da9836a Merge change 23585 into eclair
* changes:
  Print error message if the buffer size is too small.
2009-09-01 23:49:42 -07:00
Wu-cheng Li
1c632933d9 Fix SDK build breakage. 2009-09-02 14:35:08 +08:00
Android (Google) Code Review
9c64d59027 Merge change 23425 into eclair
* changes:
  Store CA certificate chain into one single key entry with PEM format.
2009-09-01 23:23:41 -07:00
Wu-cheng Li
9b6a8ab822 Add camera parameters constants and methods. 2009-09-02 12:45:23 +08:00
Android (Google) Code Review
9756a70bd9 Merge change 23582 into eclair
* changes:
  Expand apps' control over the settings restore process
2009-09-01 21:00:59 -07:00
Christopher Tate
5e1ab335e6 Expand apps' control over the settings restore process
Applications can now specify two more aspects of the restore process:  whether
they need to run with their own custom Application subclass rather than being
launched in the usual restricted mode during restore, and whether it's okay for
the backup manager to kill the app process once restore has completed.  The new
manifest attributes for these are, respectively, android:restoreNeedsApplication
and android:killAfterRestore.

If unspecified in the manifest, restoreNeedsApplication is false, and
killAfterRestore is true.

In order to support kill-after-restore cleanly, this change also adds a new
system-process-only interface to the Activity Manager, which will schedule a
"commit suicide" event on the target app's main thread looper.

The framework backup agents have been given the appropriate new backup
attributes as well.
2009-09-01 20:59:36 -07:00
Chung-yih Wang
60c821c8ee Print error message if the buffer size is too small. 2009-09-02 11:54:24 +08:00
Android (Google) Code Review
f4cca783df Merge change 23583 into eclair
* changes:
  Update fountain to use structures.
2009-09-01 20:42:19 -07:00
Dianne Hackborn
e1b4437dba Revert "Fix content provider"
Argh!

This reverts commit da706900f45dca82d89f090e4e52fa5d1772c495.
2009-09-01 19:21:08 -07:00
Android (Google) Code Review
c937b5ce4f Merge change 23463 into eclair
* changes:
  Wait for HCI to come up if getting the adapter path fails.
2009-09-01 19:19:47 -07:00
Dianne Hackborn
2d2d5c4372 am c804efe2: Merge change 23569 into donut
Merge commit 'c804efe278fa33555e6e836504a467cb14505eb3' into eclair

* commit 'c804efe278fa33555e6e836504a467cb14505eb3':
  Update 4.xml to the most recent APIs.
2009-09-01 19:18:18 -07:00
Jaikumar Ganesh
176c3d64a7 Wait for HCI to come up if getting the adapter path fails. 2009-09-01 19:17:02 -07:00
Android (Google) Code Review
c804efe278 Merge change 23569 into donut
* changes:
  Update 4.xml to the most recent APIs.
2009-09-01 19:15:59 -07:00
Dianne Hackborn
2c8859aeda Update 4.xml to the most recent APIs. 2009-09-01 19:14:55 -07:00
Dianne Hackborn
ff0dc82c1c am 6a98f8d9: Merge change 23499 into donut
Merge commit '6a98f8d93e4ddd407baad8d9b7481a892001d281' into eclair

* commit '6a98f8d93e4ddd407baad8d9b7481a892001d281':
  Fix content provider
2009-09-01 19:11:44 -07:00
Android (Google) Code Review
6a98f8d93e Merge change 23499 into donut
* changes:
  Fix content provider
2009-09-01 19:09:24 -07:00
Scott Main
cc22efb52e am dc516413: Merge change 23503 into donut
Merge commit 'dc5164134c507f747f1cf89c01e4fb5e724eccd4' into eclair

* commit 'dc5164134c507f747f1cf89c01e4fb5e724eccd4':
  docs only.
2009-09-01 19:07:10 -07:00