mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Use parens to fix output
We want our ternary conditional to evaluate before the << operator, so we use parenthesis to make this happen. Bug: 214615268 Test: TreeHugger Change-Id: I0efb22487d0cf3778f8a12d2391a0f1a7a87995d
This commit is contained in:
@@ -426,8 +426,8 @@ void BluetoothAudioSession::ReportLowLatencyModeAllowedChanged(bool allowed) {
|
||||
for (auto& observer : observers_) {
|
||||
uint16_t cookie = observer.first;
|
||||
std::shared_ptr<PortStatusCallbacks> callback = observer.second;
|
||||
LOG(INFO) << __func__ << " - allowed="
|
||||
<< allowed ? " allowed" : " disallowed";
|
||||
LOG(INFO) << __func__
|
||||
<< " - allowed=" << (allowed ? " allowed" : " disallowed");
|
||||
callback->low_latency_mode_allowed_cb_(cookie, allowed);
|
||||
}
|
||||
}
|
||||
@@ -599,4 +599,4 @@ BluetoothAudioSessionInstance::GetSessionInstance(
|
||||
} // namespace bluetooth
|
||||
} // namespace hardware
|
||||
} // namespace android
|
||||
} // namespace aidl
|
||||
} // namespace aidl
|
||||
|
||||
Reference in New Issue
Block a user