update Orbot about dialog display to show tor version
This commit is contained in:
parent
93614ddd61
commit
a64e6b164f
|
@ -336,7 +336,7 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
||||||
String version = "";
|
String version = "";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
version = getPackageManager().getPackageInfo(getPackageName(), 0).versionName;
|
version = getPackageManager().getPackageInfo(getPackageName(), 0).versionName + " (Tor " + TorServiceConstants.BINARY_TOR_VERSION + ")";
|
||||||
} catch (NameNotFoundException e) {
|
} catch (NameNotFoundException e) {
|
||||||
version = "Version Not Found";
|
version = "Version Not Found";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue