<commit_before><?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto" >

    <item
        android:id="@+id/menu_send"
        android:enabled="true"
        android:icon="@drawable/ic_menu_send"
        android:title="@string/send"
        app:showAsAction="ifRoom|withText"> <!-- enabled=true, we show a message if logging is not possible -->
    </item>
    <item
        android:id="@+id/menu_templates"
        android:icon="@drawable/ic_menu_add"
        android:title="@string/log_add"
        app:showAsAction="ifRoom|withText">
        <menu /> <!-- filled dynamically -->
    </item>
    <item
        android:id="@+id/menu_image"
        android:icon="@drawable/ic_menu_attachment"
        android:title="@string/log_image_attach"
        android:visible="false"
        app:showAsAction="ifRoom|withText">
    </item>
    <item
        android:id="@+id/menu_smilies"
        android:icon="@drawable/ic_menu_emoticons"
        android:title="@string/log_smilies"
        app:showAsAction="ifRoom|withText">
        <menu /> <!-- filled dynamically -->
    </item>
    <item
        android:id="@+id/menu_repeat_last"
        android:title="@string/log_repeat"
        app:showAsAction="ifRoom|withText">
    </item>
    <item
        android:id="@+id/save"
        android:icon="@drawable/ic_menu_save"
        android:title="@string/log_save"
        android:visible="false"
        app:showAsAction="ifRoom|withText">
    </item>
    <item
        android:id="@+id/clear"
        android:icon="@drawable/ic_menu_delete"
        android:title="@string/log_clear"
        android:visible="false"
        app:showAsAction="ifRoom|withText">
    </item>

</menu><commit_msg>fix #5985: reduce chance of hitting delete log accidentially<commit_after><?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto" >

    <item
        android:id="@+id/menu_send"
        android:enabled="true"
        android:icon="@drawable/ic_menu_send"
        android:title="@string/send"
        app:showAsAction="ifRoom|withText"> <!-- enabled=true, we show a message if logging is not possible -->
    </item>
    <item
        android:id="@+id/menu_templates"
        android:icon="@drawable/ic_menu_add"
        android:title="@string/log_add"
        app:showAsAction="ifRoom|withText">
        <menu /> <!-- filled dynamically -->
    </item>
    <item
        android:id="@+id/menu_image"
        android:icon="@drawable/ic_menu_attachment"
        android:title="@string/log_image_attach"
        android:visible="false"
        app:showAsAction="ifRoom|withText">
    </item>
    <item
        android:id="@+id/menu_smilies"
        android:icon="@drawable/ic_menu_emoticons"
        android:title="@string/log_smilies"
        app:showAsAction="ifRoom|withText">
        <menu /> <!-- filled dynamically -->
    </item>
    <item
        android:id="@+id/save"
        android:icon="@drawable/ic_menu_save"
        android:title="@string/log_save"
        android:visible="false"
        app:showAsAction="ifRoom|withText">
    </item>
    <item
        android:id="@+id/menu_repeat_last"
        android:title="@string/log_repeat"
        app:showAsAction="ifRoom|withText">
    </item>
    <item
        android:id="@+id/clear"
        android:icon="@drawable/ic_menu_delete"
        android:title="@string/log_clear"
        android:visible="false"
        app:showAsAction="ifRoom|withText">
    </item>

</menu>
{'fraction_non_alphanumeric': 0.15843223847640078, 'fraction_numerical': 0.002760143527463428, 'mean_word_length': 2.9009687836383207, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 2, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3620424', 'n_tokens_mistral': 1200, 'n_tokens_neox': 1111, 'n_words': 143}