Make sure we call finishProxyOp for null attribution tags.

A bug was introduced in a previous CL.

Test: manual
Bug: 176578753
Change-Id: I9b4a12482837fc04edab12089c91f2165b402629
This commit is contained in:
Sergey Volnov
2021-02-19 19:19:43 +00:00
parent 8093735b62
commit a7ee0b9a7d

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);
}