Track changes to IActivityManager.startInstrumentation.
Change-Id: Iceaecb720c2824134a1d6d13b1f3e0a16d41d76d
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