androidsurface: Release the ANativeWindow before closing the dlopened library
commit9f5c45fa0e266b202dd431a134774ac7e2cf7251
authorMartin Storsjö <martin@martin.st>
Mon, 29 Jul 2013 14:05:36 +0000 (29 17:05 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 29 Jul 2013 14:11:10 +0000 (29 17:11 +0300)
treed98d414ccd2bf23e0b4560777f77f2ff6e47be34
parent7c52aacbe94dd1f1b5958a2e000d39e784258ebc
androidsurface: Release the ANativeWindow before closing the dlopened library

This fixes ANativeWindow usage on 2.3 and 3.x. Therefore, revert
back to preferring ANativeWindow over the private symbols.

Signed-off-by: Martin Storsjö <martin@martin.st>
modules/video_output/androidsurface.c