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

* commit '361fce55866e220380fdf1c81f29e5498b5fa0a7':
  Track changes to IActivityManager.startInstrumentation.
This commit is contained in:
Narayan Kamath
2014-05-30 11:50:55 +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 { 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) {
} }
} }

View File

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