commit | 10e9ab50517330d1972234b4c167d5467d01abbf | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Mar 08 15:02:55 2017 -0800 |
committer | Mathias Agopian <mathias@google.com> | Wed Mar 08 15:02:55 2017 -0800 |
tree | 54d3f8bd51f1d792a3a1b00afad7649911adae9d | |
parent | 56a8f942731ad34a8e85a9a0fb84f1be2ead5541 [diff] |
check that the NativeWindowType is valid in eglCreateWindowSurface This will avoid certain crash (null dereference), and return an error instead. This is useful for app developers as java language apps are not expected to crash when passed bad arguments This doesn’t fix bug 36065206, but was prompted by it. Test: compile / run Bug: 36065206 Change-Id: I90d25730b3dd292d756b4c38b51320a466fa6d48