updated display for setting data transfer UI
This commit is contained in:
parent
a593423e3a
commit
db128fbc2a
|
@ -824,6 +824,8 @@ public class Orbot extends Activity implements TorConstants, OnLongClickListener
|
||||||
String TotalUpload = "";
|
String TotalUpload = "";
|
||||||
String TotalDownload = "";
|
String TotalDownload = "";
|
||||||
|
|
||||||
|
if (mService != null)
|
||||||
|
{
|
||||||
try {
|
try {
|
||||||
TotalUpload = mService.getInfo("traffic/written");
|
TotalUpload = mService.getInfo("traffic/written");
|
||||||
TotalDownload = mService.getInfo("traffic/read");
|
TotalDownload = mService.getInfo("traffic/read");
|
||||||
|
@ -844,7 +846,7 @@ public class Orbot extends Activity implements TorConstants, OnLongClickListener
|
||||||
{
|
{
|
||||||
//just ignore/swallow
|
//just ignore/swallow
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue