am 361fce55: am d9fb901d: am 479cf9ff: Merge "Track changes to IActivityManager.startInstrumentation."
* commit '361fce55866e220380fdf1c81f29e5498b5fa0a7': Track changes to IActivityManager.startInstrumentation.
This commit is contained in:
@@ -156,7 +156,7 @@ public class InstrumentationList extends ListActivity
|
|||||||
try {
|
try {
|
||||||
ActivityManagerNative.getDefault().
|
ActivityManagerNative.getDefault().
|
||||||
startInstrumentation(className, profilingFile, 0, null, mWatcher, null,
|
startInstrumentation(className, profilingFile, 0, null, mWatcher, null,
|
||||||
UserHandle.myUserId());
|
UserHandle.myUserId(), null);
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public class MonkeyInstrumentationEvent extends MonkeyEvent {
|
|||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putString("class", mTestCaseName);
|
args.putString("class", mTestCaseName);
|
||||||
try {
|
try {
|
||||||
iam.startInstrumentation(cn, null, 0, args, null, null, 0);
|
iam.startInstrumentation(cn, null, 0, args, null, null, 0, null);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
System.err.println("** Failed talking with activity manager!");
|
System.err.println("** Failed talking with activity manager!");
|
||||||
return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION;
|
return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION;
|
||||||
|
|||||||
Reference in New Issue
Block a user