Why is isFullscreenOpaque required in an Android activity?

Started by foreverlearning, October 27, 2015, 07:50:39 PM

Previous topic - Next topic

foreverlearning

I'm new to jPCT-AE. I've imported the HelloWorld-AE project into Android Studio and it gives a warning that the protected method isFullscreenOpaque is never called. I've checked the definition of the superclass, android.app.Activity, and it doesn't declare the method. The method isn't called from anywhere in the sample code.

I used logging to check that the method wasn't being called when running the example on my HTC Desire Z and then removed the method. The sample application seems to run fine without the method so I'm curious whether it is old code that is no longer required or if it is only needed on certain hardware, if it is called by reflection by a particular framework, etc.

EgonOlsen

I really don't know. All I can say is, that old Android versions had and required it to create an opaque display and that jPCT-AE itself doesn't care about it.