Commit 131f6f5e authored by Martin Straka's avatar Martin Straka

Used file provider only for all SDK version

parent 578c564d
......@@ -44,10 +44,18 @@ bool AndroidIO::isSDKVersion24OrNewest(void)
bool AndroidIO::openFile(const QString &filePath)
{
if (isSDKVersion24OrNewest()) {
return openWithFileProvider(filePath);
/*
* TODO - must be tested and reimplement.
* Use file provider only because SDK detection fails.
* QDesktopService generat empty files.
*/
/*
if (!isSDKVersion24OrNewest()) {
return openWithQDesktopServices(filePath);
}
return openWithQDesktopServices(filePath);
*/
return openWithFileProvider(filePath);
}
bool AndroidIO::openWithQDesktopServices(const QString &filePath)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment