fixed typo

This commit is contained in:
Christian Schneppe 2020-04-01 21:32:10 +02:00
parent ac2f33aa82
commit fb56abb00f
No known key found for this signature in database
GPG key ID: F30B8D686B44D87E

View file

@ -76,8 +76,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);