if (ContextCompat.checkSelfPermission(RegisterActivity.this, Manifest.permission.READ_PHONE_STATE) == PackageManager.PERMISSION_DENIED){ ActivityCom
For me the problem was that right after making the request, my main activity launched another activity. That superseded the dialog so it was never seen.