Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 676c4de9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Floss: Enable static interop database for Floss"

parents 2ecdfccc af4cbee3
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -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>