aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2020-04-01 21:32:10 +0200
committerChristian Schneppe <christian.schneppe@pix-art.de>2020-04-01 21:32:10 +0200
commitfb56abb00f3c94e81ac009d07d2e570d32aa807e (patch)
tree410639621cbea4cd91fcc7d400a43b1ae2518933
parentac2f33aa82ec9bc433d92893e9413ea562147c5e (diff)
fixed typo
-rw-r--r--src/main/java/de/pixart/messenger/ui/OmemoActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/OmemoActivity.java b/src/main/java/de/pixart/messenger/ui/OmemoActivity.java
index 9f309ac5f..fb63a7a86 100644
--- a/src/main/java/de/pixart/messenger/ui/OmemoActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/OmemoActivity.java
@@ -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);