diff options
author | Amith Yamasani <yamasani@google.com> | 2012-08-25 12:58:18 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-25 12:58:18 -0700 |
commit | 5e61ba5576d912c42af004510484a77625a96d44 (patch) | |
tree | 7a2026bb954bab514695512a54f6ce48ae05b26a /src/com/android | |
parent | cf033092732809d1ea0734f1f761617a8c4ccd32 (diff) | |
parent | 41446512cfa6e009187b7cc67fa34a29f82ddccc (diff) | |
download | packages_apps_Settings-5e61ba5576d912c42af004510484a77625a96d44.tar.gz packages_apps_Settings-5e61ba5576d912c42af004510484a77625a96d44.tar.bz2 packages_apps_Settings-5e61ba5576d912c42af004510484a77625a96d44.zip |
am 41446512: am 52d996ed: Merge "Settings: Fix crash seen when setting the radio band"
* commit '41446512cfa6e009187b7cc67fa34a29f82ddccc':
Settings: Fix crash seen when setting the radio band
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/settings/BandMode.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/settings/BandMode.java b/src/com/android/settings/BandMode.java index 4c7663ede..0a0f77fdb 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; } } |