Skip to content

Commit

Permalink
dumpstate: Remove unused codes
Browse files Browse the repository at this point in the history
Bug: 144879597
Change-Id: I15577c4cdc4e616a105ce411db5aa5ad951a1f71
  • Loading branch information
SalmaxChang committed Dec 2, 2019
1 parent 84f8716 commit 0f59ab7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dumpstate/DumpstateDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ void DumpstateDevice::dumpModem(int fd, int fdModem)
if (!PropertiesHelper::IsUserBuild()) {
char cmd[256] = { 0 };

RunCommandToFd(fd, "MODEM RFS INFO", {"/vendor/bin/find /data/vendor/rfs/mpss/OEMFI/"}, CommandOptions::WithTimeout(2).Build());
RunCommandToFd(fd, "MODEM DIAG SYSTEM PROPERTIES", {"/vendor/bin/getprop | grep vendor.sys.modem.diag"}, CommandOptions::WithTimeout(2).Build());

android::base::SetProperty(MODEM_EFS_DUMP_PROPERTY, "true");

const std::string diagLogDir = "/data/vendor/radio/diag_logs/logs";
Expand Down

0 comments on commit 0f59ab7

Please sign in to comment.