Fixing the build
Change-Id: Ief7654775307c829a60e65217ae821aa6801303c
This commit is contained in:
@@ -21330,7 +21330,7 @@ package android.test {
|
||||
ctor public InstrumentationTestRunner();
|
||||
method public junit.framework.TestSuite getAllTests();
|
||||
method protected android.test.AndroidTestRunner getAndroidTestRunner();
|
||||
method protected android.os.Bundle getArguments();
|
||||
method public android.os.Bundle getArguments();
|
||||
method public java.lang.ClassLoader getLoader();
|
||||
method public junit.framework.TestSuite getTestSuite();
|
||||
field public static final java.lang.String REPORT_KEY_NAME_CLASS = "class";
|
||||
|
||||
@@ -21,7 +21,6 @@ import com.android.internal.util.Predicates;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Instrumentation;
|
||||
import android.app.UiAutomation;
|
||||
import android.os.Bundle;
|
||||
import android.os.Debug;
|
||||
import android.os.Looper;
|
||||
@@ -395,7 +394,7 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu
|
||||
*
|
||||
* @return the Bundle object
|
||||
*/
|
||||
protected Bundle getArguments() {
|
||||
public Bundle getArguments() {
|
||||
return mArguments;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ public class AppLaunch extends InstrumentationTestCase {
|
||||
public void testMeasureStartUpTime() throws RemoteException {
|
||||
InstrumentationTestRunner instrumentation =
|
||||
(InstrumentationTestRunner)getInstrumentation();
|
||||
Bundle args = instrumentation.getBundle();
|
||||
Bundle args = instrumentation.getArguments();
|
||||
mAm = ActivityManagerNative.getDefault();
|
||||
|
||||
createMappings();
|
||||
|
||||
Reference in New Issue
Block a user