Fix AOSP boot animation black screen issue.
Bug: 197740038 Test: Force stock android animation on a pixel phone in BootAnimation.cpp. (Remember to disable dynamic coloring.) Check stock android animation. Change-Id: I3c3979c344a351ec261bb12127cff971d6050367
This commit is contained in:
parent
522d5e32de
commit
bfd2d3ce72
@ -789,6 +789,8 @@ bool BootAnimation::android() {
|
||||
// clear screen
|
||||
glDisable(GL_DITHER);
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
glUseProgram(mImageShader);
|
||||
|
||||
glClearColor(0,0,0,1);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
eglSwapBuffers(mDisplay, mSurface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user