Try to finish data delivery in onDestroy for RecognitionService
Test: manual Fixes: 192275399 Change-Id: I56b2e59f80da3e4c6f59236637ec32c1aff1a50a
This commit is contained in:
@@ -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