commit | 9a49799c782b632533316ef7f9d6e446c31eb512 | [log] [tgz] |
---|---|---|
author | Michal Szynkaruk <michal.szynkaruk@sonymobile.com> | Wed Jun 10 18:27:04 2015 +0200 |
committer | Zoran Jovanovic <zoran.jovanovic@sonymobile.com> | Wed Dec 16 16:15:17 2015 +0100 |
tree | a1716e95a2a71e068f6a06e9f9c0415d688685e1 | |
parent | 4920a49117cc2bf7df4093a00bbf108c675a25ed [diff] |
NullPointerException on activity in onDismiss Problem: getActivity() returns NULL after the dialog fragment has been removed. Solution: Add a null check for the activity to which the dialogfragment is attached. Change-Id: I32c8784b15b6f179d13071b508d6cd9d2013ebc3