remove for now and use aosp's qcom's
qcom: Remove unneeded configs

Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>

Conflicts:
	BoardConfigCommon.mk
qcom: Disable overlays for now

Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
init: Add MSM-specific init extension library

Implement MSM-specific initialization during boot up
at "init" stage.  This allows variable setting based
on runtime query of hardware configuration.

Change-Id: Id14293a9f030d6631c55e84498f503a5bcb818e2
init: set hdmi node permissions during initialization

- Add functions to setPermission and setOwner for file nodes
- Set hdmi node permissions based on fb number.

Change-Id: I57babd7aa8387d35860ad66892dd0c21ca35c135
Remove shell scripts for ril init.

Replace ril init shell scripts with init config

Change-Id: Iba5d64dda592051f5200160d1b876af56b15a7c1
CRs-Fixed: 516002
qcom: enable libinit_msm

Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
qcom: Add CAF audio target back

* AOSP does not work

Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
Add config_locationProviderPackageNames overlay

* withupdated GMS provider name

Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
qcom: allow properly querying of battery capacity

  * override the battery capacity sysfs path
  * requires patch to system/core/healthd/Android.mk

Change-Id: I807745028bafa15f2267a37206045e96d1c40e3b

Conflicts:
	BoardConfigCommon.mk
qcom: Add CAF display target back
Revert "remove for now and use aosp's qcom's"

This reverts commit f9b24b798c986bf542a399d0457092cec348ad6d.
this is causing issues with BT audio.. will have to revisit why later

Revert "Revert "remove for now and use aosp's qcom's""

This reverts commit 7d6fdd478db6a0ef5d62e43dbc0432745bd0c51b.
qcom-common: Update codec xml for kitkat

Change-Id: Ic1668789e7ed0e0fab729670f9099ce9a4b8cef8
qcom-common: use legacy audio

Change-Id: I8524242dea79a5bd9bb5a25d2f3b7653e3ef1c81
Revert "qcom: allow properly querying of battery capacity"

This reverts commit 4802a93e4fe02bd594a9786d0cdb12ef3de0787b.

Change-Id: I5a9df6ffbd16a22e5e70a6194e837000369d2ac0
qcom: properly query battery capacity

  * 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660 and d2/jf kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Conflicts:
	BoardConfigCommon.mk

Change-Id: I807745028bafa15f2267a37206045e96d1c40e3b
Revert "Revert "qcom: allow properly querying of battery capacity""

This reverts commit cc86d21421216314effb8154fc57e2ce1de5530d.

Change-Id: I93c1bfcf8cbd837f4593d33040c6538ab7957935
Revert "qcom: properly query battery capacity"

This reverts commit 62646b719f91346f6c2f3adf780132cdc8377121.

Change-Id: I0be10a0731933c5923dce819469ed001ea65a3c0
Merge "Revert "Revert "qcom: allow properly querying of battery capacity""" into kk4.4