commit | bcafd4ab8ce6e2327275069d4dc3a83a3891c813 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Wed Jun 12 18:49:30 2019 -0700 |
committer | Sudheer Shanka <sudheersai@google.com> | Thu Jun 13 10:41:15 2019 -0700 |
tree | 872a186794289b788328c662d51e6fabc4489ba0 | |
parent | f66042e2d0e05fba2fd4baae0a46494e8dad5d07 [diff] |
Delegate deletion of mediaprovider downloads to FileSystemProvider. Using ContentResolver.delete() directly on MediaProvider doesn't work for uris corresponding to directories. For now, delegate this deletion to FileSystemProvider which will try deleting all entries regex-matching the file path. Bug: 135031305 Test: manual Change-Id: Iac18d0fd0be05758aaf2c03971d716592d96699b