Skip to content

Commit

Permalink
Fixed requestCameraAuthorization returning DENIED_ALWAYS when user gr…
Browse files Browse the repository at this point in the history
…anted access and camera is actually working.
  • Loading branch information
nleclerc committed Feb 3, 2016
1 parent a7b8fc9 commit 2abb480
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions www/android/diagnostic.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ var Diagnostic = (function(){
successCallback(combineCameraStatuses(statuses));
}
Diagnostic.requestRuntimePermissions(onSuccess, errorCallback, [
Diagnostic.runtimePermission.CAMERA,
Diagnostic.runtimePermission.READ_EXTERNAL_STORAGE
]);
};
Expand All @@ -636,7 +635,6 @@ var Diagnostic = (function(){
successCallback(combineCameraStatuses(statuses));
}
Diagnostic.getPermissionsAuthorizationStatus(onSuccess, errorCallback, [
Diagnostic.runtimePermission.CAMERA,
Diagnostic.runtimePermission.READ_EXTERNAL_STORAGE
]);
};
Expand Down

0 comments on commit 2abb480

Please sign in to comment.