Merge "Try to finish data delivery in onDestroy for RecognitionService" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0a62adda9c
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user