未插入耳机情况下,进入收音机点确定完全退出收音机,停止播放

--- a/mediatek/source/packages/FMRadio/src/com/mediatek/FMRadio/FMRadioActivity.java
+++ b/mediatek/source/packages/FMRadio/src/com/mediatek/FMRadio/FMRadioActivity.java
@@ -1711,7 +1711,15 @@ Log.d(TAG,"********* ACTION_AIRPLANE_MODE_CHANGED  ***");
 	                        new DialogInterface.OnClickListener() {
 	                            public void onClick(DialogInterface dialog, int whichButton) {
 //	                              	mbExitPressed = true;
-									finish();
+                                       //finish();
+                                       mIsExitPressed = true;
+                                       mHandler.post(new Runnable() {
+                                           public void run() {
+                                               finish();
+                                           }
+                                       });

 	                            }
 	                        });

你可能感兴趣的:(MtkDev)