Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d183f806 authored by Yohann Roussel's avatar Yohann Roussel
Browse files

Suppress warnings of MultiDexLegacyAndException

To clean build logs without disturbing the test.

Bug: 27155813


Change-Id: If80d7ad044dc9b4dfde5ded332e9ba566e536054
parent dcc79d83
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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

+2 −3
Original line number Diff line number Diff line
@@ -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);
    }