tenderloin: minor cleanups, set legacy alsa flag

Change-Id: Ic98f7da22321876f136b98487ae6841c6b7cf10c
ts_srv:  fixed up screen shutting off

there was an issue with the way Char was being converted to int.
 This was causing the screen to stay on while in sleep causing
a decent power drain.

Change-Id: I350e12cb04b482b1d9dbb9977f985163486e556a
update audio policy for LP
media: sync codec list to upstream

Change-Id: I7ded32fb05a012db95e789af8dfb7177511fbd13
enable use of FFMPEG codecs for extended formats
remove mpeg4/h263/h264 ffmpeg entries
tenderloin: add libstagefright_soft_ffmpegvdec

Change-Id: Ia842b0614d274ff2c044f5c5930b5573c3704e4b
tenderloin: use 3 framebuffers

Change-Id: Ie31b5cd022a3bfcf5c6d9b0d2a23f78c13669f1d
set debug.egl.recordable.rgba8888

 * fixes "no suitable EGLConfig found"
 * some games depend on this

see https://android.googlesource.com/device/lge/mako/+/4cac3659d68161514f11a18b5ff953f6165ddcff%5E%21

Change-Id: Ieb4b8ee0fe7b24cd9917d2cce5eff62b422166de
tenderloin:  add in ro.config.low_ram and a little clean up

Change-Id: I0ba6cb1ad1dc7e2d3583582abca7e7bd0375f1dc