Loading system/device/src/interop.cc +13 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,19 @@ static const char* INTEROP_DYNAMIC_FILE_PATH = "/data/misc/bluedroid/interop_database_dynamic.conf"; static const char* INTEROP_STATIC_FILE_PATH = "/apex/com.android.btservices/etc/bluetooth/interop_database.conf"; #else // !__ANDROID__ #elif TARGET_FLOSS #include <base/files/file_util.h> #include <filesystem> static const std::filesystem::path kDynamicConfigFileConfigFile = std::filesystem::temp_directory_path() / "interop_database_dynamic.conf"; static const char* INTEROP_DYNAMIC_FILE_PATH = kDynamicConfigFileConfigFile.c_str(); static const char* INTEROP_STATIC_FILE_PATH = "/var/lib/bluetooth/interop_database.conf"; #else // !TARGET_FLOSS and !__ANDROID__ #include <base/files/file_util.h> #include <filesystem> Loading Loading
system/device/src/interop.cc +13 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,19 @@ static const char* INTEROP_DYNAMIC_FILE_PATH = "/data/misc/bluedroid/interop_database_dynamic.conf"; static const char* INTEROP_STATIC_FILE_PATH = "/apex/com.android.btservices/etc/bluetooth/interop_database.conf"; #else // !__ANDROID__ #elif TARGET_FLOSS #include <base/files/file_util.h> #include <filesystem> static const std::filesystem::path kDynamicConfigFileConfigFile = std::filesystem::temp_directory_path() / "interop_database_dynamic.conf"; static const char* INTEROP_DYNAMIC_FILE_PATH = kDynamicConfigFileConfigFile.c_str(); static const char* INTEROP_STATIC_FILE_PATH = "/var/lib/bluetooth/interop_database.conf"; #else // !TARGET_FLOSS and !__ANDROID__ #include <base/files/file_util.h> #include <filesystem> Loading