Don't attempt to configure a dismissed dialog during Android activity
reloading As part of automatic activity reloading following a configuration change, Android invokes Activity#onPrepareDialog() even for dismissed dialogs. Consequently, one can't make the assumption that this method is only invoked by explicit calls to Activity#showDialog() from our code. The actual problem here was the mActiveMessages member being null at such times.
Loading
Please register or sign in to comment