OSDN Git Service

Settings: Fix crash seen when setting the radio band
authorJeevaka Badrappan <jeevaka.badrappan@intel.com>
Fri, 1 Jun 2012 07:57:31 +0000 (10:57 +0300)
committerXiaokang Qin <xiaokang.qin@intel.com>
Fri, 17 Aug 2012 06:21:08 +0000 (14:21 +0800)
commit26ef2c343609dafd20a0f2569736d089b27284a7
tree7f17fba8d603909c4cfaf97c522e08b689214953
parent5dbc1f6405c909d6b6ba2da03e5b5fe8b417d1ba
Settings: Fix crash seen when setting the radio band

When the user presses back before the set radio band
result dialog is shown, crash is seen as the activity
associated with this is already finishing.

Check the activity status before displaying the
set radio band result alert dialog.

Change-Id: I34104773f5cce0be6d0021823b2889aad0fdb945
Author: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 39317
src/com/android/settings/BandMode.java