Emit the resume signal before we update 40/46240/3
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 18 Aug 2015 10:02:26 +0000 (11:02 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 18 Aug 2015 14:37:49 +0000 (15:37 +0100)
commitda6080c11c71fda9248da88b338621b267bd5173
tree578db884cdafde5839b75ca3f126cac5f7be40a1
parent7b2209d6d36e9e4396433e751971a24bfb79d3a3
Emit the resume signal before we update

[Problem]  We'd signal the application AFTER we'd already done a first update
           upon resume so the first frame shown would just show the last frame
           before we were paused.
[Solution] Emit the signal first on resume so the application can queue any
           messages. Then we should process the messages (but only once as
           Core::Resume also does it). Finally, we should kick off the thread
           controller, so the first update that we do is what was required by
           the application.

Change-Id: I6dda0b70f29b47da91f5dc430447b54f7526067d
adaptors/common/adaptor-impl.cpp
adaptors/common/application-impl.cpp