Merge "Use parens to fix output"

This commit is contained in:
Treehugger Robot
2022-02-12 07:46:37 +00:00
committed by Gerrit Code Review

View File

@@ -426,8 +426,8 @@ void BluetoothAudioSession::ReportLowLatencyModeAllowedChanged(bool allowed) {
for (auto& observer : observers_) { for (auto& observer : observers_) {
uint16_t cookie = observer.first; uint16_t cookie = observer.first;
std::shared_ptr<PortStatusCallbacks> callback = observer.second; std::shared_ptr<PortStatusCallbacks> callback = observer.second;
LOG(INFO) << __func__ << " - allowed=" LOG(INFO) << __func__
<< allowed ? " allowed" : " disallowed"; << " - allowed=" << (allowed ? " allowed" : " disallowed");
callback->low_latency_mode_allowed_cb_(cookie, allowed); callback->low_latency_mode_allowed_cb_(cookie, allowed);
} }
} }
@@ -599,4 +599,4 @@ BluetoothAudioSessionInstance::GetSessionInstance(
} // namespace bluetooth } // namespace bluetooth
} // namespace hardware } // namespace hardware
} // namespace android } // namespace android
} // namespace aidl } // namespace aidl