summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@android.com>2009-12-03 15:48:19 +0000
committerBjorn Bringert <bringert@android.com>2009-12-04 12:52:51 +0000
commit2126aac7f992b57fc52141a8bd09fa7a45ac2509 (patch)
tree10081eff5afe11b5eb2e0abcb69b93cad2df0d66 /tests
parent03cb1f15ca73900f62c12694e05bb0b0e0b6669d (diff)
downloadframeworks_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 'tests')
-rw-r--r--tests/AndroidTests/src/com/android/unit_tests/SearchManagerTest.java2
-rw-r--r--tests/AndroidTests/src/com/android/unit_tests/SearchablesTest.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/AndroidTests/src/com/android/unit_tests/SearchManagerTest.java b/tests/AndroidTests/src/com/android/unit_tests/SearchManagerTest.java
index e48a57b..6f6f55d 100644
--- a/tests/AndroidTests/src/com/android/unit_tests/SearchManagerTest.java
+++ b/tests/AndroidTests/src/com/android/unit_tests/SearchManagerTest.java
@@ -21,10 +21,10 @@ import com.android.unit_tests.activity.LocalActivity;
import android.app.Activity;
import android.app.ISearchManager;
import android.app.SearchManager;
+import android.app.SearchableInfo;
import android.content.ComponentName;
import android.content.Context;
import android.os.ServiceManager;
-import android.server.search.SearchableInfo;
import android.test.ActivityInstrumentationTestCase2;
import android.test.suitebuilder.annotation.LargeTest;
import android.test.suitebuilder.annotation.MediumTest;
diff --git a/tests/AndroidTests/src/com/android/unit_tests/SearchablesTest.java b/tests/AndroidTests/src/com/android/unit_tests/SearchablesTest.java
index 4e5f7a9..972559d 100644
--- a/tests/AndroidTests/src/com/android/unit_tests/SearchablesTest.java
+++ b/tests/AndroidTests/src/com/android/unit_tests/SearchablesTest.java
@@ -17,6 +17,8 @@
package com.android.unit_tests;
import android.app.SearchManager;
+import android.app.SearchableInfo;
+import android.app.SearchableInfo.ActionKeyInfo;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
@@ -28,9 +30,7 @@ import android.content.pm.ResolveInfo;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;
import android.os.RemoteException;
-import android.server.search.SearchableInfo;
import android.server.search.Searchables;
-import android.server.search.SearchableInfo.ActionKeyInfo;
import android.test.AndroidTestCase;
import android.test.MoreAsserts;
import android.test.mock.MockContext;