OppoPanel : Ensure keyguard is actually visible when delaying

Lockscreen timeout creates a use case where the timeout hasn't expired and hence
we keep the intent as pending and never launch it. Fix this by checking if the keyguard is actually locked.

Change-Id: Ia86439b084c7c57a97ad1301f0ed8dc09e537879
Merge "OppoPanel : Ensure keyguard is actually visible when delaying" into cm-11.0
Merge branch 'cm-11.0' into kk_mkt