Replaced deprecated String Constructor

Change-Id: I452400c9cb00b60316b0270b2f4a68c15d80b698
This commit is contained in:
Christian Mehlmauer
2010-05-25 19:25:05 +02:00
parent 3514cdc3b0
commit a06b4e69aa

View File

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