From ed7e095d160422c3d42dfff3b6f7575372cad2de Mon Sep 17 00:00:00 2001 From: Dante Russo Date: Thu, 18 May 2017 10:31:58 -0700 Subject: [PATCH] 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 --- android/AGnssRil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/AGnssRil.cpp b/android/AGnssRil.cpp index 0cf79a32..b19f55f5 100644 --- a/android/AGnssRil.cpp +++ b/android/AGnssRil.cpp @@ -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);