include all status messages with "start" in them in the starting sequence
Before, the startup sequence showed "Orbot is starting..." for a long time, then quickly showed the final tor percentage messages. This adds a few more messages to provide useful feedback.
This commit is contained in:
parent
ddaae1d941
commit
f16394b7db
|
@ -1090,8 +1090,11 @@ public class OrbotMainActivity extends Activity
|
|||
imgStatus.setImageResource(R.drawable.torstarting);
|
||||
|
||||
// only show Tor daemon's percentage complete messages
|
||||
if (torServiceMsg.indexOf('%') != -1)
|
||||
if (torServiceMsg.indexOf('%') != -1) {
|
||||
lblStatus.setText(torServiceMsg);
|
||||
} else if (torServiceMsg.contains("tart")) { // Start and start
|
||||
lblStatus.setText(torServiceMsg);
|
||||
}
|
||||
mBtnBrowser.setEnabled(false);
|
||||
|
||||
} else if (torStatus == TorServiceConstants.STATUS_STOPPING) {
|
||||
|
|
Loading…
Reference in New Issue