Skip to content

Commit

Permalink
removed obsolete hasPermissions API
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek committed Oct 28, 2024
1 parent 14d3cfb commit 51daafd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/android/CameraLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -1360,15 +1360,6 @@ public void onRestoreStateForActivityResult(Bundle state, CallbackContext callba
this.callbackContext = callbackContext;
}

private boolean hasPermissions(String[] permissions) {
for (String permission: permissions) {
if (!PermissionHelper.hasPermission(this, permission)) {
return false;
}
}
return true;
}

/**
* Gets the ideal buffer size for processing streams of data.
*
Expand Down

0 comments on commit 51daafd

Please sign in to comment.