Merge "Move location files from /data/ to /data/vendor/"

This commit is contained in:
Linux Build Service Account 2017-05-27 01:36:12 -07:00 committed by Gerrit - the friendly Code Review server
commit 2a49c5a0ef

View file

@ -64,7 +64,7 @@ static inline int createSocket() {
LOC_LOGe("create socket error. reason:%s", strerror(errno)); LOC_LOGe("create socket error. reason:%s", strerror(errno));
} else { } else {
const char* socketPath = "/data/misc/location/xtra/socket_hal_xtra"; const char* socketPath = "/data/vendor/location/xtra/socket_hal_xtra";
struct sockaddr_un addr = { .sun_family = AF_UNIX }; struct sockaddr_un addr = { .sun_family = AF_UNIX };
snprintf(addr.sun_path, sizeof(addr.sun_path), "%s", socketPath); snprintf(addr.sun_path, sizeof(addr.sun_path), "%s", socketPath);