<commit_before>#include <AndroidLog.h>
#include <Android.h>
#include <unistd.h>

#include "ExampleAndroidHandler.h"

extern "C"
{
	void android_main();
}

void android_main()
{
	LOGV( "[Example]: android_main() called!" );

	// Create the handler
	ExampleAndroidHandler* pHandler = new ExampleAndroidHandler();

	// Set the event handler
	Android::SetEventHandler( pHandler );

	// Run!
	pHandler->Run();

	// Application over
	// Note the handler is destroy by Android
}<commit_msg>Moved delete responsibility of Handler to user<commit_after>#include <AndroidLog.h>
#include <Android.h>
#include <unistd.h>

#include "ExampleAndroidHandler.h"

extern "C"
{
	void android_main();
}

void android_main()
{
	LOGV( "[Example]: android_main() called!" );

	// Create the handler
	ExampleAndroidHandler* pHandler = new ExampleAndroidHandler();

	// Set the event handler
	Android::SetEventHandler( pHandler );

	// Run!
	pHandler->Run();

	// Application over
	delete pHandler;

}
{'fraction_non_alphanumeric': 0.13641025641025642, 'fraction_numerical': 0.0, 'mean_word_length': 4.741176470588235, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '196690', 'n_tokens_mistral': 320, 'n_tokens_neox': 309, 'n_words': 85}