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

Skip to content
Commit 0745df0c authored by Tommy Webb's avatar Tommy Webb
Browse files

Gallery2: Ensure cropped output is truncated

To properly handle the case that a calling app's use of the crop intent
provides an output URI that already exists, e.g. one that is the same
as the input URI, ensure that writes are truncated.

If any apps are affected by this in practice, it's not clear which;
the generic crop intent does not appear to be widely-used, and calls
from AOSP apps or from the system use temporary files for this.

Change-Id: I2a468d9527b679b6aaef6af1521ec0467f58bf60
parent 0477af1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment