aries-common: 4.3 bring up

TODO: Implement SELinux

Change-Id: Iad1a601063eeae4524ddeddf4845e298bbb4f3fb
aries-common: fix fstab.aries partition

This is the original value specified in vold.fstab

Change-Id: I7dcd0c8d3177a9bb8b54e2d061bb68c74f2efd97
libcamera: touch-to-focus fixes

- Do not send command to camera unless preview is started
  (fix 4.3 AOSP camera crash)
- Send touch AF command regardless of previous state
  (required to actually trigger touch AF at the new area)

Change-Id: I51a8f80ce1ec38f1052e4660f708be8649478a88
libcamera: properly advertise lack of scene mode

Otherwise Focal with errorneously show all available scene modes

Change-Id: Id2987c6f3a01a331485bb76d879a6178b1c22bf6
Remove make_ext4fs from PRODUCT_PACKAGES

This has been in the core package set since 4.2.

Change-Id: I512e3b042e2c98115098a61f025b9022b58095d3
Disable GL scissor optimization for aries (SGX540)

http://source.android.com/devices/tuning.html

Change-Id: I8eb0bd6f868a6b0532c1c833e43a4b30031f7261
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: remove unused ARCH_ARM_HAVE_TLS_REGISTER

The variable is no longer used by the Android build system.

Change-Id: I536e6ce2e45b25fccaed50408922a2851a30563f
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
Include specialized copy of libskia for playback of Saved Webpages.

cherry-picked from 6eae0292a8aa7a2374f35ebb8a9de801c9421761 of tuna

This CL gives prime devices the ability to display saved pages in the
Android browser that were recorded with a previous version of Skia.

Change-Id: I81241cda20e3bea3edcc60d92f324575491698eb
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: update media_codecs.xml for 4.3

* Add GSM decoder explicity
* Add VPX encoder (now required for 4.3 compatibility)

Change-Id: I7e6e79254313edb9159a495749b8200b13c8af42
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: set ro.bq.gpu_to_cpu_unsupported

This tells SurfaceFlinger to always use the CPU
pipeline for taking screenshot. We don't actually need
this since our surface type isn't supported by Bitmap
and will defaults to CPU anyway, but setting it doesn't
hurt.

Change-Id: I35c15dff969a89990c0f4ef6512cb79ab3c71362
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: update recovery fstab

Change-Id: Ia3f92d0dc25fa2bb68814fda7e4f12edc8c863b6
aries-common: SELinux

- Added basic sepolicy to allow device to boot (there's a bug that
  crashes the device without it)
- Added other sepolicies to fix denial and tighten processes
- Uses bind mount instead of symlink because file_contexts uses real
  path

Change-Id: I16628a9d4b8e1f66ccfc84df4adeee53eaf79bf9
aries-common: repartition /system to 600M

The current 400M partition is too small now.

Change-Id: Ie38c41fd2c0d6d5518c7e809d4af3d27af5c1193
aries-common: Update BT network interface name for Android 4.3

Change-Id: I52d70f4aa722106527858a50478166b57f4c7ce5
Signed-off-by: Pawit Pornkitprasan <p.pawit@gmail.com>
aries-common: initial support for CMHW

Moves color tuning and vibration to CMHW

Change-Id: I1ab12cc3205e2481f24215cc0bb91d21dd95633f
Merge branch 'cm-10.2' into martincz