mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
tweak createForExternal
This commit is contained in:
@@ -122,8 +122,7 @@ public class PersistentBlobProvider {
|
||||
}
|
||||
|
||||
public Uri createForExternal(@NonNull Context context, @NonNull String mimeType) throws IOException, IllegalStateException, NullPointerException {
|
||||
long timestamp = System.currentTimeMillis();
|
||||
String filename = timestamp + "." + getExtensionFromMimeType(mimeType);
|
||||
String filename = System.currentTimeMillis() + "." + getExtensionFromMimeType(mimeType);
|
||||
|
||||
// Try external cache first
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user