display.capture is not working in Nexus 10

I’m in the middle of converting my app into Android and whenever the app hits where it needs to capture what’s on screen, it works on every android devices except Nexus 10. Does display.capture work on Nexus 10?

Describe the error you are getting.

I don’t get any error messages. That’s the strangest part. As soon as it gets to display.capture line, all graphics on screen just freezes. When button is pressed, it’s supposed to capture what’s on screen and the captured image does little animation along the music. I can hear the music that’s supposed to play after capturing the screen and when the music ends, it takes you back to the capture screen as it would normally. 

Are you debugging on the device?  If so post the log messages.  There might be something there.

I was able to resolve this by not capturing in the middle of busy animation. It seems like it takes little longer to process capturing in Nexus 10. Thanks for trying to help JonPM

Describe the error you are getting.

I don’t get any error messages. That’s the strangest part. As soon as it gets to display.capture line, all graphics on screen just freezes. When button is pressed, it’s supposed to capture what’s on screen and the captured image does little animation along the music. I can hear the music that’s supposed to play after capturing the screen and when the music ends, it takes you back to the capture screen as it would normally. 

Are you debugging on the device?  If so post the log messages.  There might be something there.

I was able to resolve this by not capturing in the middle of busy animation. It seems like it takes little longer to process capturing in Nexus 10. Thanks for trying to help JonPM