msm8660: remove duplicate SELinux rules

Change-Id: I1ba6ed8dde4a2194bf33f2072643c5274f6689a4
msm8660: add memtrack HAL

Change-Id: Iedd4575ee084650b2faf885eff8ed315f8e737bd
msm8660: add memtrack HAL

Change-Id: Iedd4575ee084650b2faf885eff8ed315f8e737bd
Revert "msm8660: enable QCOM_BSP"

This reverts commit 67316765547a89325edc083bb82fca8822b04406.

Conflicts:
	BoardConfigCommon.mk

Change-Id: I46196aa1a079463b1cd75b73602fec4c1f5258bd
msm8660: disable LPA since it breaks Bluetooth streaming

  * We need to come back to this and do further debug

Change-Id: Ife486cf6b799255d5a862088326de4381656644e
msm8660: grant Bluetooth LE permissions

Change-Id: Ic01ffa0ee8d53509a56f9f04d838d2b6917ae05b
msm8660: enable three buffers at all times

Change-Id: I58b8268030c9101a8b54ff52116e5edfe8c99914
msm8660-common: remove linux includes

Change-Id: Idae0ff246df2a2e917d1ae52a337309d875f0ad1
msm8660: device-specific camera wrapper

  * modeled after CameraWrapper in msm8960-common and m7-common
  * allows us to rely less on overlay hacks to packages/apps/Camera2
  * these overlays are still needed:
    - ignorePreferredPreviewSizeForVideo=true
  * old overlays from cm-10.2 that this replaces:
    - useInfinityFocus=false
  * old overlays from cm-10.2 that we are ignoring as they no longer apply:
    - needsSamsungCamMode=true (no longer needed)
    - usePreferredPreviewSizeForEffects=true (effects are not supported anymore)
    - needsEarlyVideoSize=true (done in Camera2 by default)
  * restart preview if the video-size changes; otherwise corrupted recordings
    result (e.g.: 1080p->720p and 720p->1080p)
  * to use: rename vendor/samsung/<device>/proprietary/lib/hw/camera.msm8660.so
    to camera.vendor.msm8660.so and fix the vendor .mk files accordingly.
  * use with media-caf to avoid 5 second delay when starting record

Includes squashed patches from Dave Antoine <bryan2894@gmail.com>:

  * rotation fix for upside down and corrupted videos

  * add CIF profile fix crash when entering settings in Google Camera app
  * use QVGA instead of CIF
https://github.com/AOSPA-legacy/android_device_samsung_msm8660-common/commit/7fa38357d1f7e7fe5712138420ddc88de138f5d8
https://github.com/AOSPA-legacy/android_device_samsung_msm8660-common/commit/328ddb9a8ebab98abae6d5b9e4519b5383bc24c6

  * fix switching from 480p video to picture mode
https://github.com/AOSPA-legacy/android_device_samsung_msm8660-common/commit/6d59d0eb23d841b20bc1ccfef82414a438915139

  * fix low-res preview on front cam by forcing the preview size
https://github.com/AOSPA-legacy/android_device_samsung_msm8660-common/commit/a002f81077dba7ac4154373ce3cae48846a98129

Change-Id: Iab6c400b89c6743e890755c01ad97dc39bde17c6

Conflicts:
	configs/media_profiles.xml
msm8660: remove linux includes

  * We shouldn't be calling for these kernel includes from the device tree.

Change-Id: Idae0ff246df2a2e917d1ae52a337309d875f0ad1