@Override
 protected void onUserLeaveHint() {
   super.onUserLeaveHint();
   mp.stop();
   mp.release();
   timer.cancel();
   timer = null;
 }
Пример #2
0
  @Override
  protected void onUserLeaveHint() {
    super.onUserLeaveHint();

    if (mUserLeaveHintCallback != null) {
      mUserLeaveHintCallback.onUserLeaveHintCallback();
    }
  }