mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 12:04:31 +00:00
Fix QCA android build
Summary: to be able to run Input App (Android), we have to avoid calls to setuid. Otherwise the application coredumps on this call during runtime. see https://github.com/lutraconsulting/input-sdk/blob/master/android/recipes/qca/recipe.sh Reviewers: sitter, dfaure Reviewed By: sitter Differential Revision: https://phabricator.kde.org/D23289
This commit is contained in:
parent
0be2a2ced3
commit
2895ca34dd
@ -225,7 +225,7 @@ void init(MemoryMode mode, int prealloc)
|
||||
|
||||
if(drop_root)
|
||||
{
|
||||
#ifdef Q_OS_UNIX
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_ANDROID)
|
||||
setuid(getuid());
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user