fixed typo. closes #3667

This commit is contained in:
Daniel Gultsch 2020-03-31 11:18:16 +02:00
parent 972e537ea1
commit 3d0138506d
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@ public abstract class OmemoActivity extends XmppActivity {
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
super.onActivityResult(requestCode, requestCode, intent);
public void onActivityResult(final int requestCode, final int resultCode, final Intent intent) {
super.onActivityResult(requestCode, resultCode, intent);
if (requestCode == ScanActivity.REQUEST_SCAN_QR_CODE && resultCode == RESULT_OK) {
String result = intent.getStringExtra(ScanActivity.INTENT_EXTRA_RESULT);
XmppUri uri = new XmppUri(result == null ? "" : result);