diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 126f80bb01..33068126c9 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -3011,6 +3011,11 @@ public class FragmentCompose extends FragmentBase { exif.setAttribute(ExifInterface.TAG_GPS_AREA_INFORMATION, null); + exif.setAttribute(ExifInterface.TAG_XMP, 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); + exif.saveAttributes(); } catch (IOException ex) { Log.w(ex); diff --git a/app/src/main/res/layout/dialog_add_image.xml b/app/src/main/res/layout/dialog_add_image.xml index e607bcf7d3..84dca9df2b 100644 --- a/app/src/main/res/layout/dialog_add_image.xml +++ b/app/src/main/res/layout/dialog_add_image.xml @@ -83,6 +83,17 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/spResize" /> + + + app:layout_constraintTop_toBottomOf="@id/tvPrivacy" /> Insert Attach Resize - Remove geographic location + Remove privacy sensitive data + Geographic location, serial numbers, etc < %1$d pixels Select file Add attachment