Support for LivePreview

A solution for bug 24134 is still missing.

Change-Id: Ia4a19b363b49ca456efb205c082445da5e6efb47
Merge "Support for LivePreview"