Closed Aitorbp closed 9 months ago
Feature works fine, ownCloud is now an option to share logs.
But i noticed that the shared log file uses .bin
extension. Maybe not related with this but it deserves a look.
There are internal android studio method that do not recognize .log extensions, specifically this one: MimeTypeMap.getSingleton().getMimeTypeFromExtension(displayName.substring(index + 1))
. Since it does not recognize it, it tries to create a new extension, therefore it puts the .bin
in front of the .log
.
The .log
extension is recognized as a mimeType
application/octet-stream
, which is a generic MIME
type indicating that the contents of the file are binary and not specified more specifically.
The solution that has been carried out in this issue is to put a condition when it is a .log
file so that it does not add the .bin
extension.
Fixed and approved
Related Issues
App:https://github.com/owncloud/android/issues/4156
QA