Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug from last changes at master: handleIntents() is never run #63

Closed
arrase opened this issue Nov 29, 2016 · 0 comments
Closed

Bug from last changes at master: handleIntents() is never run #63

arrase opened this issue Nov 29, 2016 · 0 comments

Comments

@arrase
Copy link
Contributor

arrase commented Nov 29, 2016

The change was introduced here: 4510557

At orbot/app/src/main/java/org/torproject/android/OrbotMainActivity.java

The line:

 Private String torStatus = null;

It has been changed to:

 Private String torStatus = TorServiceConstants.STATUS_OFF;

And now the condition that executes the function is never fulfilled:

 if (torStatus == null && newTorStatus != null) //first time status
  {
    	torStatus = newTorStatus;
    	findViewById(R.id.frameMain).setVisibility(View.VISIBLE);
    	updateStatus(log);
    		
    	//now you can handle the intents properly
    	handleIntents();
    		
    }
@n8fr8 n8fr8 added this to the 16.1 milestone Apr 27, 2018
@n8fr8 n8fr8 modified the milestones: 16.1, Current Sprint Jul 8, 2019
@n8fr8 n8fr8 closed this as completed Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants