Activity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorVie

异常:

Activity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@48031788 that was originally added here

 

原因:

创建了dialog后,又紧接着finish()当前的activity

你可能感兴趣的:(dialog)