fix mem leak on error handling

Change-Id: I40d8e371c46184aa701fa676246201a9d8f6e27d
Add heap configuration for 1080p phones with 2048m

 * Increase heap start size to 16m to minimize GC with larger bitmaps

Change-Id: I8fbba2e5a2a2cf2d7a6898ca6bae8639d6cf5a19
Abort surface composition if hw surface is invalid

If an invalid display device is detected during surface composition
(e.g., a simulated secondary display is removed), abort the
composition.

Change-Id: Ia6afb2e287882d8ae0614eb25463d3f85b687adf
provide overrides for hwui memory limits for xxhdpi phones

Change-Id: I7aee243673bb824a3197c90e04b77017039a92c3
Signed-off-by: task650 <task650@gmail.com>