OSDN Git Service

Move LocationPreferenceControllerTest to sdk 26
authorjeffreyhuang <jeffreyhuang@google.com>
Thu, 30 Nov 2017 22:56:58 +0000 (14:56 -0800)
committerjeffreyhuang <jeffreyhuang@google.com>
Thu, 30 Nov 2017 22:56:58 +0000 (14:56 -0800)
Test: make RunSettingsRoboTests -j40
Change-Id: I3644868df2a501d819a3dd029523dd06aa9c7c2e

tests/robotests/src/com/android/settings/location/LocationPreferenceControllerTest.java

index fe45a93..01ca899 100644 (file)
@@ -55,7 +55,7 @@ import org.robolectric.RuntimeEnvironment;
 import org.robolectric.annotation.Config;
 
 @RunWith(SettingsRobolectricTestRunner.class)
-@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
+@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
 public class LocationPreferenceControllerTest {
     @Mock
     private Preference mPreference;