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

Skip to content
Commit 5c690557 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Delete disconnected row when the corresponding remote file is deleted in a

MTP device.

The CL has MtpDatabase remove file metadata for the case.

1. Files app opens a MTP device. MtpDocumentsProvider stores the
   metadata of files in MtpDatabase.
2. A user disconnects the MTP device. MtpDatabase marks the files
   metadata as disconnected.
3. A user operates the MTP device and deletes a file in the MTP device.
4. A user connects the MTP device to Android again, and opens the MTP
   device again in Files app.
5. MtpDocumentsProvider updates the metadata of files, it should delete
   metadata of a file that was deleted at step 3.

BUG=27280143

Change-Id: I79b8df2457cd5b36d1706a9c6e3827c8e7d16208
parent 073f5aae
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