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

Runtime files and sockets used by location modules
are moved to vendor partiion from /data/misc/location
to /data/vendor/location.

Change-Id: I7b092059b3061def2a1f2d0cd9bffb7ed7aededd
CRs-fixed: 2046657
This commit is contained in:
Dante Russo 2017-05-18 10:31:58 -07:00
parent 4fc254c9a9
commit ed7e095d16

View file

@ -64,7 +64,7 @@ static inline int createSocket() {
LOC_LOGe("create socket error. reason:%s", strerror(errno));
} 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 };
snprintf(addr.sun_path, sizeof(addr.sun_path), "%s", socketPath);