diff options
author | Bjorn Bringert <bringert@android.com> | 2009-12-03 15:48:19 +0000 |
---|---|---|
committer | Bjorn Bringert <bringert@android.com> | 2009-12-04 12:52:51 +0000 |
commit | 2126aac7f992b57fc52141a8bd09fa7a45ac2509 (patch) | |
tree | 10081eff5afe11b5eb2e0abcb69b93cad2df0d66 /core/java | |
parent | 03cb1f15ca73900f62c12694e05bb0b0e0b6669d (diff) | |
download | frameworks_base-2126aac7f992b57fc52141a8bd09fa7a45ac2509.zip frameworks_base-2126aac7f992b57fc52141a8bd09fa7a45ac2509.tar.gz frameworks_base-2126aac7f992b57fc52141a8bd09fa7a45ac2509.tar.bz2 |
Move android.server.search.SearchableInfo to android.app
We need to expose SearchableInfo in the SDK in order to unbundle
Quick Search Box. Since the android.server.search package is
hidden, I'm moving SearchableInfo to android.app, where
SearchManager lives.
This change doesn't actually expose SearchableInfo. I'll do
that in a separate change to keep the change that
api-council needs to review small.
This is part of the fix for: http://b/issue?id=2270838
Change-Id: I9589f9c2c11d36c958beedff8245fe0c3319c6ba
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/app/ISearchManager.aidl | 2 | ||||
-rw-r--r-- | core/java/android/app/SearchDialog.java | 1 | ||||
-rw-r--r-- | core/java/android/app/SearchManager.java | 1 | ||||
-rw-r--r-- | core/java/android/app/SearchableInfo.aidl (renamed from core/java/android/server/search/SearchableInfo.aidl) | 2 | ||||
-rw-r--r-- | core/java/android/app/SearchableInfo.java (renamed from core/java/android/server/search/SearchableInfo.java) | 6 | ||||
-rw-r--r-- | core/java/android/app/SuggestionsAdapter.java | 1 | ||||
-rw-r--r-- | core/java/android/server/search/SearchManagerService.java | 1 | ||||
-rw-r--r-- | core/java/android/server/search/Searchables.java | 1 |
8 files changed, 9 insertions, 6 deletions
diff --git a/core/java/android/app/ISearchManager.aidl b/core/java/android/app/ISearchManager.aidl index a7d6378..0920467 100644 --- a/core/java/android/app/ISearchManager.aidl +++ b/core/java/android/app/ISearchManager.aidl @@ -16,11 +16,11 @@ package android.app; +import android.app.SearchableInfo; import android.app.ISearchManagerCallback; import android.content.ComponentName; import android.content.res.Configuration; import android.os.Bundle; -import android.server.search.SearchableInfo; /** @hide */ interface ISearchManager { diff --git a/core/java/android/app/SearchDialog.java b/core/java/android/app/SearchDialog.java index 0757cb0..b204c79 100644 --- a/core/java/android/app/SearchDialog.java +++ b/core/java/android/app/SearchDialog.java @@ -37,7 +37,6 @@ import android.os.IBinder; import android.os.RemoteException; import android.os.SystemClock; import android.provider.Browser; -import android.server.search.SearchableInfo; import android.speech.RecognizerIntent; import android.text.Editable; import android.text.InputType; diff --git a/core/java/android/app/SearchManager.java b/core/java/android/app/SearchManager.java index 2e94a2f..ab5e102 100644 --- a/core/java/android/app/SearchManager.java +++ b/core/java/android/app/SearchManager.java @@ -26,7 +26,6 @@ import android.os.Bundle; import android.os.Handler; import android.os.RemoteException; import android.os.ServiceManager; -import android.server.search.SearchableInfo; import android.text.TextUtils; import android.util.Log; import android.view.KeyEvent; diff --git a/core/java/android/server/search/SearchableInfo.aidl b/core/java/android/app/SearchableInfo.aidl index 9576c2b..146b373 100644 --- a/core/java/android/server/search/SearchableInfo.aidl +++ b/core/java/android/app/SearchableInfo.aidl @@ -14,6 +14,6 @@ * limitations under the License. */ -package android.server.search; +package android.app; parcelable SearchableInfo; diff --git a/core/java/android/server/search/SearchableInfo.java b/core/java/android/app/SearchableInfo.java index 69ef98c..cbf7b3d 100644 --- a/core/java/android/server/search/SearchableInfo.java +++ b/core/java/android/app/SearchableInfo.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package android.server.search; +package android.app; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; @@ -37,6 +37,10 @@ import android.view.inputmethod.EditorInfo; import java.io.IOException; import java.util.HashMap; +/** + * + * @hide Pending API council approval + */ public final class SearchableInfo implements Parcelable { // general debugging support diff --git a/core/java/android/app/SuggestionsAdapter.java b/core/java/android/app/SuggestionsAdapter.java index 12be97c..173c3e1 100644 --- a/core/java/android/app/SuggestionsAdapter.java +++ b/core/java/android/app/SuggestionsAdapter.java @@ -31,7 +31,6 @@ import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import android.net.Uri; import android.os.Bundle; -import android.server.search.SearchableInfo; import android.text.Html; import android.text.TextUtils; import android.util.Log; diff --git a/core/java/android/server/search/SearchManagerService.java b/core/java/android/server/search/SearchManagerService.java index 78ea2e3..6e8b7ee 100644 --- a/core/java/android/server/search/SearchManagerService.java +++ b/core/java/android/server/search/SearchManagerService.java @@ -21,6 +21,7 @@ import android.app.IActivityWatcher; import android.app.ISearchManager; import android.app.ISearchManagerCallback; import android.app.SearchManager; +import android.app.SearchableInfo; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; diff --git a/core/java/android/server/search/Searchables.java b/core/java/android/server/search/Searchables.java index c615957..cbb63a5 100644 --- a/core/java/android/server/search/Searchables.java +++ b/core/java/android/server/search/Searchables.java @@ -19,6 +19,7 @@ package android.server.search; import com.android.internal.app.ResolverActivity; import android.app.SearchManager; +import android.app.SearchableInfo; import android.content.ComponentName; import android.content.Context; import android.content.Intent; |