am 52d996ed: Merge "Settings: Fix crash seen when setting the radio band"

* commit '52d996edeb7958d386bbf6655e9acfec3b10fdf2':
  Settings: Fix crash seen when setting the radio band
This commit is contained in:
Amith Yamasani
2012-08-25 12:56:23 -07:00
committed by Android Git Automerger

View File

@@ -207,7 +207,9 @@ public class BandMode extends Activity {
Window.FEATURE_INDETERMINATE_PROGRESS,
Window.PROGRESS_VISIBILITY_OFF);
displayBandSelectionResult(ar.exception);
if (!isFinishing()) {
displayBandSelectionResult(ar.exception);
}
break;
}
}