gps: Reduce gps log in bugreport am: f9ac8dc5a6 am: 65c5d56dbc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15898344 Change-Id: If7c313e19e62d818d22db57d3cfce4dc22016b2a
This commit is contained in:
commit
eed7afc0c3
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void dumpGpsLogs(int fd, std::string destDir) {
|
||||||
const std::string gpsLogDir = GPS_LOG_DIRECTORY;
|
const std::string gpsLogDir = GPS_LOG_DIRECTORY;
|
||||||
const std::string gpsTmpLogDir = gpsLogDir + "/.tmp";
|
const std::string gpsTmpLogDir = gpsLogDir + "/.tmp";
|
||||||
const std::string gpsDestDir = destDir + "/gps";
|
const std::string gpsDestDir = destDir + "/gps";
|
||||||
int maxFileNum = android::base::GetIntProperty(GPS_LOG_NUMBER_PROPERTY, 30);
|
int maxFileNum = android::base::GetIntProperty(GPS_LOG_NUMBER_PROPERTY, 20);
|
||||||
|
|
||||||
RunCommandToFd(fd, "MKDIR GPS LOG", {"/vendor/bin/mkdir", "-p", gpsDestDir.c_str()},
|
RunCommandToFd(fd, "MKDIR GPS LOG", {"/vendor/bin/mkdir", "-p", gpsDestDir.c_str()},
|
||||||
CommandOptions::WithTimeout(2).Build());
|
CommandOptions::WithTimeout(2).Build());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue