title: Getting crash report about Window Manager Bad Token Exception without own code?
body: <p>I know that <code>WindowManager's BadTokenException</code> could occur when you try to show a dialog with an activity/context which is no longer available.</p>
  <p>I take about this practice in my code greatly, since I use a lot of <code>async tasks</code>, which could contain <strong>&quot;dead&quot; activites.</strong></p>
  <p>For example when the app loads a screen I show a progress bar, when it finishes loading (<code>onPostExecute</code> of <code>async task</code>) I show a dialog, but <strong>I usually check whether the activity is not dead.</strong></p>
  <p><strong>However</strong>, I do still get this error in crashalytics (see below)</p>
  <p>My problem is that this code <strong>DOES NOT CONTAIN any code of my app.</strong> So, as far as I know it is impossible to track its place.</p>
  <p>What can you suggest?</p>
  <p><a href="https://i.stack.imgur.com/BZ36X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BZ36X.png" alt="enter image description here" /></a></p>