overlay: Set config_deviceHardwareKeys properly

Now soft menu key works fine with since it got merged http://review.cyanogenmod.org/#/c/48155/

Change-Id: I3a027161b31596f6f97f2f7178d4710db150ead0
Tuna : Add display gamma calibration

Allow user to calibrate display gamma.

PS 3: Cleanup code.
      Better gamma values
      Needs: http://review.cyanogenmod.org/48901

PS 4: Restore original commit message

PS 5: Restore old ordering

PS 7: Restore original names of variables & unify both files

Change-Id: I2aa1d746ec6c8372f80e022b786078c5ded68612
Revert "Turn off BLE, GATT, and SMP of Bluetooth stack"

This reverts commit 55272b3a4e917143012a77d937ca2670ec26e0fb.

Both Maguro and Toro do support BLE but for some reasons Google has disabled it
from factory images of 4.3

Change-Id: I7402484a7bc4ebc99b4f6efea1511a57f88991b0
Revert "Revert "Turn off BLE, GATT, and SMP of Bluetooth stack""

Delete duplicate copy file.

Support for BLE was included in:
http://review.cyanogenmod.org/46546

This reverts commit 4f5886a19ad8a46bcc4f0d4b4f2ad080546d275f.

Change-Id: Ia76b0b329891d82c52443d611eabb9864e732e9c
tuna: set minimum brightness to 1 instead of 10

Minimum brightness for toroplus (and other tuna-based devices) was
reported as being too bright for night-time usage. It makes sense
logically that the minimum brightness that can be set should be 1
instead of 10, this change is also present in mako.

Change-Id: Id818cdb3a4151e647409f31a3529bf5dbadbed02
JIRA: CYAN-2319
tuna: add support for battery LED charging

Device has multi-color RGB LED, enable charging function
using existing custom lights library and frameworks overlay

JIRA: CYAN-596
JIRA URL: https://jira.cyanogenmod.org/browse/CYAN-596

Change-Id: Iac3d9c36b96cda281ca94263305ae3ecc192f3e9
Adapt for API changes.

Adapt for changes made in http://review.cyanogenmod.org/#/c/51499/

Change-Id: I6fc84edd0e4bb6da0b2a9b2be738c44fe16f3929
Merge "Adapt for API changes." into cm-10.2
enable swipe controls in recovery

Change-Id: I5d2cb7cf4a605de9e4f9ddec58abdf16ff221b96
Revert "tuna: set minimum brightness to 1 instead of 10"

Tuna doesn't look properly with this change. Screen is too dark for a normal use.

This reverts commit 1bc82a4162c2b7a56bad470797783dc37d54515c.

Change-Id: I2af2a10e4e26c2891f107720e661cdca173bdae5
tuna: Long Term Orbits (LTO)

Change-Id: I4e38d6e169067ede2fc38285d664311a4aec05de
tuna: Move has_led_flash to framework

Change-Id: I52f2f71a0e51675eee16f8d95ffd7f2c5591811f
Allow telephony access to proc/cmdline

Otherwise on toro you get:
D/TelephonyManager(  131): No /proc/cmdline exception=java.io.FileNotFoundException:
/proc/cmdline: open failed: EACCES (Permission denied)

Change-Id: I2685959d485be3e29a738bc6287fdd99dc52b771
tuna: Disable PhaseBeam wallpaper scrolling

This causes lag on tuna devices, therefore we opt-out

This change is required:
http://review.cyanogenmod.org/#/c/52205/

Change-Id: Ie236ed032a332ee8fff25bd52608462c83f201ef
tuna: Set max brightness and default vibrator intensity

  After this: http://review.cyanogenmod.org/47466
we lost the ability to set the brightness level to the
maximum supported by the device. With this change,
we can have a better view of the screen under sunlight.
NOTE: Good values may be: 50% 55% 75% (RGB)

  Furthermore, the default vibration intensity is
decrease from 100% to 85% for lower battery consumption.

Change-Id: Ic4e45453baa78745f01838c8f94b9b923582f7e9
selinux: Don't reset inherited system-wide configs
tuna: update sensors to new layout

65xx has been added for hammerhead, need to update to reflect 60xx
for tuna (manta needs this as well)
Fix sensor structs

Change-Id: Id5f1ef8cd6bf7c9e4a1fc2de2404bf913e344cfa
tuna: update init.tuna.rc for 4.4

Override p2p interface, use global socket

Change-Id: I4222c397c4a9a8190c4ffd4b2bc4f3bc983acf42
tuna: update media codecs for 4.4

Use vp8 and vp9 decoder, fix vp8 naming for encoder

Change-Id: I7f29eb37fba096f75854580131dcc2480f24c2bc