Fix intent uri

parent bcf9a8ed
......@@ -102,7 +102,7 @@ public static void verifyStoragePermissions(Activity activity) {
java.io.FileOutputStream output = new java.io.FileOutputStream(uriString);
try{
int bytesRead;
while((bytesRead = input.read()) != -1){
while((bytesRead = input.read(buffer)) != -1){
output.write(buffer, 0, bytesRead);
}
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment