Add a test android log message
This commit is contained in:
parent
c463521d95
commit
accf0fba57
1 changed files with 7 additions and 0 deletions
|
@ -121,6 +121,10 @@
|
|||
|
||||
#endif // _WIN32
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
|
||||
#include "gui/widgets/debug.hpp"
|
||||
#endif
|
||||
|
@ -1041,6 +1045,9 @@ int wesnoth_main(int argc, char** argv)
|
|||
int main(int argc, char** argv)
|
||||
#endif
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
__android_log_write(ANDROID_LOG_INFO, "wesnoth", "Wesnoth started");
|
||||
#endif
|
||||
auto args = read_argv(argc, argv);
|
||||
assert(!args.empty());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue