updated display for setting data transfer UI

This commit is contained in:
n8fr8 2012-10-04 11:27:09 +05:30
parent a593423e3a
commit db128fbc2a
1 changed files with 20 additions and 18 deletions

View File

@ -824,6 +824,8 @@ public class Orbot extends Activity implements TorConstants, OnLongClickListener
String TotalUpload = "";
String TotalDownload = "";
if (mService != null)
{
try {
TotalUpload = mService.getInfo("traffic/written");
TotalDownload = mService.getInfo("traffic/read");
@ -844,7 +846,7 @@ public class Orbot extends Activity implements TorConstants, OnLongClickListener
{
//just ignore/swallow
}
}
break;
default: