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

leaked window in MainActivity #25

Open
anlalalu opened this issue Dec 12, 2019 · 0 comments
Open

leaked window in MainActivity #25

anlalalu opened this issue Dec 12, 2019 · 0 comments

Comments

@anlalalu
Copy link

anlalalu commented Dec 12, 2019

Reproduction Steps
  1. tap 'more options' in main screen
  2. rotate screen
stack trace

E/WindowManager: android.view.WindowLeaked: Activity trikita.talalarmo.MainActivity has leaked window android.widget.PopupWindow$PopupViewContainer{52835424 V.E..... ........ 0,0-424,226} that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:346)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1019)
at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:925)
at android.widget.ListPopupWindow.show(ListPopupWindow.java:625)
at com.android.internal.view.menu.MenuPopupHelper.tryShow(MenuPopupHelper.java:148)
at com.android.internal.view.menu.MenuPopupHelper.show(MenuPopupHelper.java:113)
at android.widget.PopupMenu.show(PopupMenu.java:167)
at trikita.talalarmo.ui.a.d(Unknown Source)
at trikita.talalarmo.ui.a.a(Unknown Source)
at trikita.talalarmo.ui.c.onClick(Unknown Source)
at trikita.anvil.c$g$1.onClick(Unknown Source)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)

Debug info

Android Version = 4.4.4

maybe resolved like this: https://stackoverflow.com/questions/2850573/activity-has-leaked-window-that-was-originally-added

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