Merge "Replaced deprecated String Constructor"

This commit is contained in:
Jean-Baptiste Queru
2010-06-14 12:13:56 -07:00
committed by Android Code Review

View File

@@ -776,7 +776,7 @@ public class RunningServices extends ListActivity
&& buffer[index] <= '9') { && buffer[index] <= '9') {
index++; index++;
} }
String str = new String(buffer, 0, start, index-start); String str = new String(buffer, start, index-start);
return ((long)Integer.parseInt(str)) * 1024; return ((long)Integer.parseInt(str)) * 1024;
} }
index++; index++;