// java.lang.IllegalArgumentException: View=com.android.internal.policy.PhoneWindow$DecorView{f18aea3 V.E...... R......D 0,0-1026,348} not attached to window manager
// at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:424)
// at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:350)
// at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:116)
// at android.app.Dialog.dismissDialog(Dialog.java:362)
// at android.app.Dialog.dismiss(Dialog.java:345)
// at com.zeapo.pwdstore.SshKeyGen$generateTask.onPostExecute(SshKeyGen.java:195)
// at com.zeapo.pwdstore.SshKeyGen$generateTask.onPostExecute(SshKeyGen.java:155)
// at android.os.AsyncTask.finish(AsyncTask.java:651)
// at android.os.AsyncTask.-wrap1(AsyncTask.java)
// at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
// at android.os.Handler.dispatchMessage(Handler.java:102)
// at android.os.Looper.loop(Looper.java:148)
// at android.app.ActivityThread.main(ActivityThread.java:5417)
// at java.lang.reflect.Method.invoke(Native Method)
// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)