From 86240e972fafe058997fd59b5d00a3669e242253 Mon Sep 17 00:00:00 2001
From: "danil.martynenko" <danil.martynenko@demlabs.net>
Date: Tue, 24 Dec 2024 19:50:45 +0300
Subject: [PATCH] [*] android build fixed 3

---
 core/UserConfigManager.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/UserConfigManager.cpp b/core/UserConfigManager.cpp
index ecdc81cfa..9b866be5d 100644
--- a/core/UserConfigManager.cpp
+++ b/core/UserConfigManager.cpp
@@ -41,6 +41,7 @@ bool UserConfigManager::configure() {
     }
 
 #ifndef Q_OS_WIN
+#ifndef Q_OS_ANDROID
     if (!changeOwnership(userConfigPath, guiUser)) {
         qDebug() << "Failed to change ownership for:" << userConfigPath;
     }
@@ -48,6 +49,7 @@ bool UserConfigManager::configure() {
         qDebug() << "Failed to change permissions for:" << userConfigPath;
         return false;
     }
+#endif
 #endif
 
     qDebug() << "Permissions successfully updated for:" << userConfigPath;
-- 
GitLab