diff options
author | Daichi Hirono <hirono@google.com> | 2016-02-21 16:00:03 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2016-02-23 16:45:42 +0900 |
commit | 5c690557cce825024f5dc9e5e686f256155691a3 (patch) | |
tree | c0d7697ff2dfbf6dd0f80ee1e8662338a730970e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 073f5aaec7256a693dbe09489ddd433ea8267898 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions