3

I'm trying to deal with some timing issues I've seen with a VirtualDisplay as mentioned here and I decided to use a VirtualDisplay.Callback to see if it would potentially fix my timing issues.

Only problem is that my callback never receives onPause when I call virtualDisplay.setSurface(null). The documentation states that it should, but it does not. My handler is not in a tight loop, other methods in the VirtualDisplay.callback are called on VirtualDisplay start up. It just seems like the documentation is incorrect.

Anyone know how to get the callback called when the surface is set to null?

Community
  • 1
  • 1
EncodedNybble
  • 265
  • 2
  • 11

0 Answers0