<commit_before>package com.radicalninja.pizzazz;

import android.app.Application;
import android.util.Log;

import com.google.android.things.contrib.driver.ssd1306.Ssd1306;
import com.radicalninja.pizzazz.display.Oled1306Screen;
import com.radicalninja.pizzazz.ui.AbstractWindow;
import com.radicalninja.pizzazz.ui.MenuWindow;
import com.radicalninja.pizzazz.ui.WindowManager;
import com.radicalninja.pizzazz.util.Fonts;

import java.io.IOException;

public class Pizzazz extends Application {

    private static final String TAG = Pizzazz.class.getSimpleName();

    private static Pizzazz instance;

    public static Pizzazz getInstance() {
        return instance;
    }

    public Pizzazz() {
        instance = this;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Fonts.init(getAssets());<commit_msg>Clearing SenseHat LED matrix on app launch<commit_after>package com.radicalninja.pizzazz;

import android.app.Application;
import android.graphics.Color;
import android.util.Log;

import com.google.android.things.contrib.driver.sensehat.SenseHat;
import com.google.android.things.contrib.driver.ssd1306.Ssd1306;
import com.radicalninja.pizzazz.display.Oled1306Screen;
import com.radicalninja.pizzazz.ui.AbstractWindow;
import com.radicalninja.pizzazz.ui.MenuWindow;
import com.radicalninja.pizzazz.ui.WindowManager;
import com.radicalninja.pizzazz.util.Fonts;

import java.io.IOException;

public class Pizzazz extends Application {

    private static final String TAG = Pizzazz.class.getSimpleName();

    private static Pizzazz instance;

    public static Pizzazz getInstance() {
        return instance;
    }

    public Pizzazz() {
        instance = this;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Fonts.init(getAssets());
        try {
            SenseHat.openDisplay().draw(Color.BLACK);
        } catch (IOException e) {
            Log.e(TAG, "Error opening the SenseHat LED matrix.", e);
        }
{'fraction_non_alphanumeric': 0.0980980980980981, 'fraction_numerical': 0.012012012012012012, 'mean_word_length': 3.6488372093023256, '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': '2648486', 'n_tokens_mistral': 670, 'n_tokens_neox': 624, 'n_words': 124}