amek sure wizard only is shown once on start (not twice!)

This commit is contained in:
Nathan Freitas 2014-06-06 08:56:32 -04:00
parent 0fddd80305
commit 707bca4daf
2 changed files with 2 additions and 3 deletions

View File

@ -537,8 +537,7 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
setIntent(intent);
handleIntents();
}

View File

@ -200,7 +200,7 @@ public class TipsAndTricks extends Activity implements TorConstants {
public void onClick(View v) {
finish();
startActivityForResult(new Intent(TipsAndTricks.this, Orbot.class), 1);
startActivity(new Intent(TipsAndTricks.this, Orbot.class));
}
});
}