commit | 3531fba7e82de60fa17a1a74807b22c2b2936b94 | [log] [tgz] |
---|---|---|
author | Uma Maheshwari Bhiram <ubhira@codeaurora.org> | Fri Dec 27 11:16:14 2013 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Tue Nov 04 08:31:26 2014 -0700 |
tree | 00842d4daf0d9506dfea45c10ba46bb2362a0400 | |
parent | 8dd70addb477385a1f5496b8731106d16203e5d2 [diff] |
ProcessCpuTracker: Fix ArrayIndexOutofBoundsException in tempSpeeds If time_in_state file is not available mCpuSpeeds is created with size 0 and subsequent call if the file becomes available there is an ArrayIndexOutofBoundsException. This change avoids the crash by breaking out of the loop, also adds error logging CRs-Fixed: 553569 Change-Id: Id5e219ca1cd3f058f714aecd5902ec2f6c11ae03