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

Conflicts:
	configpanel/src/com/cyanogenmod/settings/device/KeyHandler.java
Automatic translation import

Change-Id: Iba419a73f7862162cd50289ed40845215672b052
OppoPanel: Allow camera to be launched when locked

- Make the use of the camera match the Keyguard widget
  behavior.

Change-Id: I11f171afc69ed350294120afbe03a9e1345bc6f0
Automatic translation import

Change-Id: Ifb637a37fd0a48594de4a64dac6c71fec5747d92
ConfigPanel : Add proximity checks

Change-Id: Ic98f27cc040ee89bf27e35d7719aac1e2840cedb

Conflicts:
	configpanel/src/com/cyanogenmod/settings/device/KeyHandler.java
Automatic translation import

Change-Id: Ie1480cf68c977798e4d15651efd3fe548a81d66a