summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2019-01-25 15:10:18 -0800
committerSunny Goyal <sunnygoyal@google.com>2019-01-29 11:29:52 -0800
commit8c48d8bea64b95916b18bd41a4fdb58d4d7477be (patch)
tree1a3538863bdb43b87eef0b1238d17ac908f045c5 /tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
parent9752705e92593adfb60568ac4d059cc776cfceaa (diff)
downloadandroid_packages_apps_Trebuchet-8c48d8bea64b95916b18bd41a4fdb58d4d7477be.tar.gz
android_packages_apps_Trebuchet-8c48d8bea64b95916b18bd41a4fdb58d4d7477be.tar.bz2
android_packages_apps_Trebuchet-8c48d8bea64b95916b18bd41a4fdb58d4d7477be.zip
Changing min sdk to 25
Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
Diffstat (limited to 'tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java')
-rw-r--r--tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java b/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
index afbedbacd..293b04a58 100644
--- a/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
+++ b/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
@@ -20,15 +20,14 @@ import static org.junit.Assert.assertTrue;
import android.content.ComponentName;
-import androidx.test.filters.SmallTest;
-import androidx.test.runner.AndroidJUnit4;
-
import com.android.launcher3.AppInfo;
-import com.android.launcher3.Utilities;
import org.junit.Test;
import org.junit.runner.RunWith;
+import androidx.test.filters.SmallTest;
+import androidx.test.runner.AndroidJUnit4;
+
/**
* Unit tests for {@link DefaultAppSearchAlgorithm}
*/
@@ -78,9 +77,6 @@ public class DefaultAppSearchAlgorithmTest {
@Test
public void testMatchesVN() {
- if (!Utilities.ATLEAST_NOUGAT) {
- return;
- }
assertTrue(DefaultAppSearchAlgorithm.matches(getInfo("다운로드"), "다", MATCHER));
assertTrue(DefaultAppSearchAlgorithm.matches(getInfo("드라이브"), "드", MATCHER));
assertTrue(DefaultAppSearchAlgorithm.matches(getInfo("다운로드 드라이브"), "ㄷ", MATCHER));