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

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