diff --git a/android/phoenix/src/org/retroarch/browser/ReportIME.java b/android/phoenix/src/org/retroarch/browser/ReportIME.java index 02c578c6b6..763e64e55e 100644 --- a/android/phoenix/src/org/retroarch/browser/ReportIME.java +++ b/android/phoenix/src/org/retroarch/browser/ReportIME.java @@ -15,21 +15,19 @@ public final class ReportIME extends Activity { String current_ime = Settings.Secure.getString(getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD); - final Activity ctx = this; AlertDialog.Builder dialog = new AlertDialog.Builder(this) .setMessage(current_ime) .setNeutralButton(R.string.close, new DialogInterface.OnClickListener() { @Override - public void onClick(DialogInterface dialog, - int which) { - ctx.finish(); + public void onClick(DialogInterface dialog, int which) { + finish(); } }).setCancelable(true) .setOnCancelListener(new DialogInterface.OnCancelListener() { @Override public void onCancel(DialogInterface dialog) { - ctx.finish(); + finish(); } });