Loading services/java/com/android/server/ProcessStats.java +16 −13 Original line number Diff line number Diff line Loading @@ -514,7 +514,9 @@ public class ProcessStats { StringTokenizer st = new StringTokenizer(file, "\n "); while (st.hasMoreElements()) { String token = st.nextToken(); if (st.hasMoreElements()) { try { long val = Long.parseLong(token); tempSpeeds[speed] = val; token = st.nextToken(); Loading @@ -531,6 +533,7 @@ public class ProcessStats { } } } } if (out == null) { out = new long[speed]; mCpuSpeeds = new long[speed]; Loading Loading
services/java/com/android/server/ProcessStats.java +16 −13 Original line number Diff line number Diff line Loading @@ -514,7 +514,9 @@ public class ProcessStats { StringTokenizer st = new StringTokenizer(file, "\n "); while (st.hasMoreElements()) { String token = st.nextToken(); if (st.hasMoreElements()) { try { long val = Long.parseLong(token); tempSpeeds[speed] = val; token = st.nextToken(); Loading @@ -531,6 +533,7 @@ public class ProcessStats { } } } } if (out == null) { out = new long[speed]; mCpuSpeeds = new long[speed]; Loading