diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-01 21:04:52 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-01 21:04:52 +0200 |
commit | 6dae9982e26a8ddcb0856f641acb247607c70143 (patch) | |
tree | e4ebf70c3c88933c9a6ccae658032efea1544f80 /src/main/java | |
parent | 5694150e38eaa9db329916a9d6feb00fc03c0ab6 (diff) |
add missing permission result handling in StartConversationActivity
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/StartConversationActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java b/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java index 685632e11..16931f994 100644 --- a/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java @@ -751,6 +751,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU public void onRequestPermissionsResult(int requestCode, @NonNull String permissions[], @NonNull int[] grantResults) { if (grantResults.length > 0) { if (grantResults[0] == PackageManager.PERMISSION_GRANTED) { + ScanActivity.onRequestPermissionResult(this, requestCode, grantResults); if (requestCode == REQUEST_SYNC_CONTACTS && xmppConnectionServiceBound) { xmppConnectionService.loadPhoneContacts(); } |