projects
/
platform
/
core
/
dotnet
/
launcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support UI Thread Separate (UTS) App Model (#464)
[platform/core/dotnet/launcher.git]
/
NativeLauncher
/
launcher
/
exec
/
launcher.cc
diff --git
a/NativeLauncher/launcher/exec/launcher.cc
b/NativeLauncher/launcher/exec/launcher.cc
index
d7cc8e6
..
2ef357f
100644
(file)
--- a/
NativeLauncher/launcher/exec/launcher.cc
+++ b/
NativeLauncher/launcher/exec/launcher.cc
@@
-42,6
+42,7
@@
static std::string PaddingOption("--PADDING_TO_CHANGE_CMDLINE_PADDING_TO_CHANGE_
static std::string AppTypeOption("--appType");
static std::string UIFWOption(KEY_TIZEN_UIFW);
static std::string ProfileOption("--profile");
static std::string AppTypeOption("--appType");
static std::string UIFWOption(KEY_TIZEN_UIFW);
static std::string ProfileOption("--profile");
+static std::string UTSOption("TIZEN_UI_THREAD");
static std::string GlobalizationInvariantOption("--invariant");
int main(int argc, char *argv[])
static std::string GlobalizationInvariantOption("--invariant");
int main(int argc, char *argv[])
@@
-90,6
+91,9
@@
int main(int argc, char *argv[])
}
i++;
UIFWType = argv[i];
}
i++;
UIFWType = argv[i];
+ } else if (UTSOption.compare(argv[i]) == 0) {
+ setenv("TIZEN_UI_THREAD", "true", 1);
+ _INFO("TIZEN_UI_THREAD is set");
} else {
vargs.push_back(argv[i]);
}
} else {
vargs.push_back(argv[i]);
}