question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Freeform multiwindow crash

See original GitHub issue

Crash logs:

FATAL EXCEPTION: main
Process: com.celzero.bravedns, PID: 25305
java.lang.IllegalStateException: exitFreeformMode: You can only go fullscreen from freeform.
	at android.os.Parcel.readException(Parcel.java:2021)
	at android.os.Parcel.readException(Parcel.java:1959)
	at android.app.IActivityManager$Stub$Proxy.exitFreeformMode(IActivityManager.java:9209)
	at android.app.Activity.exitFreeformMode(Activity.java:3237)
	at com.android.internal.widget.DecorCaptionView.maximizeWindow(DecorCaptionView.java:349)
	at com.android.internal.widget.DecorCaptionView.onSingleTapUp(DecorCaptionView.java:409)
	at android.view.GestureDetector.onTouchEvent(GestureDetector.java:640)
	at com.android.internal.widget.DecorCaptionView.onTouchEvent(DecorCaptionView.java:170)
	at android.view.View.dispatchTouchEvent(View.java:11777)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2962)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2643)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2968)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2657)
	at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:448)
	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1829)
	at android.app.Activity.dispatchTouchEvent(Activity.java:3321)
	at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
	at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:410)
	at android.view.View.dispatchPointerEvent(View.java:12016)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4809)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4623)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4161)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4214)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4180)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4307)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4188)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4364)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4161)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4214)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4180)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4188)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4161)
	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6682)
	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6656)
	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6617)
	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6785)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:187)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:325)
	at android.os.Looper.loop(Looper.java:142)
	at android.app.ActivityThread.main(ActivityThread.java:6518)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Device details: Model: Lenovo Tab4 8 plus Android version: 8.1.0 App version: 053g (18) [F-Droid]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
shuvashish76commented, Oct 16, 2021

Sorry, can’t reproduce the same crash, probably 1 time crash. If I remember correctly, it crashed when I opened it from freeform mode to fullscreen mode. (when tried freeform mode 1st time with this app)

1reaction
ignoramouscommented, Oct 15, 2021

Thanks for the bug report. What are steps to reproduce this? Haven’t got a tablet, would try these on an emulator.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NPE when resizing in freeform multi-window mode · Issue #770
Android N's freeform multi-window mode is unfinished and buggy. ... Some normal window moving and resizing can also cause the app to crash....
Read more >
Supporting multi-window | Android Open Source Project
Freeform allows users to dynamically resize the activity panes and have more than two apps visible on their screen. Picture-in-picture (PIP) ...
Read more >
Forget split screen—Android N code hints at a “Freeform ...
Android N has a hidden multi-window mode. ... Even split screen in Android N, which is enabled by default, is a crashtastic experience....
Read more >
Freeform Mode crash - XDA Forums
If I put an app in freeform mode the window is realy small and almost a square and if I try to move...
Read more >
How To Enable Freeform Window Mode On Android - YouTube
How To Enable Freeform Window Mode On Android|without Rooting Freeform Multi Window Mode|2020|.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found