sepolicy: move to msm8960-common

Change-Id: I4804368987c301f352c0ac424fa42ea1f9980762
Disable high brightness option in Torch

Change-Id: I1a2df5feb59c3c6f08c88e2a7c17460b4576c675
d2: move overlays from apps/Phone to services/Telephony

Change-Id: I71c68094e339e6fb06f2e6055385efda4bd11dcb
d2: moving camera wrapper to msm8960-common

Change-Id: Id0aa3025599f9163dcb15da6c1555f9444216d56
d2-common:  Lower max dimensions in media_profiles

1920x1080 encoding is currently causing issues for camcorder.
Lower it down to 1280x1024 for now till we can isolate the core cause
(should fix issues with camcorder as well as instagram and other 3rd party
cameras)

Change-Id: Id2059bc86bfb1b31ab1b7f07015a02f6c9ef6c2e
update for camera hal blob

Change-Id: I2b1881ef1156a54847c998eee764555c8c990898
d2-common: set persist.fuse_sdcard=true

We do not have a real internal sd card and the startup scripts
repeatedly refer to this setting, so set it

Change-Id: Ic1c16a5a2c5c3d7a24782bcdf8842db322465371
Camera: enable TARGET_NEED_CAMERA_ZSL

Change-Id: Ifcb18dc9cf9238aa53627edb886d8cc3f206a630
d2-common: fix ifeq's for apex/express

Change-Id: I09e8d95a6540fde333df48b7620b9ef67cf25b85
camera: disable autofocus

Change-Id: I237029a4971510689fa4830a6d3ec34eb12c5286
d2-common: tweak fstab

Some boot hangs on d2 have been traced to poor cache performance.
Increase performance by enabling journal_async_commit,noatime, and
noauto_da_alloc. Also remove duplicate definition of /cache in
init.target.rc.

Change-Id: Ic9508cc047256776910160fb9ca1cb2cda183c67
Fix mounting of USB OTG

Pulled from HammerHead to fix OTG Mount support in fstab and init.qcom.rc

Change-Id: I300714c7b2413cb3d8fe4e8b438c92f4d0f0000e
more cache tweaks

Startup hangs continue unabated. Kill filesystem check on cache on
startup, but increase protections against corruption.

Change-Id: I4f4fc58ad89c3274135fc6d0060d3478b23b7f18
init.qcom.rc: Remove /data/system/wpa_supplicant, fixes WiFi on upgrades

libhardware_legacy's wifi_connect_to_supplicant checks if (the symlink)
/data/system/wpa_supplicant exists, and if so, assumes it points to a
directory containing the wpa_supplicant control socket.  This is _not_ the
location of the wpa_supplicant control socket on d2/jf, and so, the symlink
should not exist.

CM 10.2's init.qcom.rc creates the /data/system/wpa_supplicant symlink,
with /data/misc/wifi/wpa_supplicant as its target.  However, it does not
create the target directory itself, so the wifi_connect_to_supplicant check
(correctly) fails.

CM 11.0 does create the /data/misc/wifi/wpa_supplicant directory, but not
the corresponding /data/system/wpa_supplicant symlink.  So the
wifi_connect_to_supplicant check also fails.  However, as the symlink
already exists on 10.2 upgrades, the check passes, resulting in
wpa_supplicant attempting to use the non-existant
/data/system/wpa_supplicant/wlan0 control socket.  Thus, the
/data/system/wpa_supplicant symlink needs to be removed to ensure that WiFi
on upgrade installs functions corectly.

Change-Id: Ifd49fa31706f9c09594eb8c45a726f0e6abef252
d2-common: camera: Add flag to disable face detection

Change-Id: I5b07c46b75890e929da57fb16e293b9a95b3e177
Rename camera blob

Change-Id: I75fecba495221c3d83e9df3107cc7e33ed3dfadb
d2: add missing ISO 1600 mode

Change-Id: I801d45866b64f5860c1b50479a2ef00c55a8699b
Enable ZSL

Move overlay from Gallery2 to Camera2, and remove all the options except
enable zsl since the rest don't exist (anymore/yet)

Change-Id: I8973e5760cda36d19ff90d4c16ef3c70075c9fe8
d2: camera: delete resolution overlay

It was in the wrong place until today anyway.

Change-Id: I3cd8455af3ac4574c18cd528ddc9425109ee24c7
d2: WiFi is still a module

Change-Id: Ibc18fcb7f4ed42d2cd57482b92423c3e1df4bd62