Merge "Allow blocking calls to InstrumentationWatcher" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9e0ea0c953
@@ -18,6 +18,7 @@ package com.android.server.am;
|
|||||||
|
|
||||||
import android.app.IInstrumentationWatcher;
|
import android.app.IInstrumentationWatcher;
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
|
import android.os.Binder;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Process;
|
import android.os.Process;
|
||||||
import android.os.RemoteException;
|
import android.os.RemoteException;
|
||||||
@@ -109,6 +110,8 @@ public class InstrumentationReporter {
|
|||||||
mName = name;
|
mName = name;
|
||||||
mResultCode = resultCode;
|
mResultCode = resultCode;
|
||||||
mResults = results;
|
mResults = results;
|
||||||
|
|
||||||
|
Binder.allowBlocking(mWatcher.asBinder());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user