mirror of
				https://github.com/oxen-io/session-android.git
				synced 2025-10-31 16:18:44 +00:00 
			
		
		
		
	fix temp file permission denied
// FREEBIE
This commit is contained in:
		| @@ -124,7 +124,7 @@ public class AttachmentDownloadJob extends MasterSecretJob implements Injectable | ||||
|  | ||||
|   private File createTempFile() throws InvalidPartException { | ||||
|     try { | ||||
|       File file = File.createTempFile("push-attachment", "tmp"); | ||||
|       File file = File.createTempFile("push-attachment", "tmp", context.getCacheDir()); | ||||
|       file.deleteOnExit(); | ||||
|  | ||||
|       return file; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jake McGinty
					Jake McGinty