frameworks/base/opengl: Add NULL check

Check for the validity of the attrs_list in eglChooseConfig before using
it. This avoids a crash during tests in which the attributes are NULL.

Change-Id: I1c0a46b505ae919e2454cfdce32f8dfc21ead247
1 file changed