Initial AOSP Changes

Change-Id: I2526780826281fd6f36d251c0b2b1e1332c46d44
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: I82d82965557041b2f4a6aac096f06aabe9c476bf
msm8226: SELinux to permissive mode

Set SELinux to permissive mode.

Change-Id: I927184c2be4dc65ed7cfad400310963bc29ce547
msm8226: boardconfig: enable earlyprintk feature

Enable printing to the console as early as possible, this
is useful for debugging crashes early at boot.

Change-Id: I73fbb955721e03f089273820ffc3dc12032f451f
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: I5212a2dcf168b135870bac3e1163feecc0f6849d
msm8226: Add shell property to use AwesomePlayer as default.

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

Change-Id: I9f49128d29677d8df270dd29d4762128cbc6f1f4
msm8226: Add FWVGA to media profiles

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

Change-Id: I7d1586f9ee0e879077049b16eff0169c215d7b17
README: This is for Lollipop

Change-Id: Ia0a2ca6aec3fca7e022254156c6e0eee93123d17
Update aplogd to match Lollipop changes

Change-Id: Ia714fac4b116673eeecb0bc3e77dcd1d0fa0efd1
Signed-off-by: Alberto97 <albertop2197@gmail.com>
Fix 09960a44ce9e18bcda2d824ef050e3668a59825e mismerge error

Change-Id: I2f3ce322af3e4cd0f490e60184afed7116c15dfc
Signed-off-by: Alberto97 <albertop2197@gmail.com>
charge_only_mode: FORCE_STATIC_EXECUTABLE

Change-Id: I0fe0fc1c72f2f2b292bc9cb6498c3544d7081f38
Signed-off-by: Alberto97 <albertop2197@gmail.com>
Add ION_HEAP_MASK_COMPATIBILITY_WA to global flags

Needed for some qcom modules (eg. keystore)

Change-Id: I71a6e699d64fe6b00acc82ee2564c2dc1221adcb
Signed-off-by: Alberto97 <albertop2197@gmail.com>
Add Vendor Kernel Headers

This probably is not needed but if there are, why don't add them?

Change-Id: I9e675bb987d8ae4aa2d23ff3fd3257d554ff6894
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Use extended path to avoid errors

Change-Id: Ieca7cdf3e50ee6e26f252da6f0aa0fdd5e284ae0
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Now media_app has been unified with untrusted_app

Change-Id: Ic7936f5ff7c3ab89f0a5e1353c0003bd64e00d04
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Now system is system_server

SELinux: Camera: now system is system_server

Change-Id: Idca6c4b31131044d2f9fa045db3fae9a7e9ce43b
Signed-off-by: Alberto97 <albertop2197@gmail.com>

SELinux: MPDecision: now system is system_server

Change-Id: Iede11f45d3f33a330116bf7183aabdb1923bb449
Signed-off-by: Alberto97 <albertop2197@gmail.com>

SELinux: su: now system is system_server

Change-Id: I9990985fe9200efbf3c4dd5a2fb27c78cb365290
Signed-off-by: Alberto97 <albertop2197@gmail.com>

SELinux: System: now system is system_server

Change-Id: I9ba8ed7ff34c34731fdef84dc63d2045e3f277bd
Signed-off-by: Alberto97 <albertop2197@gmail.com>

SELinux: Wpa_Supplicant: now system is system_server

Change-Id: I06f276b5bf552b7fae5350a741ced577b0336ce4
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Updates and (temp) comment out actual errors

Change-Id: I464b152568b51827c5c3abf383410ab76dc9525b
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Final changes for camera.te

Change-Id: I813aa798bf5bb5e35bd16302bb236011dcc53b80
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Only specific partition access allowed -> modem_block_device

Change-Id: Ib778b8e4e8a7a2ff7ab47f3ae5bb6dd2ccde85c2
Signed-off-by: Alberto97 <albertop2197@gmail.com>
SELinux: Only specific partition access allowed #2

Change-Id: I750c6cf7d6a18ef4e713bd9659456813e06b192b
Signed-off-by: Alberto97 <albertop2197@gmail.com>