Active display: turn off proximity sensor if not needed

Change-Id: If22888420e2f1cfb76aab190f3ace42d1cbfbd0b
Active display: fix SystemUI force close

Change-Id: I0bfdabe3d23689422c895ad544918d76b3f4fd4b
Active display: Option to change display timeout [1/2]

Change-Id: I3e0d9d05ddf3892b0223c012b5420bbcf4e3b6e1

Conflicts:
	core/java/android/provider/Settings.java
Active display: Add threshold to proximity sensor

Display will only be activated if the proximity sensor is covered for 3 seconds or more.

Change-Id: I0e9744d82884fc7aa7671ca8c93f49430359fee6

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java
Active display: turn off display if device gets pocketed again

Conflicts:
    packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java

Change-Id: I15b022127a61dd907ab0247574c1dc1c1ffc59cf