Push wpa_suplican modules
external/wpa_supplicant_8 we don't need those modules if
WPA_SUPPLICANT_VERSION is not set by the BoardConfig.mk.

ps2:
Get rid of ctrl_interface=/data/misc/wifi/sockets

Change-Id: I093cd61ed60d4d3d1ab84aef2e4269203f37add4
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Remove sepolicy and use device/qcom/sepolicy instead

Change-Id: Ie2334afc6bc6814f81114aab0cbcbe635518e9bd
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Merge https://github.com/XPerience-AOSP-Lollipop/android_device_motorola_msm8226-common into HEAD

Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>

Conflicts:
	sepolicy/wpa_supplicant.te

Change-Id: I7d58351e42834306a2189cad35ebc417ecd3c253
stagefright: use media_codecs_google*.xml files

Change-Id: Ie41e6dbecd87c8344e7f792e8bbf039f3ac58a37
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Fix bluetooth

Change-Id: I524ee1fafd0c444492e310bd16b8f3e5f5cf0c5f
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Fix Audio

Change-Id: Ibe67a539900a0e08c96fcd9a0b76e5e6ae998305
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Use minikin

Change-Id: I9ea5be9252ccf8965d26bb07683af13c6a959725
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Add missing common codecs

Change-Id: I7be33b406e7258ec27c2c271aff97226a5a66796
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
msm8226: Add FWVGA to media profiles

- Adding FWVGA entry in the media_profiles.xml
  to enable camcorder recording support.

Change-Id: I58842effe7b96364c8c156e27c3e7aa1f6bfaabd
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
device: msm8226: remove software codecs for video from media_codecs.xml

Keep only hardware codecs, since software codecs get
added form a separate list (media_codecs_google_video.xml)

Change-Id: I99b30502ba48a7142b725a51ebe5d0af2d24b766
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
media_profiles: Set max HFR resolution supported to WVGA

-Add max HFR supported resolution to WVGA at 120 fps.

Change-Id: I39c4d22a52df44a67a32e707cea15b0405e81fba
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
media_profiles.xml: Update VideoEditor(MovieStudio) capability

--update encoding levels for H264 and MPEG4 for VideoEditor.

--de-grade the video import capability from 1080P to 720P
  When preview-playing the clips in VE, VE will create new decoding
  instance for next clip before finishing the current decoding instance,
  thus when two 1080P or 1080P+720P decoding instances
  co-exist simultaneously, video hardware is overloaded.

Change-Id: Ieffeb7483b5a0e438a400c7d4b6204f0e6c77980
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 media_profiles: Add new entry for HFR in VideoEncoderCap

-Adding new entry for HFR mode, max HFR width & max HFR
 height supported in media_profiles.xml

Change-Id: Idf64b0107ea0eae5675d5f14b70a10e64d324b98
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 msm8226: media: remove deprecated omx quirk from decoders

Remove deprecated quirk "defers-output-buffer-allocation"
as this is no longer supported.

Change-Id: Id33e957500ee77d6cb73b76b9d81cdf0a8cf57ea
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Update Filesystem to new permissions on Lollipop

Change-Id: Ica344ee6ffd1152561c303271ef95fdfef7cd720
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 msm8226: Add shell property to use AwesomePlayer as default.

This overrides the default player (NuPlayer) from being picked.

Change-Id: Iaec9c7df3ee4d09ecf9f9e61e73ce7e589025992
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 audio: fix audio recording failure

- AudioPolicyManager picks up 5.1 channel mask which
  is the last entry of input profile channel masks.
  However, 5.1 surround sound recording is supported
  only when corresponding system property is set.
- Fix this issue by setting AUDIO_CHANNEL_IN_FRONT_BACK
  as the last entry of the input profile which is supported
  by default.

Change-Id: I09af4d024eaa4941ecdee21395b817263c0ae5a6
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 Camera: override camera2.portability.force_api property

Default API version in L AOSP is 2 and that is causing problem for
targets which don't support API2. Added this property for targets
which doesn't support as of now API2.

Change-Id: I20703f7d3d97ae1adcc6a4ff7e4fa89150cffc77
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
alphabetized and add missing dhcpd

Change-Id: Ie83f9cbb92417cfb937b8a5a554971d28be9e32f
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
add Sepolicy from caf

Change-Id: I1015c78639e9efe18703ff4acac4dd480d92e7a1
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>