最近遇到个BUG,是关于SDcard scan:下面是别人的解释:
When user connect a USB cable with LEX, MTP/PTP will probably use the SD card.So in this case, to protect the SD card, we want to stop the end user to do unmounting/erasing operations. Normally no one want to unmount/erase a SD card during a file transferring.This is the original Google's code behaviors. And MTP suppose the end user isusing Media player or other MTP server tools to trigger scan.