-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/code checks #6
Conversation
The command << will be deprecated starting from Gradle 5.0
…fore everything else
} | ||
// If request is cancelled, the result arrays are empty. | ||
if (requestCode == SmsTool.REQUEST_CODE_ASK_PERMISSIONS | ||
&& grantResults.length <= 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should apply brackets here
if (requestCode == SmsTool.REQUEST_CODE_ASK_PERMISSIONS && (grantResults.length <= 0 || grantResults[0] != PackageManager.PERMISSION_GRANTED))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
No description provided.