Add a test android log message

This commit is contained in:
loonycyborg 2023-05-27 16:25:23 +03:00
parent c463521d95
commit accf0fba57
No known key found for this signature in database
GPG key ID: 6E8233FAB8F26D61

View file

@ -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());