Merge "Allow blocking calls to InstrumentationWatcher" into rvc-dev am: 9e0ea0c953 am: aafa4ff23a

Change-Id: I7c64c3419dd1a3100d5bce71ebc0465a1ee9d818
This commit is contained in:
Automerger Merge Worker
2020-02-28 18:05:03 +00:00

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());
}
}