Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure UI Thread is not finishing #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aadisriram
Copy link

Sometimes when you try to spawn a dialog box from the background thread and the foreground thread is recycling the dialog creation will fail! We need to add this check to make sure we avoid errors like this

Unable to resume activity {com.aware/com.aware.ui.ESM_Queue}: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@6f047c9 is not valid; is your activity running?

Sometimes when you try to spawn a dialog box from the background thread and the foreground thread is recycling the dialog creation will fail! We need to add this check to make sure we avoid errors like this

Unable to resume activity {com.aware/com.aware.ui.ESM_Queue}: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@6f047c9 is not valid; is your activity running?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant