8105 Commits

Author SHA1 Message Date
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
Eric Fischer
7a797a02af am 66c70e13: Merge change 23529 into eclair
Merge commit '66c70e13d9f39cf82df8542fe53f2049d3f2062e' into eclair-plus-aosp

* commit '66c70e13d9f39cf82df8542fe53f2049d3f2062e':
  Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
2009-09-02 11:19:19 -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
Andreas Huber
30a85367ea am 040571aa: Merge change 23632 into eclair
Merge commit '040571aa2f71031376ff37ffa827d3612eb89340' into eclair-plus-aosp

* commit '040571aa2f71031376ff37ffa827d3612eb89340':
  Increase buffer allocated to receive HTTP response, YouTube is rather verbose...
2009-09-02 10:26:13 -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
Christian Sonntag
6fea727c4c am 82b43d4f: Merge change 23631 into eclair
Merge commit '82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9' into eclair-plus-aosp

* commit '82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9':
  Add APANIC kernel logging to CheckinService.
2009-09-02 09:44:39 -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
56aa70f7f2 am 854bcb95: Merge change 23539 into eclair
Merge commit '854bcb95ce5d8d75b843e8da1b691fa93395977c' into eclair-plus-aosp

* commit '854bcb95ce5d8d75b843e8da1b691fa93395977c':
  Squashed commit of the following:
2009-09-02 09:26:08 -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
Dmitri Plotnikov
db7dde6bd3 am bb54f93f: Merge change 23527 into eclair
Merge commit 'bb54f93ff66f382dc706b9fff508d386e046fdc2' into eclair-plus-aosp

* commit 'bb54f93ff66f382dc706b9fff508d386e046fdc2':
  Adding a convenience method to resolve contact lookup URI to a regular content URI
2009-09-02 08:42:46 -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
Wu-cheng Li
35412cf5ab am 14d8e6e5: Merge change 23609 into eclair
Merge commit '14d8e6e5d5503fe420bb3276d367cba1bfba03f9' into eclair-plus-aosp

* commit '14d8e6e5d5503fe420bb3276d367cba1bfba03f9':
  Fix SDK build breakage.
2009-09-02 00:15:43 -07:00
Chung-yih Wang
585fb14c56 am 940da983: Merge change 23585 into eclair
Merge commit '940da9836aa6ce72cd025aedd1cf78c3dd277240' into eclair-plus-aosp

* commit '940da9836aa6ce72cd025aedd1cf78c3dd277240':
  Print error message if the buffer size is too small.
2009-09-02 00:15:38 -07:00
Chung-yih Wang
c758578735 am 9c64d590: Merge change 23425 into eclair
Merge commit '9c64d59027a09699ec5ef1f0fedd88910ee7ae27' into eclair-plus-aosp

* commit '9c64d59027a09699ec5ef1f0fedd88910ee7ae27':
  Store CA certificate chain into one single key entry with PEM format.
2009-09-02 00:15:33 -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
Tammo Spalink
7e207afd49 Reject (NAK) CDMA SMS with unknown teleservice ids.
Addresses issue:
http://buganizer/issue?id=2066191

Change-Id: I56124379534bf19f128b6228749c7ee2ef455fed
2009-09-02 14:25:38 +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
eb05398fcc am 9b6a8ab8: Add camera parameters constants and methods.
Merge commit '9b6a8ab8221f2df20c32711b0f1e4f301165fac2' into eclair-plus-aosp

* commit '9b6a8ab8221f2df20c32711b0f1e4f301165fac2':
  Add camera parameters constants and methods.
2009-09-01 22:01:00 -07:00
Wu-cheng Li
9b6a8ab822 Add camera parameters constants and methods. 2009-09-02 12:45:23 +08:00
Christopher Tate
fbea729dcc am 9073dc69: am 9756a70b: Merge change 23582 into eclair
Merge commit '9073dc69b110cbd0d4bebd128ed6cc2b24a16695'

* commit '9073dc69b110cbd0d4bebd128ed6cc2b24a16695':
  Expand apps' control over the settings restore process
2009-09-01 21:05:10 -07:00
Christopher Tate
9073dc69b1 am 9756a70b: Merge change 23582 into eclair
Merge commit '9756a70bd92fb844d2fd8346cc4bb6c8bb768c4b' into eclair-plus-aosp

* commit '9756a70bd92fb844d2fd8346cc4bb6c8bb768c4b':
  Expand apps' control over the settings restore process
2009-09-01 21:02:33 -07: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
Jason Sams
f9b7dc5242 am ace6194f: am f4cca783: Merge change 23583 into eclair
Merge commit 'ace6194fbfea7a7748face1f305ad6c643f8c41e'

* commit 'ace6194fbfea7a7748face1f305ad6c643f8c41e':
  Update fountain to use structures.
2009-09-01 20:46:35 -07:00
Jason Sams
ace6194fbf am f4cca783: Merge change 23583 into eclair
Merge commit 'f4cca783dff5335108647ff7ae86983f56245067' into eclair-plus-aosp

* commit 'f4cca783dff5335108647ff7ae86983f56245067':
  Update fountain to use structures.
2009-09-01 20:43:58 -07: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
Jason Sams
b22f5b3bb3 Simple app to create a gl2 context and dump the strings. 2009-09-01 20:41:05 -07:00
Jaikumar Ganesh
dabd4e46a5 am a457424b: am c937b5ce: Merge change 23463 into eclair
Merge commit 'a457424bfb7991d648aa7620549a09205f8acd13'

* commit 'a457424bfb7991d648aa7620549a09205f8acd13':
  Wait for HCI to come up if getting the adapter path fails.
2009-09-01 19:23:13 -07:00
Dianne Hackborn
87672d2bd9 am 470f54d2: am 2d2d5c43: am c804efe2: Merge change 23569 into donut
Merge commit '470f54d299f1eece316a03ee3a2607f0555cb170'

* commit '470f54d299f1eece316a03ee3a2607f0555cb170':
  Update 4.xml to the most recent APIs.
2009-09-01 19:23:07 -07:00
Dianne Hackborn
e1b4437dba Revert "Fix content provider"
Argh!

This reverts commit da706900f45dca82d89f090e4e52fa5d1772c495.
2009-09-01 19:21:08 -07:00
Jaikumar Ganesh
a457424bfb am c937b5ce: Merge change 23463 into eclair
Merge commit 'c937b5ce4ff2f39fd9c60f718f98550a932b62f0' into eclair-plus-aosp

* commit 'c937b5ce4ff2f39fd9c60f718f98550a932b62f0':
  Wait for HCI to come up if getting the adapter path fails.
2009-09-01 19:20:44 -07:00
Dianne Hackborn
470f54d299 am 2d2d5c43: am c804efe2: Merge change 23569 into donut
Merge commit '2d2d5c4372b8ea5cf925c838b2149686211445af' into eclair-plus-aosp

* commit '2d2d5c4372b8ea5cf925c838b2149686211445af':
  Update 4.xml to the most recent APIs.
2009-09-01 19:20:39 -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
Dianne Hackborn
f5a865bafb am ea49cf65: am ff0dc82c: am 6a98f8d9: Merge change 23499 into donut
Merge commit 'ea49cf658dc683ec4dd08a979e660e40187e8dbf'

* commit 'ea49cf658dc683ec4dd08a979e660e40187e8dbf':
  Fix content provider
2009-09-01 19:16:35 -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
ea49cf658d am ff0dc82c: am 6a98f8d9: Merge change 23499 into donut
Merge commit 'ff0dc82c1cfe780e6f4c87d1d34de6dc3b741a2d' into eclair-plus-aosp

* commit 'ff0dc82c1cfe780e6f4c87d1d34de6dc3b741a2d':
  Fix content provider
2009-09-01 19:14:08 -07:00
Scott Main
e7bc07eb20 am 52a243b9: am cc22efb5: am dc516413: Merge change 23503 into donut
Merge commit '52a243b9a8cae158a46e81598a303f8fe87f8862'

* commit '52a243b9a8cae158a46e81598a303f8fe87f8862':
  docs only.
2009-09-01 19:11:57 -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
Scott Main
52a243b9a8 am cc22efb5: am dc516413: Merge change 23503 into donut
Merge commit 'cc22efb52e8b5851b7d53099f7f814bfae266124' into eclair-plus-aosp

* commit 'cc22efb52e8b5851b7d53099f7f814bfae266124':
  docs only.
2009-09-01 19:09:36 -07:00