Merge "Suppress warnings of MultiDexLegacyAndException" into nyc-dev

This commit is contained in:
Aurimas Liutikas
2016-02-18 01:21:59 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 3 deletions

View File

@@ -29,6 +29,8 @@ LOCAL_PACKAGE_NAME := MultiDexLegacyAndException
LOCAL_DEX_PREOPT := false
LOCAL_JAVACFLAGS := -nowarn
mainDexList:= \
$(call intermediates-dir-for,APPS,$(LOCAL_PACKAGE_NAME),$(LOCAL_IS_HOST_MODULE),common)/maindex.list

View File

@@ -15,14 +15,13 @@
*/
package com.android.multidexlegacyandexception;
import android.test.ActivityInstrumentationTestCase2;
/**
* Run the tests with: <code>adb shell am instrument -w
com.android.multidexlegacyandexception/android.test.InstrumentationTestRunner
</code>
*/
public class Test extends ActivityInstrumentationTestCase2<MainActivity> {
@SuppressWarnings("deprecation")
public class Test extends android.test.ActivityInstrumentationTestCase2<MainActivity> {
public Test() {
super(MainActivity.class);
}