Merge "Allow blocking calls to InstrumentationWatcher" into rvc-dev

This commit is contained in:
Dmitri Plotnikov
2020-02-28 17:29:13 +00:00
committed by Android (Google) Code Review

View File

@@ -18,6 +18,7 @@ package com.android.server.am;
import android.app.IInstrumentationWatcher;
import android.content.ComponentName;
import android.os.Binder;
import android.os.Bundle;
import android.os.Process;
import android.os.RemoteException;
@@ -109,6 +110,8 @@ public class InstrumentationReporter {
mName = name;
mResultCode = resultCode;
mResults = results;
Binder.allowBlocking(mWatcher.asBinder());
}
}