Fix memory leak in SurfaceFlinger.

Call native_window_api_disconnect to free the memory used by OMX video decoder.
Or, there is memory leak in SurfaceFlinger after a stream playback is stopped.
droid:jni, extend input device handling
droid: add controller/gamepad handling
FIX: Enable Hat handling in Application::ProcessJoystick
FIX: [droid] proper joystick Hat support
PR: fixup PR comments
CurlFile: add implementation of base virtual function GetContent()
Merge pull request #3533 from Karlson2k/curlfile_update_05

CurlFile: add implementation of base virtual function GetContent()
Merge pull request #3428 from oceanheart99/issue/3428

Memory leak when playing stream with xbmc in android platform
FIX: [droid] wrong path in gdb.setup
Merge pull request #3547 from koying/quickpr

FIX: [droid] wrong path in gdb.setup
FIX: [mediacodec] fix surface rendering white list detection
FIX: [droid] joystick debugging spam
Merge pull request #3548 from koying/fixdroidamcwhitelist

FIX: [mediacodec] fix surface rendering white list detection
fix broken linux build
fixed, SM_TEXTURE_RGBA_OES requries GL_OES_EGL_image_external, check for presence
Merge pull request #3536 from davilla/joystick

Android Joystick Handling