remove dependency
remove unused overlays and disable some for now

Change-Id: Ib9ce1bdd189dac94e6b2b16484ff457d9b34783a
remove configpanel for now

want to work that a bit better out.

Change-Id: Ide937b6f8931da1bb175f1d28e420063cdb2c3d9
oppo-common: enable permanent menu key

tbh they have hw keys...yes...but the screens are far to big and google
will add the menu button in apps as permanent feature in future release.
So enable it by default....now kufikugel is happy :p

-PS
derp lol

Change-Id: Ied5d913dda847d6038607bfc8ac7e16af17dc1fe
oppo-common: remove cmhw

we will replace this in future with an own solution

Change-Id: I611b5653893f42b283f61d911469b1e6b3d8d7e2
oppo-common: add DeviceHandler package

this apk just keeps the handler which peforms the gestures and double tap
when screen is off.

We will extend it on a later point with settings....but we will use instead CM settingsour DSLV
which will allow to add any action the user want (#link:SlimActions).

Change-Id: I8e70d0656d97376c2100ce9a01afe5ff70fd64ba
bacon: let the frameworks handle the camera.

Due of changes we have in fb this feature does not work well. We introduced
in the past a function in the keyguard which handles all possibilities which
can happen on the keyguard in combination with slim features.

On a later point we should do for a secure lockscreen if the camera
supports it a secure camera. Way it was I do not like due that to much
3rd party camera do not play well with the secure intent.

So like it is now is for now the best solution.

Change-Id: I15e092c2dcce1081e836c7e54760196c4936b2bf
bacon: add other gesture for torch and cleanup (1/2)

The FLIP_CAMERA_SCANCODE is not used at all at current state. We replaced
last week torch arrow down gesture with silent/vibrate/sound functionallity.

Some user want still to have torch via gesture. Arrow up is a bit more natural
for it due that it points visually to the torch on the device.

So introduce new v up gesture to toggle the torch.

For now we just use FLIP_CAMERA_SCANCODE which hat the unused keycode
249 due that otherwise we need to use 256 which is out of unsigned char
keycode in kernel. We can change the whole logic on a later point if we
need to trigger more gestures.

For now this is a reliable way.

REMARK: Third party kernel torch will simply just not enable as long the kernel did
not integrate the new keycode 249

Change-Id: I7d11836c0d7ef41a6cd9f4926510ec51704b843b
oppo-common: add screen off gesture control - custom action per gesture

Stock version does not give the user the ability to bind other actions
to the different available gestures.

This commit adds the ability to asign whatever custom app or shortcut
to the screen off gestures or a bunch of predefined ones.

Change-Id: I50821c90434e547b5faaea86a65b1e80606f37c2
Fix proximity sensor issue

Original issue to track: https://jira.cyanogenmod.org/plugins/servlet/mobile#issue/BACON-599
Quotes from Steve Kondik:
1. "Higher overall idle current was isolated to an i2c power management issue, this is resolved with the patches that just went in. We're idling at 3.5mA, which is LOWER than 25R, so yay for us. The proximity sensor issue is harder to reproduce but it's confirmed, we are working on this now."
2. "Proximity sensor issue is fixed now as well. The issue could happen if the proximty sensor didn't warm up fast enough and the device reentered suspend. We'll push this thru an expedited OTA after running the full test suite. Thanks for the feedback."

This commit is to address the second issue and adapt only necessary part of these following patches:
http://review.cyanogenmod.org/#/c/70507/
http://review.cyanogenmod.org/#/c/69169/
http://review.cyanogenmod.org/#/c/70465/

Change-Id: Ifb3bf36a013ce8ebca7b18acd193329c5e621585
[1/2] CM hardware: CABC and Color Calibration

Change-Id: I2d311fa14b89a929cd13e042aceef47ae1c6df6d