Searched refs:grantResults (Results 1 – 2 of 2) sorted by relevance
53 int[] grantResults) { in onRequestPermissionsResult() argument56 if (grantResults.length > 0 in onRequestPermissionsResult()57 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
485 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument487 if (grantResults.length != 1 || grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()492 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()