private void powerUpAutoIfNeed(){
  if ((0 == mValueHeadSetPlug)) {
    if (!mIsPowerUping && !mIsPowerUp && sActivityIsOnStop) {
      Log.w(TAG,"Power up for start app then quick click power/home");
      int iCurrentStation=FmRadioStation.getCurrentStation(mContext);
      powerUpAsync(FmRadioUtils.computeFrequency(iCurrentStation));
    }
  }
}

private void powerUpAutoIfNeed ( ) { if ( ( 0 == mValueHeadSetPlug ) ) { if ( ! mIsPowerUping && ! mIsPowerUp && sActivityIsOnStop ) { Log . w ( TAG , "Power up for start app then quick click power/home" ) ; int iCurrentStation = FmRadioStation . getCurrentStation ( mContext ) ; powerUpAsync ( FmRadioUtils . computeFrequency ( iCurrentStation ) ) ; } } }
alps01756692 no sound after click fm app and power key need to power up auto for two cases : case 1 : launcher click fm app , then quickly click power key to lock phone . case 2 : launcher click fm app , then quickly click home key . because power up action is in fmradioactivity . onserviceconnected ( ) , these two cases will not callback onserviceconnected ( ) cause fmradioactivity . onstop ( ) has called unbind ( )
