Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Dec 8, 2018
1 parent 3db4954 commit 164dcef
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.ahmaddinkins.cs125thegame;

import android.app.Activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.os.Handler;
Expand Down Expand Up @@ -89,6 +91,9 @@ public void onClick(View v) {
handler.postDelayed(new Runnable() {
@Override
public void run() {
Intent result = new Intent();
result.putExtra("damage", damage);
setResult(Activity.RESULT_OK, result);
finish();
}
}, 250);
Expand Down

0 comments on commit 164dcef

Please sign in to comment.