Merge "Stop to remove device rows at MtpDocumentsProvider."

This commit is contained in:
Daichi Hirono
2015-12-25 07:09:38 +00:00
committed by Android (Google) Code Review

View File

@@ -245,7 +245,6 @@ public class MtpDocumentsProvider extends DocumentsProvider {
void closeDevice(int deviceId) throws IOException, InterruptedException {
synchronized (mDeviceListLock) {
closeDeviceInternal(deviceId);
mDatabase.removeDeviceRows(deviceId);
}
mRootScanner.resume();
}