Fixes the root cause for the crashes in vcldemo and ui-previewer that indirectly were fixed by0b7631bccbandf5cfed29b0. Those two commits are now reverted. Change-Id: If5dac37f032d2b74c977562c339e9799bbc4454c
Fixes the root cause for the crashes in vcldemo and ui-previewer that indirectly were fixed by0b7631bccbandf5cfed29b0. Those two commits are now reverted. Change-Id: If5dac37f032d2b74c977562c339e9799bbc4454c