stanford-oval / almond-android

The Almond Android App
Other
12 stars 8 forks source link

Fix WindowManager$BadTokenException in ui.DialogUtils.showAlertDialog, line 36 #100

Open gcampax opened 4 years ago

gcampax commented 4 years ago

Version: 1.10.4 (1104) | edu.stanford.thingengine.engine

Stacktrace

ui.DialogUtils;showAlertDialog;DialogUtils.java;36
ui.DialogUtils;showFailureDialog;DialogUtils.java;40
ui.OAuthActivity$StartOAuth2Task;onPostExecute;OAuthActivity.java;162
ui.OAuthActivity$StartOAuth2Task;onPostExecute;OAuthActivity.java;142

Reason

android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@f8af4d4 for displayid = 0 is not valid; is your activity running?

Link to HockeyApp