commit | 1397012f25f31600265a5c443975f3ddcfa3ffd5 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu May 28 19:18:56 2020 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu May 28 19:18:58 2020 -0600 |
tree | 7885ecd569d12117e4bcdb72547766841555108d | |
parent | 227aa57663dda084659e01bb2eed32df0d51e391 [diff] |
Support getStorageVolume() for synthetic volumes. The MediaStore.VOLUME_EXTERNAL volume is a synthetic collection of all currently mounted storage volumes, so if someone wants to find the underlying StorageVolume for one of these Uris, we need to query to resolve the real volume name. Bug: 153664437 Test: atest android.provider.cts.MediaStoreTest Change-Id: I4f202c57a289a3722e45a673d49b53fa1d029b90