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
Automatic translation import

Change-Id: Iba419a73f7862162cd50289ed40845215672b052
Merge "OppoPanel : Ensure keyguard is actually visible when delaying" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into HEAD