commit | 84479a38849f2b0abee9a2c2841afa8da15b08eb | [log] [tgz] |
---|---|---|
author | Lisa Nguyen <lisa.nguyen@linaro.org> | Mon Jul 25 21:46:51 2016 -0700 |
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | Mon Sep 12 16:40:13 2016 -0700 |
tree | 2882b14be9f862271d02537d548e8f4dd99f7bd1 | |
parent | 11e42f48d20cd127855b953cab8f6ffa3c0abc7d [diff] |
thermal: Get correct PID for heat_cpu based on OS When running the ps command, Android lists the pids in the second column whereas Ubuntu lists the pids in the first column. Check the os first before extracting the pid. Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>