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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user