@Override
 protected void onUserLeaveHint() {
   super.onUserLeaveHint();
   mp.stop();
   mp.release();
   timer.cancel();
   timer = null;
 }
Ejemplo n.º 2
0
  @Override
  protected void onUserLeaveHint() {
    super.onUserLeaveHint();

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