OSDN Git Service

Use flattenToShortString instead of toShortString on ComponentNames to
authorMike LeBeau <mlebeau@android.com>
Fri, 2 Apr 2010 01:08:34 +0000 (18:08 -0700)
committerMike LeBeau <mlebeau@android.com>
Fri, 2 Apr 2010 01:08:34 +0000 (18:08 -0700)
commitd0635d51bc8a71e7dcc7dda39862f18aca5bd135
tree5d7eafb44ea292ac23d80c40d93eb5a6372d5f65
parente134279ffa3d5a3871fd39e9e9328b3ab1fec88d
Use flattenToShortString instead of toShortString on ComponentNames to
be sent in RecognizerIntent.EXTRA_CALLING_PACKAGE. This never should have
been using toShortString because that includes curly braces and is not
correctly parsed by ComponentName.unflattenFromString.

This was needed as part of http://b/2546173

Change-Id: If34a9273cbcae13a75347be0b6b7ef307134ed40
core/java/android/app/SearchDialog.java