summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-08-25 12:56:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-25 12:56:23 -0700
commit41446512cfa6e009187b7cc67fa34a29f82ddccc (patch)
tree019716f2b874f264ef8ffda6ac29d8718ecf0eac /src
parent88f379367f208a75dfe95a081b25c27a54b06a1a (diff)
parent52d996edeb7958d386bbf6655e9acfec3b10fdf2 (diff)
downloadpackages_apps_settings-41446512cfa6e009187b7cc67fa34a29f82ddccc.zip
packages_apps_settings-41446512cfa6e009187b7cc67fa34a29f82ddccc.tar.gz
packages_apps_settings-41446512cfa6e009187b7cc67fa34a29f82ddccc.tar.bz2
am 52d996ed: Merge "Settings: Fix crash seen when setting the radio band"
* commit '52d996edeb7958d386bbf6655e9acfec3b10fdf2': Settings: Fix crash seen when setting the radio band
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/BandMode.java4
1 files changed, 3 insertions, 1 deletions
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 @@ public class BandMode extends Activity {
Window.FEATURE_INDETERMINATE_PROGRESS,
Window.PROGRESS_VISIBILITY_OFF);
- displayBandSelectionResult(ar.exception);
+ if (!isFinishing()) {
+ displayBandSelectionResult(ar.exception);
+ }
break;
}
}