commit | 52d996edeb7958d386bbf6655e9acfec3b10fdf2 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Sat Aug 25 11:55:41 2012 -0700 |
committer | android code review <noreply-gerritcodereview@google.com> | Sat Aug 25 11:55:42 2012 -0700 |
tree | a541daf5b59ceab1894abd3600d54394e9074627 | |
parent | 1183f487c8ea8660415fcd30914844e8dc2de2bb [diff] | |
parent | 26ef2c343609dafd20a0f2569736d089b27284a7 [diff] |
Merge "Settings: Fix crash seen when setting the radio band"
diff --git a/src/com/android/settings/BandMode.java b/src/com/android/settings/BandMode.java index 4c7663e..0a0f77f 100644 --- a/src/com/android/settings/BandMode.java +++ b/src/com/android/settings/BandMode.java
@@ -207,7 +207,9 @@ Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_OFF); - displayBandSelectionResult(ar.exception); + if (!isFinishing()) { + displayBandSelectionResult(ar.exception); + } break; } }