d2: move overlays from apps/Phone to services/Telephony

Change-Id: I71c68094e339e6fb06f2e6055385efda4bd11dcb
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
d2: moving camera wrapper to msm8960-common

Change-Id: Id0aa3025599f9163dcb15da6c1555f9444216d56
update for camera hal blob

Change-Id: I2b1881ef1156a54847c998eee764555c8c990898
SlimKat bootlogo is here!

Change-Id: Id9cb8bbfc50b123d187619e6b8b48613bc9749cf
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
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
Remove Camera2 from overlays

Change-Id: I3da700853964c6d41ad2c205450ca049a4986f14
Merge "Remove Camera2 from overlays" into kk4.4
Update Toolchain

Change-Id: Idae9868c59939a5b34c5b36102d663dc71543346
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
Rename camera blob

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

Change-Id: I5b07c46b75890e929da57fb16e293b9a95b3e177
Switch back to Camera2 Overlays

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

Change-Id: I801d45866b64f5860c1b50479a2ef00c55a8699b
d2: Enable QCOM flags

Change-Id: Ifee4e4342c4a18e30c1b65579a02140e80c325ba