1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/testing/anbox/give-more-time-to-start.patch
Antoine Fontaine db71e0d805 testing/anbox: fix issues
* give even more time to start, because Android is visibly quite
  long to start on a phone
* backport the input chmod patch, it unbreaks touch input on some
  devices
* ignore wayland env vars, as they aren't actually working
2020-03-10 22:05:29 -03:00

13 lines
524 B
Diff

Anbox tend not to leave enough time for Android to start.
This patch gives more breathing room.
--- a/src/anbox/cmds/launch.cpp
+++ a/src/anbox/cmds/launch.cpp
@@ -35,7 +35,7 @@ namespace fs = boost::filesystem;
namespace {
constexpr unsigned int max_session_mgr_wait_attempts{10};
-const std::chrono::seconds session_mgr_wait_interval{5};
+const std::chrono::seconds session_mgr_wait_interval{60};
constexpr unsigned int max_dbus_service_wait_attempts{10};
const std::chrono::seconds dbus_service_wait_interval{5};