Merge "Try to finish data delivery in onDestroy for RecognitionService" into sc-dev am: 0a62adda9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15160190 Change-Id: I1e95891124035b87eb2bdcc7140a3ed8c2ede7fd
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