summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-06-10 11:09:11 -0700
committerFelipe Leme <felipeal@google.com>2016-06-10 11:09:11 -0700
commit123a0e712eabcfec5987f9423e4b5db67231a31a (patch)
tree1d4aa9d126335b0e123dd54ad582f8cefdda84a4 /docs/html/sdk/api_diff/24/changes
parent9b5a78072281ebf0182234d56b6ec174e911d24e (diff)
Check for valid paths when getVolumeList() returns invisible volumes.
The FLAG_INCLUDE_INVISIBLE was created to let SM.getStorageVolumes() return mounted volumes (like USB drives), but in the current form it might return invalid volumes. For example, when a SD Card is adopted as an internal storage, it will return 2 volumes instead of one, the "bad" one being: VolumeInfo{emulated}: type=EMULATED diskId=null partGuid=null mountFlags=0 mountUserId=-1 state=UNMOUNTED fsType=null fsUuid=null fsLabel=null path=null internalPath=null As such, we need to filter out those volumes that don't have a path. BUG: 29250241 Change-Id: I3f84b53eac98f31f918d843c70f9d42983e2a438
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions