Merge "Try to finish data delivery in onDestroy for RecognitionService" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-07-02 00:21:45 +00:00
committed by Android (Google) Code Review

View File

@@ -259,6 +259,7 @@ public abstract class RecognitionService extends Service {
@Override
public void onDestroy() {
if (DBG) Log.d(TAG, "onDestroy");
finishDataDelivery();
mCurrentCallback = null;
mBinder.clearReference();
super.onDestroy();