Fixing the build

Change-Id: Ief7654775307c829a60e65217ae821aa6801303c
This commit is contained in:
Svetoslav
2013-01-28 19:55:35 -08:00
parent 91488eed17
commit 3a34d17412
3 changed files with 3 additions and 4 deletions

View File

@@ -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";

View File

@@ -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;
}

View File

@@ -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();