mediaplayer: workaround race condition with agl-service-mediaplayer service 29/14229/1
authorMatt Ranostay <matt.ranostay@konsulko.com>
Thu, 7 Jun 2018 03:25:25 +0000 (20:25 -0700)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Thu, 7 Jun 2018 04:04:14 +0000 (21:04 -0700)
commitb5acbc37299218b90908bbaf341cf971ad957c07
treecea8311d8edde621ae70e1af4cbff868dccdcc67
parent3c6e577749128d007cd7a86b18e3b92515062e04
mediaplayer: workaround race condition with agl-service-mediaplayer service

On some startups the agl-service-mediaplayer triggers an event during QML + UI
load which causes it to be dropped. Delaying for 300 milliseconds seems to workaround
this issue, but needs to be replaced with a proper method in the future.

Bug-AGL: SPEC-1496
Change-Id: Iefd825f79b19c422a153b3d77b4d3a472c13c372
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/main.cpp