Searched refs:shouldShowRequestPermissionRationale (Results 1 – 9 of 9) sorted by relevance
52 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale() method in CameraPermissionHelper53 return ActivityCompat.shouldShowRequestPermissionRationale(activity, CAMERA_PERMISSION); in shouldShowRequestPermissionRationale()
343 if (!CameraPermissionHelper.shouldShowRequestPermissionRationale(this)) { in onRequestPermissionsResult()
54 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale() method in CameraPermissionHelper55 return ActivityCompat.shouldShowRequestPermissionRationale(activity, CAMERA_PERMISSION); in shouldShowRequestPermissionRationale()
297 if (shouldShowRequestPermissionRationale(PERMISSION_CAMERA) || in requestPermission()298 shouldShowRequestPermissionRationale(PERMISSION_STORAGE)) { in requestPermission()
320 if (shouldShowRequestPermissionRationale(requiredPermission)) { in requestRecordAudioPermission()
272 if (!CameraPermissionHelper.shouldShowRequestPermissionRationale(this)) { in onRequestPermissionsResult()
1916 public void shouldShowRequestPermissionRationale() { in shouldShowRequestPermissionRationale() method in ShadowPackageManagerTest1917 …assertThat(packageManager.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)).isFals… in shouldShowRequestPermissionRationale()1921 …assertThat(packageManager.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)).isTrue… in shouldShowRequestPermissionRationale()
871 protected boolean shouldShowRequestPermissionRationale(String permission) { in shouldShowRequestPermissionRationale() method in ShadowApplicationPackageManager
2455 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestRecordAudioPermission()