<commit_before>package org.blitzortung.android.dialogs;

import android.app.AlertDialog;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.view.KeyEvent;
import android.view.View;
import android.widget.ListView;
import android.widget.TextView;
import org.blitzortung.android.app.R;

public class SettingsDialog extends AlertDialog {

	public SettingsDialog(Context context) {
		super(context);
		
		setTitle(context.getResources().getText(R.string.preferences));
		View dialogView = getLayoutInflater().inflate(R.layout.info_dialog, null);
		setView(dialogView);

        ListView listView = (ListView)findViewById(R.id.settings_list);
        TextView child = new TextView(context);
        child.setText("asdf");
        listView.addView(child);
	}

	@Override
	public boolean onKeyUp(int keyCode, KeyEvent event) {
		if (keyCode == KeyEvent.KEYCODE_MENU) {
			dismiss();
			return true;
		}
		return super.onKeyUp(keyCode, event);
	}
}
<commit_msg>try to enable settings dialog<commit_after>package org.blitzortung.android.dialogs;

import android.app.AlertDialog;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.ListView;
import android.widget.TextView;
import org.blitzortung.android.app.R;

public class SettingsDialog extends AlertDialog {

	public SettingsDialog(Context context) {
		super(context);
	}

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.settings_dialog);

        setTitle(getContext().getResources().getText(R.string.preferences));

        ListView listView = (ListView)findViewById(R.id.settings_list);
        TextView child = new TextView(getContext());
        child.setText("asdf");
        listView.addView(child);
    }

    @Override
	public boolean onKeyUp(int keyCode, KeyEvent event) {
		if (keyCode == KeyEvent.KEYCODE_MENU) {
			dismiss();
			return true;
		}
		return super.onKeyUp(keyCode, event);
	}
}

{'fraction_non_alphanumeric': 0.10921177587844255, 'fraction_numerical': 0.0, 'mean_word_length': 4.472727272727273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2496732', 'n_tokens_mistral': 668, 'n_tokens_neox': 617, 'n_words': 124}