fm/fmapp2/src/com/caf/fmradio/FMRadioService.java
public boolean unMute() {
      boolean bCommandSent=true;
      if(!isMuted())
          return bCommandSent;
      if(isCallActive())
         return false;
      Log.d(LOGTAG, "unMute:");
      AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
      if (audioManager != null)
      {
         mMuted = false;
         audioManager.setStreamMute(AudioManager.STREAM_MUSIC,false);
         if (mResumeAfterCall)
         {
             //We are unmuting FM in a voice call. Need to enable FM audio routing.
             startFM();
         }
      }
      return bCommandSent;
   }
/*
   *  UnMute FM Hardware (SoC)
   * @return true if set mute mode api was invoked successfully, false if the api failed.
   */
UnMute FM Hardware (SoC)
@return true if set mute mode api was invoked successfully, false if the api failed.
UnMute FM Hardware ( SoC ) @return true if set mute mode api was invoked successfully false if the api failed .
public boolean unMute() {
      boolean bCommandSent=true;
      if(!isMuted())
          return bCommandSent;
      if(isCallActive())
         return false;
      Log.d(LOGTAG, "unMute:");
      AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
      if (audioManager != null)
      {
         mMuted = false;
         audioManager.setStreamMute(AudioManager.STREAM_MUSIC,false);
         if (mResumeAfterCall)
         {
             startFM();
         }
      }
      return bCommandSent;
   }
public boolean unMute ( ) { boolean bCommandSent = true ; if ( ! isMuted ( ) ) return bCommandSent ; if ( isCallActive ( ) ) return false ; Log . d ( LOGTAG , "unMute:" ) ; AudioManager audioManager = ( AudioManager ) getSystemService ( Context . AUDIO_SERVICE ) ; if ( audioManager != null ) { mMuted = false ; audioManager . setStreamMute ( AudioManager . STREAM_MUSIC , false ) ; if ( mResumeAfterCall ) { startFM ( ) ; } } return bCommandSent ; }
UnMute FM Hardware (SoC)
 @return true if set mute mode api was invoked successfully, false if the api failed.
UnMute FM Hardware ( SoC ) @return true if set mute mode api was invoked successfully false if the api failed .
//We are unmuting FM in a voice call. Need to enable FM audio routing.