show warning about bridge limits on Intel x86/ATOM devices

This commit is contained in:
Nathan Freitas 2015-04-13 08:36:01 -04:00
parent 325ca1f809
commit b941a1c7d5
2 changed files with 4 additions and 3 deletions

View File

@ -339,4 +339,6 @@
<string name="install_orweb">Install Orweb</string>
<string name="standard_browser">Standard Browser</string>
<string name="note_only_standard_tor_bridges_work_on_intel_x86_atom_devices">NOTE: Only standard Tor bridges work on Intel X86/ATOM devices</string>
</resources>

View File

@ -293,6 +293,7 @@ public class OrbotMainActivity extends Activity implements OrbotConstants, OnLon
}
else
{
Toast.makeText(OrbotMainActivity.this, R.string.note_only_standard_tor_bridges_work_on_intel_x86_atom_devices, Toast.LENGTH_LONG).show();
showGetBridgePrompt(""); //if other chip ar, only stock bridges are supported
}
}
@ -945,9 +946,7 @@ public class OrbotMainActivity extends Activity implements OrbotConstants, OnLon
{
@Override
public void onClick(DialogInterface dialog, int which) {
//mBtnBridges.setChecked(false);
//do nothing
}
})
.setNeutralButton(R.string.get_bridges_email, new Dialog.OnClickListener ()