photophase: restart lwp service on bad egl context

This patch contains some fixes for bad egl context detection and other NPE and lint fixes

Change-Id: I47c4348770dc72f768df4bea27c7817d1ec10c42
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
photophase: bump version (1.0.11)

Change-Id: Id63b9b10878c4bdb0739289aa23e60d043b4041f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
photophase: make lwp to survive a reboot

The latest egl watchdog kill the app before they started. Increase the timeout
to make the wallpaper to survive a device reboot

Change-Id: I59a746fb9d599e0d016e4fc87c79d2a7d03a53d8
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Automatic translation import

Change-Id: I657b1763891267e42d6b563e990539d701ed4071
Merge branch 'cm-11.0' into stable/cm-11.0