From: Chris Manton Date: Fri, 21 Feb 2020 00:19:54 +0000 (-0800) Subject: gd: Fix legacy storage test config file X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2b54937530e7b04237299be346b2aafee776311a;p=android-x86%2Fsystem-bt.git gd: Fix legacy storage test config file Should point to appropriate target-based location Bug: 147315979 Test: bluetooth_test_gd # x86 Test: bluetooth_test_gd # arm Change-Id: Ic021edb63d1d9b0ee7e5947c7e53e0384d34b9e2 --- diff --git a/gd/storage/legacy_test.cc b/gd/storage/legacy_test.cc index 7a76eeec3..0d0c1df75 100644 --- a/gd/storage/legacy_test.cc +++ b/gd/storage/legacy_test.cc @@ -23,7 +23,12 @@ #include +#ifdef OS_ANDROID +constexpr char CONFIG_FILE[] = "/data/local/tmp/config_test.conf"; +#else constexpr char CONFIG_FILE[] = "/tmp/config_test.conf"; +#endif + constexpr char CONFIG_FILE_CONTENT[] = " \n\ first_key=value \n\