Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e0ea0c9 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov Committed by Android (Google) Code Review
Browse files

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

parents b86cf15c 92e9d96e
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -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());
        }
        }
    }
    }