diff options
author | Wei Wang <wvw@google.com> | 2023-05-19 06:48:52 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-05-19 06:48:52 +0000 |
commit | 262976f7d81cc525768b30139f7b37fb8241daea (patch) | |
tree | d97aeae310554c9c96e52686814cb5b844d8b73a | |
parent | 96e250f62f584ab134169aaf8c5450e02683b0e2 (diff) | |
parent | b4ea4b8ee482c1a73474d93809f745254eaa7b01 (diff) |
Merge "thermal: support -a option for thermalHAL debug info dump" into udc-dev
-rw-r--r-- | thermal/Thermal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal/Thermal.cpp b/thermal/Thermal.cpp index 74ea266..caab2b5 100644 --- a/thermal/Thermal.cpp +++ b/thermal/Thermal.cpp @@ -744,7 +744,7 @@ void Thermal::dumpThermalData(int fd) { } binder_status_t Thermal::dump(int fd, const char **args, uint32_t numArgs) { - if (numArgs == 0) { + if (numArgs == 0 || std::string(args[0]) == "-a") { dumpThermalData(fd); return STATUS_OK; } |