Fixed issue with Indicator when plugging/unplugging charger 50/113750/1
authorPaul Wisbey <p.wisbey@samsung.com>
Wed, 8 Feb 2017 19:03:45 +0000 (19:03 +0000)
committerPaul Wisbey <p.wisbey@samsung.com>
Wed, 8 Feb 2017 19:23:28 +0000 (19:23 +0000)
commit7ac10c25af4f8a33bd0542028574dbc9343f647e
tree00238eaaf19e7fe9b0a29ce0b9bc8abeceb1a9a4
parent0c5a4227ab6415d51411d7d0cb284b98dba5139b
Fixed issue with Indicator when plugging/unplugging charger

RequestUpdate()
Update thread wakes up in UpdateRenderReady()
* update & render *
* Indicator is updated *
RequestUpdateOnce()
   IsUpdateRenderThreadPaused() returns false
ProcessSleepRequest()
Update thread sleeps in UpdateRenderReady()

In other words we're sleeping too soon, before the Indicator has been rendered.
This is more likely to occur on mobile, since we get spammed with damage events.

Change-Id: I587c80a6545c0f5623c02dd5443b8e2ea2319be4
adaptors/base/combined-update-render/combined-update-render-controller.cpp