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

横屏的时候,添加文字报错 #15

Open
tulongchao opened this issue Nov 29, 2017 · 3 comments
Open

横屏的时候,添加文字报错 #15

tulongchao opened this issue Nov 29, 2017 · 3 comments

Comments

@tulongchao
Copy link

android.view.WindowLeaked: Activity cn.hzw.graffiti.GraffitiActivity has leaked window DecorView@770551d[] that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:522)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:338)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:328)
at cn.hzw.graffiti.GraffitiActivity.createGraffitiText(GraffitiActivity.java:305)
at cn.hzw.graffiti.GraffitiActivity.access$700(GraffitiActivity.java:45)
at cn.hzw.graffiti.GraffitiActivity$1.onCreateSelectableItem(GraffitiActivity.java:276)
at cn.hzw.graffiti.GraffitiView.onTouchEvent(GraffitiView.java:252)
at android.view.View.dispatchTouchEvent(View.java:10223)

@1993hzw
Copy link
Owner

1993hzw commented Dec 4, 2017

必现吗?重现的路径是怎样的?因为我这里切换到横屏不会报错

@tulongchao
Copy link
Author

你的demo在魅族Max6上必现,我自己写的Dialog没有问题

@1993hzw
Copy link
Owner

1993hzw commented Dec 7, 2017

谢谢反馈,最新v4.3.1已经修复。

@1993hzw 1993hzw reopened this Jan 20, 2018
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

2 participants