amek sure wizard only is shown once on start (not twice!)
This commit is contained in:
parent
0fddd80305
commit
707bca4daf
|
@ -537,8 +537,7 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
||||||
@Override
|
@Override
|
||||||
protected void onNewIntent(Intent intent) {
|
protected void onNewIntent(Intent intent) {
|
||||||
|
|
||||||
super.onNewIntent(intent);
|
setIntent(intent);
|
||||||
|
|
||||||
handleIntents();
|
handleIntents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@ public class TipsAndTricks extends Activity implements TorConstants {
|
||||||
|
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
finish();
|
finish();
|
||||||
startActivityForResult(new Intent(TipsAndTricks.this, Orbot.class), 1);
|
startActivity(new Intent(TipsAndTricks.this, Orbot.class));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue