ToDoMe/ToDoMe — Issue #8: Leaked Window
Author: cbaines
Created: 2011-10-24 09:46:57+00:00
State: open
Labels: bugs

I get this error when I create a new task, save it and then click the back button on the emulator. Can someone look at it?
```
10-24 10:10:13.395: E/WindowManager(405): Activity com.todome.ToDoMeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44f54078 that was originally added here
10-24 10:10:13.395: E/WindowManager(405): android.view.WindowLeaked: Activity com.todome.ToDoMeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44f54078 that was originally added here
10-24 10:10:13.395: E/WindowManager(405):	at android.view.ViewRoot.(ViewRoot.java:247)
10-24 10:10:13.395: E/WindowManager(405):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
10-24 10:10:13.395: E/WindowManager(405):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
10-24 10:10:13.395: E/WindowManager(405):	at android.view.Window$LocalWindowManager.addView(Window.java:424)
10-24 10:10:13.395: E/WindowManager(405):	at android.app.Dialog.show(Dialog.java:241)
10-24 10:10:13.395: E/WindowManager(405):	at com.todome.TaskActivity.showTaskDialog(TaskActivity.java:183)
10-24 10:10:13.395: E/WindowManager(405):	at com.todome.TaskActivity.access$4(TaskActivity.java:154)
10-24 10:10:13.395: E/WindowManager(405):	at com.todome.TaskActivity$5.onItemClick(TaskActivity.java:127)
10-24 10:10:13.395: E/WindowManager(405):	at android.widget.AdapterView.performItemClick(AdapterView.java:284)
10-24 10:10:13.395: E/WindowManager(405):	at android.widget.ListView.performItemClick(ListView.java:3382)
10-24 10:10:13.395: E/WindowManager(405):	at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
10-24 10:10:13.395: E/WindowManager(405):	at android.os.Handler.handleCallback(Handler.java:587)
10-24 10:10:13.395: E/WindowManager(405):	at android.os.Handler.dispatchMessage(Handler.java:92)
10-24 10:10:13.395: E/WindowManager(405):	at android.os.Looper.loop(Looper.java:123)
10-24 10:10:13.395: E/WindowManager(405):	at android.app.ActivityThread.main(ActivityThread.java:4627)
10-24 10:10:13.395: E/WindowManager(405):	at java.lang.reflect.Method.invokeNative(Native Method)
10-24 10:10:13.395: E/WindowManager(405):	at java.lang.reflect.Method.invoke(Method.java:521)
10-24 10:10:13.395: E/WindowManager(405):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
10-24 10:10:13.395: E/WindowManager(405):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
10-24 10:10:13.395: E/WindowManager(405):	at dalvik.system.NativeStart.main(Native Method)
```