Have you tried subclassing WebView and calling super.destroy() from onDetachedFromWindow()? 22.06.2012 14:07 пользователь "Pent" <[email protected]> написал:
> If I have a WebView showing a javascript alert dialog, I can't find a > way to leave the current activity (the one with the WebView) without > getting the dreaded > > "activity blah has leaked window > com.android.internal.policy.impl.PhoneWindow$DecorView@41463258 that > was originally added here" > > because the dialog is still showing. > > Anyone any tips ? I tried everything I could think of to get rid of > the dialog first. > > TIA, > > Pent > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

