* commit 'b372b82d4bdb477b3dfd9911caa729e4626bd00b': Fix NPE if user finishes activity quickly.
This commit is contained in:
@@ -50,6 +50,9 @@ public class BrowseErrorActivity extends Activity
|
||||
handler.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (getFragmentManager().isDestroyed()) {
|
||||
return;
|
||||
}
|
||||
getFragmentManager().beginTransaction().remove(mSpinnerFragment).commit();
|
||||
mErrorFragment.setErrorContent(getResources());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user