Merge "Make sure we call finishProxyOp for null attribution tags." into sc-dev

This commit is contained in:
Sergey Volnov
2021-02-20 01:15:40 +00:00
committed by Android (Google) Code Review

View File

@@ -286,7 +286,7 @@ final class RemoteSpeechRecognitionService extends ServiceConnector.Impl<IRecogn
}
private void resetStateLocked() {
if (mRecordingInProgress && mPackageName != null && mFeatureId != null) {
if (mRecordingInProgress && mPackageName != null) {
finishProxyOp(mPackageName, mFeatureId);
}