<commit_before>package com.noprestige.kanaquiz;

import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class AboutScreen extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about_screen);

        TextView lblVersionDisplay = (TextView) findViewById(R.id.lblVersionDisplay);
        lblVersionDisplay.setText(BuildConfig.VERSION_NAME);
        /*
        try
        {
            PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
            lblVersionDisplay.setText(pInfo.versionName);
        }
        catch (PackageManager.NameNotFoundException ex)
        {
            lblVersionDisplay.setText("(Version unknown)");
        }*/


    }
<commit_msg>Cleaned up AboutScreen code<commit_after>package com.noprestige.kanaquiz;

import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class AboutScreen extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about_screen);

        TextView lblVersionDisplay = (TextView) findViewById(R.id.lblVersionDisplay);
        lblVersionDisplay.setText(BuildConfig.VERSION_NAME);
    }

{'fraction_non_alphanumeric': 0.08912655971479501, 'fraction_numerical': 0.0017825311942959, 'mean_word_length': 3.895348837209302, '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': '5104801', 'n_tokens_mistral': 463, 'n_tokens_neox': 448, 'n_words': 80}