Skip to content
Advertisement

Tag: picture-in-picture

java.lang.IllegalStateException: enterPictureInPictureMode: Current activity does not support picture-in-picture

Error message My setting value and code. AndroidManifest.xml MapActivity.java APP is crashing after calling enterPictureInPictureMode(params); It works in an activity with simple buttons, but not work in the MapActivity, which is composed with complicated elements. Answer Finally, I found out the problem! Another activity extends this MapActivity. I declared PIP configuration for this activity in the AndroidManifest, it can work.

Advertisement