Some users are reporting, if they use the quick action in the notification bar, they are getting a force close.
I show a quick action in the notification who calls t
Make your dialog fragment object global and call dismissAllowingStateLoss() in onPause() method
@Override
protected void onPause() {
super.onPause();
if (dialogFragment != null) {
dialogFragment.dismissAllowingStateLoss();
}
}
Don't forget to assign value in fragment and call show() on button click or where ever.