Safeguard from monkeys.

Bug: 6315950
Change-Id: I680b3f0a2cee565a39d58e95a8abe5f62cc7b466
This commit is contained in:
Amith Yamasani
2012-04-24 15:09:10 -07:00
parent e2b3370876
commit 8fda756e69

View File

@@ -554,6 +554,7 @@ public class RunningServiceDetails extends Fragment
@Override @Override
public void onRefreshUi(int what) { public void onRefreshUi(int what) {
if (getActivity() == null) return;
switch (what) { switch (what) {
case REFRESH_TIME: case REFRESH_TIME:
updateTimes(); updateTimes();