<commit_before>package ch.rmy.android.http_shortcuts.plugin

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import ch.rmy.android.http_shortcuts.R
import ch.rmy.android.http_shortcuts.activities.MainActivity
import com.twofortyfouram.locale.sdk.client.ui.activity.AbstractFragmentPluginActivity

class PluginEditActivity : AbstractFragmentPluginActivity() {

    private lateinit var bundle: Bundle
    private lateinit var name: String

    public override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        val intent = Intent(this, MainActivity::class.java)
        intent.action = ACTION_SELECT_SHORTCUT_FOR_PLUGIN

        startActivityForResult(intent, REQUEST_SELECT)
    }
<commit_msg>Fixed crash when cancelling Plugin settings<commit_after>package ch.rmy.android.http_shortcuts.plugin

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import ch.rmy.android.http_shortcuts.R
import ch.rmy.android.http_shortcuts.activities.MainActivity
import com.twofortyfouram.locale.sdk.client.ui.activity.AbstractFragmentPluginActivity

class PluginEditActivity : AbstractFragmentPluginActivity() {

    private var bundle: Bundle? = null
    private var name: String? = null

    public override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        val intent = Intent(this, MainActivity::class.java)
        intent.action = ACTION_SELECT_SHORTCUT_FOR_PLUGIN

        startActivityForResult(intent, REQUEST_SELECT)
    }

{'fraction_non_alphanumeric': 0.07360406091370558, 'fraction_numerical': 0.0, 'mean_word_length': 4.884328358208955, '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': '2897662', 'n_tokens_mistral': 459, 'n_tokens_neox': 429, 'n_words': 87}