Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Fix saving mail attachment error

Seweryn Fornalik requested to merge fix/mail_attachment_saving_error into master

Description

There was a problem with saving attachments, as the schema path for a predefined location (file:///) was causing security exceptions. It was changed based on the implementations from the original code base.

Type of change

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • [x ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How has this been tested?

  1. Saving mail attachment on SDCard
  2. Saving mail attachment on internal storage

All tests were performed on emulator.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Merge request reports

Loading