The previous code was looking for just the display to turn off. It should wait until keyguard is actually shown before enabling the external presentations. Fix for bug 11694904 Change-Id: Iebf3aa04fc094cd4e5c8f56bc771aca1e5921d04