android_os_FileUtils_getVolumeUUID: Fix the incorrect logical for call blkid_get_tag_value.
There are two problems in here. 1. For the function blkid_get_tag_value third parameter is should be the device, not the mount pointer, in the MediaPrivader.attachVolume, it will pass the mount path to call this function. 2. The UUID for device is hex, so call atoi is not right. I think call strtol is better than atoi. Change-Id: I76598a0993f08add3e9c7541cbc082d8d85e9af4
Loading
Please register or sign in to comment