906 Commits

Author SHA1 Message Date
Android (Google) Code Review
77dcf735ff Merge change 4561 into donut
* changes:
  Work around the Czech lack of abbreviated month names.
2009-06-18 12:20:50 -07:00
Eric Fischer
5669ce59aa Work around the Czech lack of abbreviated month names.
Make the date formats that want abbreviated month names use either
the full name or a numeric format.
2009-06-18 11:34:06 -07:00
Mike LeBeau
df1ff2cb33 Use a full-screen-width version of the in-app search dropdown with
rounded corners. We may decide to use this for global search too,
I'll try that out in a bit.
2009-06-18 11:02:22 -07:00
Mike LeBeau
0b1ff191cd Icons for create a contact and call contact suggestions, to be used by all
contacts providers.
2009-06-18 10:52:31 -07:00
Mike LeBeau
cce7dbc31e Re-enable query jamming. 2009-06-18 10:52:31 -07:00
Android (Google) Code Review
36c153f84f Merge change 4535 into donut
* changes:
  Add title to nested preference screens.
2009-06-18 07:11:06 -07:00
Dianne Hackborn
c14b9ccdf1 Extend Intent/Uri conversion for use by Browser
This introduces a new Uri form of Intent with an "intent:" scheme, and a
corresponding update to the parser to handle these, so that the browser
can use this generic facility for starting activities based on the links
that are clicked and allow for web pages to link to arbitrary intents.

There is also a new "package" field on Intent which allows you to limit
the components it finds to a given package.  This replaces the new method
that was added to PackageManger for doing this when resolving activities,
and implements it for all Intent queries against the package manager.
2009-06-17 21:48:14 -07:00
Christopher Tate
e9190a2750 Base64 the keys to make filenames in LocalTransport 2009-06-17 20:11:03 -07:00
Android (Google) Code Review
3c2f8e6651 Merge change 4456 into donut
* changes:
  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 19:31:36 -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
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
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
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
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
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
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
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
Romain Guy
d20927410c Fixes #1414069. Display recent activities with two lines of text. 2009-06-17 10:40:29 -07:00
Android (Google) Code Review
a0a854d47f Merge change 4398 into donut
* changes:
  Using Locale to specify language and country for a TTS language to load, rather than a String. Cleanup in doc for TextToSpeech, and addition of queue mode constants.
2009-06-17 10:36:43 -07:00
Jean-Michel Trivi
679d728f09 Using Locale to specify language and country for a TTS language to load,
rather than a String.
Cleanup in doc for TextToSpeech, and addition of queue mode constants.
2009-06-17 10:16:17 -07:00
Satish Sampath
bf23fe062a Prepare SearchManager framework for adding Genie logging.
- Instead of passing the suggest provider component name as the field
  EXTRA_DATA, we now pass via the field COMPONENT_NAME
- Kept EXTRA_DATA field as is so we can use it for real extra data.
2009-06-17 13:33:12 +01:00
Android (Google) Code Review
528a29f886 Merge change 4326 into donut
* changes:
  Don't get location in search dialog.
2009-06-17 00:58:19 -07:00
Mitsuru Oshima
d9aef73f72 Squashed commit of the following:
commit 9798cd23605c96c1d6a29202f4d31f5454079b61
Author: Mitsuru Oshima <oshima@google.com>
Date:   Tue Jun 16 13:50:44 2009 -0700

    Made other toShortString in performDestroyActivity safe.

commit 19bf973df81d9d01210effb39c99e5236f2229c1
Author: Mitsuru Oshima <oshima@google.com>
Date:   Fri Jun 12 15:50:03 2009 -0700

    * component can be null after destory?
     This was causing NPE in catch block, which hides the actual exception.

Conflicts:

	core/java/android/app/ActivityThread.java
2009-06-16 20:22:12 -07:00
Joe Onorato
5f15d151b5 checkpoint BackupDatAInput / RestoreHelper 2009-06-16 18:46:50 -07:00
Christopher Tate
aa088447ba Hold the current transport instantiated all the time.
We no longer instantiate the transport just for the duration of handling a
backup or restore operation.  Instead, we hold the object forever (replacing it
if instructed to do so).  This makes it easier for transports to watch system
state and help set backup timing policy.

Also fixes up the IBackupTransport documentation a bit.
2009-06-16 18:25:46 -07:00
Romain Guy
e705f2c52e Make gestures visible again. 2009-06-16 17:07:21 -07:00
Android (Google) Code Review
8db24105cb Merge change 4402 into donut
* changes:
  Fixes #1899284 and #1899287. Give applications more control over the gesture's path.
2009-06-16 15:56:49 -07:00
Romain Guy
b973eef289 Fixes #1899284 and #1899287. Give applications more control over the gesture's path.
This change adds new APIs to control the gesture's path by deciding whether the
path should be drawn and by getting the ability to get the Path itself and
draw it differently.
2009-06-16 15:53:27 -07:00
Android (Google) Code Review
8ad473994d Merge change 4374 into donut
* changes:
  Fixes a potential NPE in View.
2009-06-16 15:04:37 -07:00
Christopher Tate
f68eb500f9 More bmgr work; fix clear-data signalling
The 'list sets' and 'restore token#' commands from bmgr now do what they are
supposed to.  At this point we see the restore target's data being cleared
properly and its agent being launched and invoked for restore.
2009-06-16 13:58:17 -07:00
Romain Guy
779398e7eb Fixes a potential NPE in View.
Calling getLocationOnScreen() before the View is attached to a window can
throw an NPE. This change simply guards against the exception.
2009-06-16 13:17:50 -07:00
Android (Google) Code Review
5633034f79 Merge change 4115 into donut
* changes:
  * component can be null after destory?  This was causing NPE in catch block, which hides the actual exception.
2009-06-16 13:14:09 -07:00
Bjorn Bringert
6d3d9892c2 Don't get location in search dialog.
This change removes all location code from the
system search dialog. The code was out of sync with
the EnhancedGoogleSearchprovider, and was possibly
responsible for some network location provider
crashes.

Instead we will try to make EnhancedGoogleSearch persistent, so that
it has a reasonable location most of the time.
2009-06-16 14:50:20 +01:00
Android (Google) Code Review
b4f7592b03 Merge change 4299 into donut
* changes:
  Allow pre-Donut apps to use indirect Buffers in GL11 Pointer methods.
2009-06-15 21:55:01 -07:00
Jack Palevich
91a27ae2fe Allow pre-Donut apps to use indirect Buffers in GL11 Pointer methods.
Apps targeting Donut and newer will throw an exception.

We use a heuristic to determine whether an app is pre-Donut or not:
We take the address space's __progname, and use that as the application's
package name. For simple applications this is correct.
2009-06-15 21:03:24 -07:00
Android (Google) Code Review
ef29379c28 Merge change 4023 into donut
* changes:
  Fix IntentFilter constructor to properly process the action parameter.
2009-06-15 20:21:30 -07:00
Android (Google) Code Review
6297cb2eb5 Merge change 4287 into donut
* changes:
  Sketch out a 'bmgr' command line tool
2009-06-15 19:03:48 -07:00
Christopher Tate
ace7f094bf Sketch out a 'bmgr' command line tool
Not finished, but eventually will allow adb shell access to the Backup Manager
for testing purposes etc.
2009-06-15 18:07:25 -07:00
Android (Google) Code Review
e65fdfb8af Merge change 4262 into donut
* changes:
  Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders.
2009-06-15 17:10:16 -07:00
Android (Google) Code Review
727f36c6a1 Merge change 4265 into donut
* changes:
  process: Fix bug where if a thread exited while we were changing its control     group, we'd bail out and report an exception. This situation is *not*     an error.
2009-06-15 17:06:24 -07:00