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

屏幕翻转,Activity重建时闪退 #3

Open
tianxiatianshan opened this issue Jun 29, 2019 · 0 comments
Open

屏幕翻转,Activity重建时闪退 #3

tianxiatianshan opened this issue Jun 29, 2019 · 0 comments

Comments

@tianxiatianshan
Copy link

调查之后发现是因为在onDestroy后调用了 finsh();

public void removeActivity(Activity activity) {
        if (activity != null) {
            activity.finish();
            activityStack.remove(activity);
        }
    }
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

No branches or pull requests

1 participant