Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0ff571e authored by Steve Kondik's avatar Steve Kondik
Browse files

Fix for CM-1580

The way ProcessStats.java reads the time_in_state_file is silly, but
minimizes GC. The buffer used is too small on newer devices and
overflows. Enlarge it so we have correct stats.

Also fix the bad assumption in getCpuSpeedTimes that the file will never
be truncated. This can cause system_server to go into an exception
loop.
parent c9a58821
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment