Fix QR Code Regression.

This commit is contained in:
Moxie Marlinspike 2013-06-25 10:48:18 -07:00
parent 614e962110
commit e00914c977
2 changed files with 1 additions and 9 deletions

View File

@ -57,15 +57,6 @@ public class VerifyIdentityActivity extends KeyScanningActivity {
super.onDestroy();
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home: finish(); return true;
}
return false;
}
private void initializeLocalIdentityKey() {
if (!IdentityKeyUtil.hasIdentityKey(this)) {
localIdentityFingerprint.setText(R.string.VerifyIdentityActivity_you_do_not_have_an_identity_key);

View File

@ -46,6 +46,7 @@ public class VerifyKeysActivity extends KeyScanningActivity {
@Override
protected void onCreate(Bundle state) {
super.onCreate(state);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
setContentView(R.layout.verify_keys_activity);
initializeResources();