Created
December 24, 2019 10:39
-
-
Save sidishere/1f7c88f0725f8e5e1166423ccc6eaaf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { | |
super.onActivityResult(requestCode, resultCode, data); | |
if(resultCode == RESULT_CANCELED) | |
Toast.makeText(this,"Please provide permission to turn on bluetooth",Toast.LENGTH_SHORT).show(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment