mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
enable host_supported for libbluetooth_audio_session_aidl
Test: manual Change-Id: Iae06114020e5bc4e41fa5caa5df5de8a186dc2ff Merged-In: Iae06114020e5bc4e41fa5caa5df5de8a186dc2ff Signed-off-by: Yung Ti Su <andysu@google.com>
This commit is contained in:
@@ -24,6 +24,7 @@ package {
|
||||
aidl_interface {
|
||||
name: "android.hardware.bluetooth.audio",
|
||||
vendor_available: true,
|
||||
host_supported: true,
|
||||
srcs: ["android/hardware/bluetooth/audio/*.aidl"],
|
||||
stability: "vintf",
|
||||
imports: [
|
||||
|
||||
@@ -36,6 +36,7 @@ cc_library_shared {
|
||||
cc_library_shared {
|
||||
name: "libbluetooth_audio_session_aidl",
|
||||
vendor: true,
|
||||
host_supported: true,
|
||||
srcs: [
|
||||
"aidl_session/BluetoothAudioCodecs.cpp",
|
||||
"aidl_session/BluetoothAudioSession.cpp",
|
||||
|
||||
@@ -583,7 +583,7 @@ bool HidlToAidlMiddleware_2_0::GetPresentationPosition(
|
||||
*total_bytes_readed = presentation_position.transmittedOctets;
|
||||
if (data_position)
|
||||
*data_position = {
|
||||
.tv_sec = static_cast<__kernel_old_time_t>(
|
||||
.tv_sec = static_cast<long>(
|
||||
presentation_position.transmittedOctetsTimestamp.tvSec),
|
||||
.tv_nsec = static_cast<long>(
|
||||
presentation_position.transmittedOctetsTimestamp.tvNSec)};
|
||||
|
||||
Reference in New Issue
Block a user