add missing permission result handling in StartConversationActivity
This commit is contained in:
parent
c1c314f47a
commit
76732af63d
|
@ -752,6 +752,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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue