summaryrefslogtreecommitdiff
path: root/system/main/stack_config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'system/main/stack_config.cc')
-rw-r--r--system/main/stack_config.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/main/stack_config.cc b/system/main/stack_config.cc
index 63d35d436f..3563450213 100644
--- a/system/main/stack_config.cc
+++ b/system/main/stack_config.cc
@@ -60,10 +60,8 @@ static std::unique_ptr<config_t> config;
static future_t* init() {
// TODO(armansito): Find a better way than searching by a hardcoded path.
-#if defined(TARGET_FLOSS)
+#if defined(TARGET_FLOSS) || defined(__ANDROID__)
const char* path = "/etc/bluetooth/bt_stack.conf";
-#elif defined(__ANDROID__)
- const char* path = "/apex/com.android.btservices/etc/bluetooth/bt_stack.conf";
#else // !defined(__ANDROID__)
const char* path = "bt_stack.conf";
#endif // defined(__ANDROID__)