diff --git a/src/homeform.cpp b/src/homeform.cpp index aa3de6b81..eff27d903 100644 --- a/src/homeform.cpp +++ b/src/homeform.cpp @@ -541,8 +541,8 @@ homeform::homeform(QQmlApplicationEngine *engine, bluetooth *bl) { } #ifdef Q_OS_ANDROID - // Android 14 restrics access to /Android/data folder - if (QOperatingSystemVersion::current() >= QOperatingSystemVersion(QOperatingSystemVersion::Android, 14)) { + // Android 13 restrics access to /Android/data folder + if (QOperatingSystemVersion::current() >= QOperatingSystemVersion(QOperatingSystemVersion::Android, 13)) { QDirIterator itAndroid(getAndroidDataAppDir(), QDirIterator::Subdirectories); QDir().mkdir(getWritableAppDir()); QDir().mkdir(getProfileDir()); @@ -856,8 +856,8 @@ void homeform::pelotonWorkoutChanged(const QString &name, const QString &instruc QString homeform::getWritableAppDir() { QString path = QLatin1String(""); #if defined(Q_OS_ANDROID) - // Android 14 restrics access to /Android/data folder - if (QOperatingSystemVersion::current() >= QOperatingSystemVersion(QOperatingSystemVersion::Android, 14)) { + // Android 13 restrics access to /Android/data folder + if (QOperatingSystemVersion::current() >= QOperatingSystemVersion(QOperatingSystemVersion::Android, 13)) { path = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation) + "/QZ/"; QDir().mkdir(path); } else {