diff options
author | Shinru Han <shinruhan@google.com> | 2021-09-27 07:48:02 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-09-27 07:48:02 +0000 |
commit | eed7afc0c37f585e297e7d9d9d938dc7f233a977 (patch) | |
tree | 898507057231f6b73cb8785eb37b1ec33e9d8046 /dumpstate | |
parent | 6569dc38743fc208cc665c5e7e33b61b7157d8ff (diff) | |
parent | b7a29d8ffc8d59f7de4b371604067fdbe0c30579 (diff) | |
download | gs101-eed7afc0c37f585e297e7d9d9d938dc7f233a977.tar.gz |
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
Diffstat (limited to 'dumpstate')
-rw-r--r-- | dumpstate/DumpstateDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index c803cf19..bca16a50 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -195,7 +195,7 @@ void dumpGpsLogs(int fd, std::string destDir) { const std::string gpsLogDir = GPS_LOG_DIRECTORY; const std::string gpsTmpLogDir = gpsLogDir + "/.tmp"; 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()}, CommandOptions::WithTimeout(2).Build()); |