* commit 'd9fb901dc65e6780db5aad1c3bdb53a93dfd371b': Track changes to IActivityManager.startInstrumentation.
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user