Commit Graph

177037 Commits

Author SHA1 Message Date
Android (Google) Code Review
130a8f8cbf am 3f4263fa: Merge change 4411 into donut
Merge commit '3f4263fac6bcc68b3c7fff8e6ac9ad2d97b2ad4c'

* commit '3f4263fac6bcc68b3c7fff8e6ac9ad2d97b2ad4c':
  Squashed commit of the following:
2009-06-17 18:46:21 -07:00
Android (Google) Code Review
2420186c89 am 5553f152: Merge change 3936 into donut
Merge commit '5553f1528e94377ae5adf423e91331f5eb57dd44'

* commit '5553f1528e94377ae5adf423e91331f5eb57dd44':
  add exception message to ApplicationErrorReport
2009-06-17 18:46:17 -07:00
Android (Google) Code Review
e2dc20c274 am 826a54dd: Merge change 4489 into donut
Merge commit '826a54dd74317f87d4afa8c0f1fc3491a69169ff'

* commit '826a54dd74317f87d4afa8c0f1fc3491a69169ff':
  Add SmsManager permission test.
2009-06-17 18:45:58 -07:00
Phil Dubach
4566b79736 Fix Canvas.finalize() for the case where the constructor throws an exception
before the native canvas instance was created.

If the canvas constructors throw an exception (because the bitmap passed in is
immutable or already recycled), the constructor terminates early without
allocating the native canvas instance. For the most part, that's okay, since
the Canvas instance will never be returned to the application.  However, the GC
will still call finalize() on the half-initialized Canvas.

The native methods for Canvas all assume that the canvas pointer passed down is
not null.
2009-06-17 18:26:32 -07:00
Suchi Amalapurapu
e1fae30e20 Merge commit '0781df94' into manualmerge
Conflicts:
	Android.mk
	api/current.xml
2009-06-17 18:24:44 -07:00
Dan Egnor
87a02bcf68 Replace the stub GoogleTransport with callout to the
GoogleTransportService (which lives in vendor/google).
Use the Google transport by default.
Also, fix a bug: Thread.run() != Thread.start()
2009-06-17 18:23:05 -07:00
Jean-Michel Trivi
605a66bd56 In the TTS service, read the default TTS settings from Settings.Secure. 2009-06-17 17:59:50 -07:00
Joe Onorato
83248c432f backup fixes:
- BackupTestAgent calls the DispatchHelper
- Make BackupAgent.onRestore take a BackupDataInput, not just a
  generic ParcelFileDescriptor.
2009-06-17 17:57:30 -07:00
Android (Google) Code Review
6ce1983a2b Merge change 4532 into donut
* changes:
  Fixes #1924909. When restoring managed dialogs, do exactly the same thing as when showing a dialog.
2009-06-17 17:04:33 -07:00
Romain Guy
764d5331d1 Fixes #1924909. When restoring managed dialogs, do exactly the same thing as when showing a dialog. 2009-06-17 17:04:09 -07:00
Android (Google) Code Review
cff19c1a01 Merge change 4539 into donut
* changes:
  Fixes #1925003. Make ListView honor the android:choiceMode XML attribute.
2009-06-17 17:01:55 -07:00
Amith Yamasani
ca74c90cf5 Add title to nested preference screens.
Fixes #1894381
2009-06-17 17:01:27 -07:00
Romain Guy
536fb04c1c Fixes #1925003. Make ListView honor the android:choiceMode XML attribute.
The attribute was simply ignored by the constructor.
2009-06-17 17:01:04 -07:00
Android (Google) Code Review
253e8e34b3 Merge change 4533
* changes:
  Implement default programs and implement defaults and parents for imports.
2009-06-17 16:54:35 -07:00
Jason Sams
9c54bdbf45 Implement default programs and implement defaults and parents for imports. 2009-06-17 16:52:59 -07:00
Romain Guy
465dee4b4b Fixes #1819572. Do not resurrect the list's selection when the user moved it away.
This is a workaround for a touch mode issue.

Touch mode is propagated lazily to windows. This causes problems in
the following scenario:
- Type something in the AutoCompleteTextView and get some results
- Move down with the d-pad to select an item in the list
- Move up with the d-pad until the selection disappears
- Type more text in the AutoCompleteTextView *using the soft keyboard*
and get new results; you are now in touch mode
- The selection comes back on the first item in the list, even though
the list is supposed to be in touch mode

Using the soft keyboard triggers the touch mode change but that change
is propagated to our window only after the first list layout, therefore
after the list attempts to resurrect the selection.

The trick to work around this issue is to pretend the list is in touch
mode when we know that the selection should not appear, that is when
we know the user moved the selection away from the list.

This boolean is set to true whenever we explicitely hide the list's
selection and reset to false whenver we know the user moved the
selection back to the list.

When this boolean is true, isInTouchMode() returns true, otherwise it
returns super.isInTouchMode().
2009-06-17 16:49:17 -07:00
Android (Google) Code Review
de72697b77 Merge change 4524 into donut
* changes:
  FileRestoreHelper and RestoreHelperDispatcher work.
2009-06-17 16:34:41 -07:00
Joe Onorato
efd0fab04b FileRestoreHelper and RestoreHelperDispatcher work. 2009-06-17 16:20:55 -07:00
Romain Guy
31708d4645 resolved conflicts for merge of 3571ff40 to master 2009-06-17 15:55:53 -07:00
Android (Google) Code Review
ed336839d2 Merge change 4515 into donut
* changes:
  Tell DBUS not to call _exit() if the DBUS connection disconnects.
2009-06-17 15:41:51 -07:00
Android (Google) Code Review
380b6b3e4a am ef29f6af: Merge change 4483 into donut
Merge commit 'ef29f6afb4746eae8263ab901a5d3677bc04574b'

* commit 'ef29f6afb4746eae8263ab901a5d3677bc04574b':
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 15:39:13 -07:00
Android (Google) Code Review
2850394cea am 09ac6a4e: Merge change 4484 into donut
Merge commit '09ac6a4ea898221dfc338003683bb3a34f2d30a8'

* commit '09ac6a4ea898221dfc338003683bb3a34f2d30a8':
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 15:39:09 -07:00
Android (Google) Code Review
5cc37854d4 am 07ca8c71: Merge change 4438 into donut
Merge commit '07ca8c71f47ac8c61b3aef0210e44d2c48e62e48'

* commit '07ca8c71f47ac8c61b3aef0210e44d2c48e62e48':
  Fix many of the ANRs introduced by scheduling classes.
2009-06-17 15:39:06 -07:00
Android (Google) Code Review
321d593efe am a0a854d4: Merge change 4398 into donut
Merge commit 'a0a854d47f9dc38ce41505f973aea01842694fb5'

* commit 'a0a854d47f9dc38ce41505f973aea01842694fb5':
  Using Locale to specify language and country for a TTS language to load,
2009-06-17 15:39:03 -07:00
Android (Google) Code Review
5bba52f617 am 2cf3971e: Merge change 4460 into donut
Merge commit '2cf3971ea4d22f8981ae71e6ba358f19e1628d09'

* commit '2cf3971ea4d22f8981ae71e6ba358f19e1628d09':
  Use the new keystore API in vpn service.
2009-06-17 15:38:47 -07:00
Satish Sampath
dd34fb0529 am bf23fe06: Prepare SearchManager framework for adding Genie logging.
Merge commit 'bf23fe062ab4321143717c21827d329e087cc72f'

* commit 'bf23fe062ab4321143717c21827d329e087cc72f':
  Prepare SearchManager framework for adding Genie logging.
2009-06-17 15:38:42 -07:00
Android (Google) Code Review
587c89e25b am 5c1c40d2: Merge change 4455 into donut
Merge commit '5c1c40d28cb4c0dc5efbdb6e9e695685044606e9'

* commit '5c1c40d28cb4c0dc5efbdb6e9e695685044606e9':
  add feedback test with gsm7bit special case characters
2009-06-17 15:38:39 -07:00
Android (Google) Code Review
a06a9267fd am 528a29f8: Merge change 4326 into donut
Merge commit '528a29f886f9cb9266e1fda2d2c9e0ea7ea88faf'

* commit '528a29f886f9cb9266e1fda2d2c9e0ea7ea88faf':
  Don't get location in search dialog.
2009-06-17 15:38:36 -07:00
Android (Google) Code Review
97b5660c97 am 9fbeb7da: Merge change 4337 into donut
Merge commit '9fbeb7da1318bf5b65588a759332d74540306c06'

* commit '9fbeb7da1318bf5b65588a759332d74540306c06':
  Change the keystore APIs.
2009-06-17 15:38:33 -07:00
Mitsuru Oshima
2fc22e4f7c am d9aef73f: Squashed commit of the following:
Merge commit 'd9aef73f72cb11ba7f278a0ef13c6d02ffc95851'

* commit 'd9aef73f72cb11ba7f278a0ef13c6d02ffc95851':
  Squashed commit of the following:
2009-06-17 15:38:12 -07:00
Joe Onorato
251c89c0a7 am 5f15d151: checkpoint BackupDatAInput / RestoreHelper
Merge commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e'

* commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e':
  checkpoint BackupDatAInput / RestoreHelper
2009-06-17 15:38:08 -07:00
Mitsuru Oshima
bdbbe68f0b am 525258d2: Pick the right rotation based on window\'s width/height.
Merge commit '525258d21cf9570461507f3668e24668e18c9f99'

* commit '525258d21cf9570461507f3668e24668e18c9f99':
  Pick the right rotation based on window's width/height.
2009-06-17 15:38:02 -07:00
Christopher Tate
1bd88ca88f am aa088447: Hold the current transport instantiated all the time.
Merge commit 'aa088447baadd2e0bbcfd18cc529645610c13ddc'

* commit 'aa088447baadd2e0bbcfd18cc529645610c13ddc':
  Hold the current transport instantiated all the time.
2009-06-17 15:37:53 -07:00
Nick Pelly
9e0a19515b Tell DBUS not to call _exit() if the DBUS connection disconnects.
This was causing the system server to quietly die. Naughty DBUS!!

Now you will just see errors in the log "DBUS connection disconnected"
on every DBUS call.

There is still the root cause problem of why the DBUS connection disconnects,
which is not addressed by this change.
2009-06-17 15:27:59 -07:00
Android (Google) Code Review
3f4263fac6 Merge change 4411 into donut
* changes:
  Squashed commit of the following:
2009-06-17 15:20:58 -07:00
Eric Fischer
f204ab3ebc Squashed commit of the following:
commit 8e1a200225b7e4756b83d17d679a71a06a38b696
Author: Eric Fischer <enf@google.com>
Date:   Tue Jun 16 16:32:56 2009 -0700

    Make names of Settings, VPN, Subscribed Feeds providers localizable.
2009-06-17 15:17:29 -07:00
Android (Google) Code Review
ddf9bc76a4 Merge change 4501
* changes:
  Add support to BitmapFactory for decoding a bitmap from a MemoryFile FileDescriptor.
2009-06-17 14:32:02 -07:00
Marco Nelissen
984b5df383 Add support to BitmapFactory for decoding a bitmap from a MemoryFile FileDescriptor. 2009-06-17 14:07:53 -07:00
Android (Google) Code Review
2aa30ffd14 Merge change 4471
* changes:
  MemoryFile.isMemoryFile was internally determining the length of the ashmem region. This is actually useful information to have, so expose that more directly.
2009-06-17 14:04:35 -07:00
Android (Google) Code Review
5553f1528e Merge change 3936 into donut
* changes:
  add exception message to ApplicationErrorReport
2009-06-17 13:34:41 -07:00
Marco Nelissen
ec100900e6 MemoryFile.isMemoryFile was internally determining the length of
the ashmem region. This is actually useful information to have,
so expose that more directly.
2009-06-17 13:00:07 -07:00
Android (Google) Code Review
826a54dd74 Merge change 4489 into donut
* changes:
  Add SmsManager permission test.
2009-06-17 12:51:17 -07:00
Jacek Surazski
f829a78f6c add exception message to ApplicationErrorReport
useful signal for clustering
2009-06-17 21:48:17 +02:00
Android (Google) Code Review
0781df943e Merge change 4129 into donut
* changes:
  Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app Create a new public IntentSender class that can be used by PackageManager instead. This new class uses IIntentSender internally and can only be created by PendingIntent for now. Provide a new getIntentSender api in PendingIntent to create an instance of this class. Move IIntentSender and IIntentReceiver from android.app to android.content Change imports of IIntentSender and IIntentReceiver to reflect the new package name The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage once the older api(which has been deprecated) will be removed shortly.
2009-06-17 11:33:22 -07:00
Suchi Amalapurapu
1ccac75e1f Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app
Create a new public IntentSender class that can be used by PackageManager instead.
This new class uses IIntentSender internally and can only be created by PendingIntent for now.
Provide a new getIntentSender api in PendingIntent to create an instance of this class.
Move IIntentSender and IIntentReceiver from android.app to android.content
Change imports of IIntentSender and IIntentReceiver to reflect the new package name
The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage
once the older api(which has been deprecated) will be removed shortly.
2009-06-17 11:31:26 -07:00
Brett Chabot
6cdd1c8a60 Add SmsManager permission test. 2009-06-17 11:29:45 -07:00
Android (Google) Code Review
3571ff40d3 Merge change 4486 into donut
* changes:
  Fixes #1107690. Updates javadoc for Intent.java, android:value -> android:name.
2009-06-17 11:05:56 -07:00
Android (Google) Code Review
ef29f6afb4 Merge change 4483 into donut
* changes:
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 10:58:47 -07:00
Android (Google) Code Review
2350643115 Merge change 4484 into donut
* changes:
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 10:58:10 -07:00
Romain Guy
4969af7d9f Fixes #1107690. Updates javadoc for Intent.java, android:value -> android:name.
Also fixes the <type android:value /> tags, they are now <data android:mimeType />
2009-06-17 10:53:19 -07:00