Remove XMP, serial numbers EXIF tags

pull/184/head
M66B 4 years ago
parent b996d1313b
commit 1daa9b4862

@ -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);

@ -83,6 +83,17 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spResize" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvPrivacy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="@string/title_add_image_privacy_remark"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbPrivacy" />
<CheckBox
android:id="@+id/cbNotAgain"
android:layout_width="wrap_content"
@ -91,7 +102,7 @@
android:text="@string/title_no_ask_again"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbPrivacy" />
app:layout_constraintTop_toBottomOf="@id/tvPrivacy" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvNotAgain"

@ -903,7 +903,8 @@
<string name="title_add_image_inline">Insert</string>
<string name="title_add_image_attach">Attach</string>
<string name="title_add_image_resize">Resize</string>
<string name="title_add_image_privacy">Remove geographic location</string>
<string name="title_add_image_privacy">Remove privacy sensitive data</string>
<string name="title_add_image_privacy_remark">Geographic location, serial numbers, etc</string>
<string name="title_add_resize_pixels">&lt; %1$d pixels</string>
<string name="title_add_image_select">Select file</string>
<string name="title_add_attachment">Add attachment</string>

Loading…
Cancel
Save