medic/cht-gateway

Fix the leaking window

alxndrsn opened this issue · 0 comments

 03-24 12:31:16.007 29757 29757 E WindowManager: android.view.WindowLeaked: Activity medic.gateway.alert.ExternalLogProcessorActivity has leaked window DecorView@f6ba148[ExternalLog
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.view.ViewRootImpl.<init>(ViewRootImpl.java:574)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:360)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:97)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.Dialog.show(Dialog.java:404)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at medic.gateway.alert.as.a(Unknown Source)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at medic.gateway.alert.as.a(Unknown Source)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at medic.gateway.alert.ExternalLogProcessorActivity.onCreate(Unknown Source)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.Activity.performCreate(Activity.java:6956)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.ActivityThread.-wrap14(ActivityThread.java)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.os.Handler.dispatchMessage(Handler.java:102)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.os.Looper.loop(Looper.java:154)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at android.app.ActivityThread.main(ActivityThread.java:6776)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at java.lang.reflect.Method.invoke(Native Method)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
 03-24 12:31:16.007 29757 29757 E WindowManager:         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)