(1/2) Base: allow to disable smartcover

Change-Id: I830928794fdfc1c42acc381458603b3554b94155

Conflicts:
	core/java/android/provider/Settings.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
smart cover: show it when closing display while on keyguard

currently if you are on the keyguard and close the smart cover, the display
will turn off.

only turn it off, if we are not on the keyguard.
screen turns off after the default smart cover timeout

Change-Id: I889dd04b2b5223c3f239f41cc3bf097541c0497e