We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcdafa commit 996720eCopy full SHA for 996720e
src/backend/Paths.cpp
@@ -19,6 +19,10 @@
19
20
#include "AppSettings.h"
21
22
+#ifdef Q_OS_ANDROID
23
+#include "platform/AndroidHelpers.h"
24
+#endif
25
+
26
#include <QCoreApplication>
27
#include <QDir>
28
#include <QFileInfo>
@@ -126,6 +130,15 @@ const QStringList& configDirs()
126
130
paths.replaceInStrings(regex, QStringLiteral("/pegasus-frontend"));
127
131
}
128
132
133
134
+ const QStringList all_roots = android::storage_paths();
135
+ for (const QString& storage_root : all_roots) {
136
+ QString path = storage_root + QStringLiteral("/pegasus-frontend");
137
+ if (QFileInfo::exists(path))
138
+ paths << std::move(path);
139
+ }
140
141
129
142
paths.removeDuplicates();
143
return paths;
144
}();
0 commit comments