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
Loading
Please register or sign in to comment