Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
java.lang.IllegalStateException: enterPictureInPictureMode: Device doesn't support picture-in-picture mode.
at android.os.Parcel.readException(Parcel.java:1692)
at android.os.Parcel.readException(Parcel.java:1637)
at android.app.ActivityManagerProxy.enterPictureInPictureMode(ActivityManagerNative.java:7104)
at android.app.Activity.enterPictureInPictureMode(Activity.java:1933)
at org.havenapp.main.MonitorActivity.onUserLeaveHint(MonitorActivity.java:316)
at android.app.Activity.performUserLeaving(Activity.java:6840)
at android.app.Instrumentation.callActivityOnUserLeaving(Instrumentation.java:1354)
at android.app.ActivityThread.performUserLeavingActivity(ActivityThread.java:3709)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3685)
at android.app.ActivityThread.-wrap16(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1502)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6165)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
I believe picture in picture mode is allowed for API level 26 and above.
Crashlog:
I believe picture in picture mode is allowed for API level 26 and above.