Loading media/mtp/MtpFfsHandle.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -614,7 +614,7 @@ int MtpFfsHandle::start() { int MtpFfsHandle::configure(bool usePtp) { // Wait till previous server invocation has closed if (!mLock.try_lock_for(std::chrono::milliseconds(1000))) { if (!mLock.try_lock_for(std::chrono::milliseconds(300))) { LOG(ERROR) << "MtpServer was unable to get configure lock"; return -1; } Loading media/mtp/MtpServer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -132,7 +132,7 @@ int MtpServer::configure(bool usePtp) { int ret = sHandle->configure(usePtp); if (ret) ALOGE("Failed to configure MTP driver!"); else android::base::SetProperty("sys.usb.ffs.mtp.ready", "1"); android::base::SetProperty("sys.usb.ffs.mtp.ready", "1"); return ret; } Loading Loading
media/mtp/MtpFfsHandle.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -614,7 +614,7 @@ int MtpFfsHandle::start() { int MtpFfsHandle::configure(bool usePtp) { // Wait till previous server invocation has closed if (!mLock.try_lock_for(std::chrono::milliseconds(1000))) { if (!mLock.try_lock_for(std::chrono::milliseconds(300))) { LOG(ERROR) << "MtpServer was unable to get configure lock"; return -1; } Loading
media/mtp/MtpServer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -132,7 +132,7 @@ int MtpServer::configure(bool usePtp) { int ret = sHandle->configure(usePtp); if (ret) ALOGE("Failed to configure MTP driver!"); else android::base::SetProperty("sys.usb.ffs.mtp.ready", "1"); android::base::SetProperty("sys.usb.ffs.mtp.ready", "1"); return ret; } Loading