[3.0] Fixed issue with Indicator when plugging/unplugging charger 51/113751/2
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:56:03 +0000 (11:56 -0800)
commit21f9fd72bee0219a5471c62b13f89a2eeff9a180
treee9353120de23f2aad55c65fce3b8ce1d09d015b2
parent4ddfe4faed9f921212605993a8bb3598a444738c
[3.0] 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