E/WindowManager(16551):
E/WindowManager(16551): android.view.WindowLeaked: Activity org.asdtm.goodweather.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{52819720 V.E..... R....... 0,0-729,378} that was originally added here
E/WindowManager(16551): at android.view.ViewRootImpl.(ViewRootImpl.java:346)
E/WindowManager(16551): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
E/WindowManager(16551): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
E/WindowManager(16551): at android.app.Dialog.show(Dialog.java:286)
E/WindowManager(16551): at android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:955)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.showSettingsAlert(MainActivity.java:619)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.detectLocation(MainActivity.java:591)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.requestLocation(MainActivity.java:675)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.onOptionsItemSelected(MainActivity.java:283)
E/WindowManager(16551): at android.app.Activity.onMenuItemSelected(Activity.java:2600)
E/WindowManager(16551): at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:408)
E/WindowManager(16551): at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:195)
E/WindowManager(16551): at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113)
E/WindowManager(16551): at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113)
E/WindowManager(16551): at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
E/WindowManager(16551): at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:206)
E/WindowManager(16551): at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:776)
E/WindowManager(16551): at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822)
E/WindowManager(16551): at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156)
E/WindowManager(16551): at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:969)
E/WindowManager(16551): at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:959)
E/WindowManager(16551): at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:623)
E/WindowManager(16551): at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:154)
E/WindowManager(16551): at android.view.View.performClick(View.java:4438)
E/WindowManager(16551): at android.view.View$PerformClick.run(View.java:18422)
E/WindowManager(16551): at android.os.Handler.handleCallback(Handler.java:733)
E/WindowManager(16551): at android.os.Handler.dispatchMessage(Handler.java:95)
E/WindowManager(16551): at android.os.Looper.loop(Looper.java:136)
E/WindowManager(16551): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/WindowManager(16551): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(16551): at java.lang.reflect.Method.invoke(Method.java:515)
E/WindowManager(16551): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/WindowManager(16551): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/WindowManager(16551): at dalvik.system.NativeStart.main(Native Method)
E/WindowManager(16551): E/WindowManager(16551): android.view.WindowLeaked: Activity org.asdtm.goodweather.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{52819720 V.E..... R....... 0,0-729,378} that was originally added here E/WindowManager(16551): at android.view.ViewRootImpl.(ViewRootImpl.java:346)
E/WindowManager(16551): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
E/WindowManager(16551): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
E/WindowManager(16551): at android.app.Dialog.show(Dialog.java:286)
E/WindowManager(16551): at android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:955)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.showSettingsAlert(MainActivity.java:619)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.detectLocation(MainActivity.java:591)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.requestLocation(MainActivity.java:675)
E/WindowManager(16551): at org.asdtm.goodweather.MainActivity.onOptionsItemSelected(MainActivity.java:283)
E/WindowManager(16551): at android.app.Activity.onMenuItemSelected(Activity.java:2600)
E/WindowManager(16551): at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:408)
E/WindowManager(16551): at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:195)
E/WindowManager(16551): at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113)
E/WindowManager(16551): at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113)
E/WindowManager(16551): at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
E/WindowManager(16551): at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:206)
E/WindowManager(16551): at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:776)
E/WindowManager(16551): at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822)
E/WindowManager(16551): at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156)
E/WindowManager(16551): at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:969)
E/WindowManager(16551): at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:959)
E/WindowManager(16551): at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:623)
E/WindowManager(16551): at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:154)
E/WindowManager(16551): at android.view.View.performClick(View.java:4438)
E/WindowManager(16551): at android.view.View$PerformClick.run(View.java:18422)
E/WindowManager(16551): at android.os.Handler.handleCallback(Handler.java:733)
E/WindowManager(16551): at android.os.Handler.dispatchMessage(Handler.java:95)
E/WindowManager(16551): at android.os.Looper.loop(Looper.java:136)
E/WindowManager(16551): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/WindowManager(16551): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(16551): at java.lang.reflect.Method.invoke(Method.java:515)
E/WindowManager(16551): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/WindowManager(16551): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/WindowManager(16551): at dalvik.system.NativeStart.main(Native Method)