Change the timeout in CallBoardSystemServiceOpenApplication to

30 seconds to match the old springboard timeout; the launcher
should time out before that and we will hopefully get back
an informative error message instead of timing out ourselves.

llvm-svn: 290163
This commit is contained in:
Jason Molenda 2016-12-20 04:54:04 +00:00
parent 66a9568408
commit 97c96cb4ed
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ static bool CallBoardSystemServiceOpenApplication(NSString *bundleIDNSStr,
];
const uint32_t timeout_secs = 20;
const uint32_t timeout_secs = 30;
dispatch_time_t timeout =
dispatch_time(DISPATCH_TIME_NOW, timeout_secs * NSEC_PER_SEC);