Skip to content
Snippets Groups Projects
Commit bcf7d201 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Medialibrary: Always call onDeviceMounted()

parent 440df05e
No related branches found
No related tags found
No related merge requests found
Pipeline #5167 passed with stage
in 3 minutes and 58 seconds
......@@ -64,7 +64,7 @@ bool
AndroidMediaLibrary::addDevice(const std::string& uuid, const std::string& path, bool removable)
{
p_lister->addDevice(uuid, path, removable);
return p_DeviceListerCb != nullptr && (m_started ? p_DeviceListerCb->onDeviceMounted(uuid, path) : !p_DeviceListerCb->isDeviceKnown(uuid));
return p_DeviceListerCb != nullptr && (p_DeviceListerCb->onDeviceMounted(uuid, path));
}
std::vector<std::tuple<std::string, std::string, bool>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment