--- a/mediatek/source/packages/FMRadio/src/com/mediatek/FMRadio/FMRadioService.java
+++ b/mediatek/source/packages/FMRadio/src/com/mediatek/FMRadio/FMRadioService.java
@@ -203,7 +203,11 @@ public class FMRadioService extends Service implements FMRecorder.onRecorderStat
if (action.equals(ACTION_TOFMSERVICE_POWERDOWN)
|| ACTION_FROMATVSERVICE_POWERUP.equals(action)
|| (action.equals(MESSAGE_FROMSOUNDER_TOFM_POWERDOWN)
- && CMDPAUSE.equals(command))) {
+ && CMDPAUSE.equals(command))
+ || (action.equals(Intent.ACTION_AIRPLANE_MODE_CHANGED)&&intent.getBooleanExtra("state", false))
+ ) {
mIsResumeAfterCall = false;
if (FeatureOption.MTK_FM_RECORDING_SUPPORT && mFMRecorder != null) {
飞行模式开启时关闭收音机
最新推荐文章于 2021-06-02 23:07:36 发布