Merge "Adding allowBlocking override to getBinder call"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4cfbdb2e93
@@ -1259,6 +1259,7 @@ public abstract class TextToSpeechService extends Service {
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
if (TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE.equals(intent.getAction())) {
|
||||
Binder.allowBlocking(mBinder.asBinder());
|
||||
return mBinder;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user