From 7ca5cf71a674c5a91d5869b0248c6d05c5812b44 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 3 Oct 2020 08:47:30 +0200 Subject: [PATCH] Remove date/time, etc EXIF tags --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 082ef97fdb..543e83f32a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -3243,8 +3243,14 @@ public class FragmentCompose extends FragmentBase { exif.setAttribute(ExifInterface.TAG_GPS_AREA_INFORMATION, null); + exif.setAttribute(ExifInterface.TAG_DATETIME, null); + exif.setAttribute(ExifInterface.TAG_DATETIME_ORIGINAL, null); + exif.setAttribute(ExifInterface.TAG_DATETIME_DIGITIZED, null); + exif.setAttribute(ExifInterface.TAG_XMP, null); + exif.setAttribute(ExifInterface.TAG_IMAGE_DESCRIPTION, null); exif.setAttribute(ExifInterface.TAG_ARTIST, null); + exif.setAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID, null); exif.setAttribute(ExifInterface.TAG_CAMERA_OWNER_NAME, null); exif.setAttribute(ExifInterface.TAG_BODY_SERIAL_NUMBER, null); exif.setAttribute(ExifInterface.TAG_LENS_SERIAL_NUMBER, null);