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
|
@Override
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
if (DBG) Log.d(TAG, "onDestroy");
|
if (DBG) Log.d(TAG, "onDestroy");
|
||||||
|
finishDataDelivery();
|
||||||
mCurrentCallback = null;
|
mCurrentCallback = null;
|
||||||
mBinder.clearReference();
|
mBinder.clearReference();
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
|
|||||||
Reference in New Issue
Block a user