tabs -> spaces in the new Yesno java files and remove unused imports.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28422 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-10-31 15:40:43 +00:00
parent 49f1ec8e8a
commit a4f112729b
2 changed files with 14 additions and 16 deletions

View file

@ -23,7 +23,6 @@ package org.rockbox;
import android.app.Activity;
import android.content.Intent;
import android.util.Log;
public class RockboxYesno
{

View file

@ -4,7 +4,6 @@ import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.util.Log;
public class YesnoActivity extends Activity
{
@ -18,20 +17,20 @@ public class YesnoActivity extends Activity
.setMessage(getIntent().getStringExtra("value"))
.setPositiveButton(R.string.Yes, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton) {
setResult(RESULT_OK, getIntent());
finish();
}
})
public void onClick(DialogInterface dialog, int whichButton) {
setResult(RESULT_OK, getIntent());
finish();
}
})
.setNegativeButton(R.string.No, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton)
{
setResult(RESULT_CANCELED, getIntent());
finish();
}
})
.show();
.setNegativeButton(R.string.No, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton)
{
setResult(RESULT_CANCELED, getIntent());
finish();
}
})
.show();
}
}