Suppress warnings of MultiDexLegacyAndException
To clean build logs without disturbing the test. Cherry-pick of https://android-review.googlesource.com/#/c/202657/ Bug: 27155813 Change-Id: I4f2fa94729258573223aaa70a88744d2687f542e
This commit is contained in:
committed by
Aurimas Liutikas
parent
181d907d24
commit
2a24891ca7
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user