ath0mas commented on code in PR #295:
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/295#discussion_r1680705396


##########
src/android/Capture.java:
##########
@@ -234,7 +234,7 @@ private JSONObject getAudioVideoData(String filePath, 
JSONObject obj, boolean vi
         return obj;
     }
 
-    private boolean isMissingPermissions(Request req, ArrayList<String> 
permissions) {
+    private boolean isMissingPermissions(Request req, List<String> 
permissions) {

Review Comment:
   You're right!
   To update and clean this up a little more, maybe also do?
   - `ArrayList<String> missingPermissions = …` ⇒ `List<String> 
missingPermissions = …`
     (+ a bonus space before `:` in `String permission: permissions` 😇)
   - `ArrayList<String> cameraPermissions = …` ⇒ `List<String> 
cameraPermissions = …`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to