Minor whitespace and comment cleanup

git-svn-id: https://zxing.googlecode.com/svn/trunk@1916 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
vikrama 2011-09-17 19:36:00 +00:00
parent ae8dc933dc
commit b87bc99393

View file

@ -29,12 +29,13 @@ import android.net.Uri;
import android.os.Handler;
/**
* Close the parent after a delay.
* Start a browser after a delay to let the user read the informative
* message.
* @author Vikram Aggarwal
*/
final class Killer implements Runnable {
// Three full seconds
// Wait for this long, to enable the user to read the status.
private static final long DELAY_MS = 3 * 1000L;
private final Activity parent;
@ -66,9 +67,7 @@ final class Killer implements Runnable {
public void run() {
handler.post(new Runnable() {
public void run() {
// This will kill the parent, a bad idea.
// parent.finish();
// This will start the browser, a better idea
// This will start the browser.
launchIntent(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com/")));
}
});