Blank / black screen on Galaxy S3 with Jell bean v4.1.1

On some screens of my game, I use surfaceView. It works fine on all other Android devices and versions, except for one - the Samsung s3 galaxy with jellybean 4.1.1 update

On this device, all screens using surfaceView are blank and nothing appears. But I know that the game works because I hear a sound. On one of the screens, I set the orientation of the activity as a landscape, and there it works fine, while all other screens that have a task orientation become empty when loading

+4
source share
1 answer

You will have to disable full screen mode.

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); 

This is a jelly bean error for certain hardware overlays.

+3
source

All Articles