Merge "Remove the isBound() check for HotwordDetectionService." into sc-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
75bdd11137
@@ -269,13 +269,11 @@ final class HotwordDetectionConnection {
|
||||
Slog.v(TAG, "cancelLocked");
|
||||
clearDebugHotwordLoggingTimeoutLocked();
|
||||
mDebugHotwordLogging = false;
|
||||
if (mRemoteHotwordDetectionService.isBound()) {
|
||||
mRemoteHotwordDetectionService.unbind();
|
||||
LocalServices.getService(PermissionManagerServiceInternal.class)
|
||||
.setHotwordDetectionServiceProvider(null);
|
||||
mIdentity = null;
|
||||
updateServiceUidForAudioPolicy(Process.INVALID_UID);
|
||||
}
|
||||
mRemoteHotwordDetectionService.unbind();
|
||||
LocalServices.getService(PermissionManagerServiceInternal.class)
|
||||
.setHotwordDetectionServiceProvider(null);
|
||||
mIdentity = null;
|
||||
updateServiceUidForAudioPolicy(Process.INVALID_UID);
|
||||
mCancellationTaskFuture.cancel(/* may interrupt */ true);
|
||||
if (mAudioFlinger != null) {
|
||||
mAudioFlinger.unlinkToDeath(mAudioServerDeathRecipient, /* flags= */ 0);
|
||||
|
||||
Reference in New Issue
Block a user