Exemplo n.º 1
0
 /*
  * This method handles the final phase of life: destruction
  * This game will "never" come back from this state, so we
  * just need to clear up and head home.
  */
 @Override
 protected void onDestroy() {
   Log.d(LOGGER, "Destroying the activity");
   super.onDestroy();
   game.stop();
   if (billingHelper != null) {
     billingHelper.dispose();
   }
   billingHelper = null;
 }