am d9fb901d: am 479cf9ff: Merge "Track changes to IActivityManager.startInstrumentation."

* commit 'd9fb901dc65e6780db5aad1c3bdb53a93dfd371b':
  Track changes to IActivityManager.startInstrumentation.
This commit is contained in:
Narayan Kamath
2014-05-30 10:44:18 +00:00
committed by Android Git Automerger
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ public class InstrumentationList extends ListActivity
try {
ActivityManagerNative.getDefault().
startInstrumentation(className, profilingFile, 0, null, mWatcher, null,
UserHandle.myUserId());
UserHandle.myUserId(), null);
} catch (RemoteException ex) {
}
}

View File

@@ -45,7 +45,7 @@ public class MonkeyInstrumentationEvent extends MonkeyEvent {
Bundle args = new Bundle();
args.putString("class", mTestCaseName);
try {
iam.startInstrumentation(cn, null, 0, args, null, null, 0);
iam.startInstrumentation(cn, null, 0, args, null, null, 0, null);
} catch (RemoteException e) {
System.err.println("** Failed talking with activity manager!");
return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION;