Clean up files, Disable backups (except D2D)

This commit is contained in:
MrLetsplay 2023-07-28 18:07:17 +02:00
parent 1049b4e48a
commit 4935ad74d6
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
7 changed files with 13 additions and 97 deletions

View File

@ -6,7 +6,7 @@
<uses-permission android:name="android.permission.CAMERA" />
<application
android:allowBackup="true"
android:allowBackup="false"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"

View File

@ -64,6 +64,7 @@ public class DialogUtil {
binding.inputDigits.setEnabled(!view);
binding.inputName.setEnabled(!view);
binding.inputIssuer.setEnabled(!view);
binding.inputSecret.setEnabled(!view);
binding.inputPeriod.setEnabled(!view);
binding.inputChecksum.setEnabled(!view);

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nav_graph"
app:startDestination="@id/FirstFragment">
<fragment
android:id="@+id/FirstFragment"
android:name="com.cringe_studios.cringe_authenticator.fragment.HomeFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_home">
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.cringe_studios.cringe_authenticator.fragment.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">
</fragment>
<fragment
android:id="@+id/SettingsFragment"
android:name="com.cringe_studios.cringe_authenticator.fragment.SettingsFragment"
android:label="Settings"
tools:layout="@layout/fragment_settings">
</fragment>
<fragment
android:id="@+id/DynamicFragment"
android:name="com.cringe_studios.cringe_authenticator.fragment.GroupFragment"
android:label="Dynamic"
tools:layout="@layout/fragment_group">
</fragment>
</navigation>

View File

@ -3,8 +3,6 @@
<string name="app_name">Cringe Authenticator</string>
<string name="action_settings">Einstellungen</string>
<string name="action_about">Über</string>
<string name="next">Weiter</string>
<string name="previous">Zurück</string>
<string name="edit">Bearbeiten</string>
<string name="choose_language">Sprachauswahl</string>
<string name="cancel">Abbrechen</string>
@ -23,16 +21,16 @@
<string name="qr_scanner_failed">Scannen fehlgeschlagen: %s</string>
<string name="intro_video_failed">Abspielen des Videos fehlgeschlagen</string>
<string name="edit_otp_title">OTP bearbeiten</string>
<string name="group_delete_title">Löschen?</string>
<string name="group_delete_message">Gruppe löschen?</string>
<string name="group_delete_title">Gruppe löschen</string>
<string name="group_delete_message">Willst du die Gruppe löschen\n\nHinweis: Dadurch werden alle OTPs in der Gruppe gelöscht!</string>
<string name="hotp_generated_new_code">Neuen Code generiert</string>
<string name="uri_handler_failed_title">Hinzufügen des Codes fehlgeschlagen</string>
<string name="code_input_title">Code eingeben</string>
<string name="failed_title">Aktion fehlgeschlagen</string>
<string name="input_code_invalid_number">Ungültige Zahl</string>
<string name="back">Zurück</string>
<string name="otp_delete_title">Löschen?</string>
<string name="otp_delete_message">OTP löschen?</string>
<string name="otp_delete_title">OTP löschen</string>
<string name="otp_delete_message">Willst du das OTP löschen?</string>
<string name="edit_group_title">Gruppe bearbeiten</string>
<string name="settings_enable_intro_video">Intro-Video zeigen</string>
<string name="settings_biometric_lock">Biometrische Authentifizierung aktivieren</string>

View File

@ -2,48 +2,6 @@
<string name="app_name">Cringe Authenticator</string>
<string name="action_settings">Settings</string>
<string name="action_about">About</string>
<!-- Strings used for fragments for navigation -->
<string name="first_fragment_label" translatable="false">First Fragment</string>
<string name="second_fragment_label" translatable="false">Second Fragment</string>
<string name="next">Next</string>
<string name="previous">Previous</string>
<string name="lorem_ipsum" translatable="false">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam in scelerisque sem. Mauris
volutpat, dolor id interdum ullamcorper, risus dolor egestas lectus, sit amet mattis purus
dui nec risus. Maecenas non sodales nisi, vel dictum dolor. Class aptent taciti sociosqu ad
litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse blandit eleifend
diam, vel rutrum tellus vulputate quis. Aliquam eget libero aliquet, imperdiet nisl a,
ornare ex. Sed rhoncus est ut libero porta lobortis. Fusce in dictum tellus.\n\n
Suspendisse interdum ornare ante. Aliquam nec cursus lorem. Morbi id magna felis. Vivamus
egestas, est a condimentum egestas, turpis nisl iaculis ipsum, in dictum tellus dolor sed
neque. Morbi tellus erat, dapibus ut sem a, iaculis tincidunt dui. Interdum et malesuada
fames ac ante ipsum primis in faucibus. Curabitur et eros porttitor, ultricies urna vitae,
molestie nibh. Phasellus at commodo eros, non aliquet metus. Sed maximus nisl nec dolor
bibendum, vel congue leo egestas.\n\n
Sed interdum tortor nibh, in sagittis risus mollis quis. Curabitur mi odio, condimentum sit
amet auctor at, mollis non turpis. Nullam pretium libero vestibulum, finibus orci vel,
molestie quam. Fusce blandit tincidunt nulla, quis sollicitudin libero facilisis et. Integer
interdum nunc ligula, et fermentum metus hendrerit id. Vestibulum lectus felis, dictum at
lacinia sit amet, tristique id quam. Cras eu consequat dui. Suspendisse sodales nunc ligula,
in lobortis sem porta sed. Integer id ultrices magna, in luctus elit. Sed a pellentesque
est.\n\n
Aenean nunc velit, lacinia sed dolor sed, ultrices viverra nulla. Etiam a venenatis nibh.
Morbi laoreet, tortor sed facilisis varius, nibh orci rhoncus nulla, id elementum leo dui
non lorem. Nam mollis ipsum quis auctor varius. Quisque elementum eu libero sed commodo. In
eros nisl, imperdiet vel imperdiet et, scelerisque a mauris. Pellentesque varius ex nunc,
quis imperdiet eros placerat ac. Duis finibus orci et est auctor tincidunt. Sed non viverra
ipsum. Nunc quis augue egestas, cursus lorem at, molestie sem. Morbi a consectetur ipsum, a
placerat diam. Etiam vulputate dignissim convallis. Integer faucibus mauris sit amet finibus
convallis.\n\n
Phasellus in aliquet mi. Pellentesque habitant morbi tristique senectus et netus et
malesuada fames ac turpis egestas. In volutpat arcu ut felis sagittis, in finibus massa
gravida. Pellentesque id tellus orci. Integer dictum, lorem sed efficitur ullamcorper,
libero justo consectetur ipsum, in mollis nisl ex sed nisl. Donec maximus ullamcorper
sodales. Praesent bibendum rhoncus tellus nec feugiat. In a ornare nulla. Donec rhoncus
libero vel nunc consequat, quis tincidunt nisl eleifend. Cras bibendum enim a justo luctus
vestibulum. Fusce dictum libero quis erat maximus, vitae volutpat diam dignissim.
</string>
<string name="edit">Edit</string>
<string name="choose_language">Choose Language</string>
<string name="cancel">Cancel</string>
@ -63,16 +21,16 @@
<string name="qr_scanner_failed">Scan failed: %s</string>
<string name="intro_video_failed">Failed to play video</string>
<string name="edit_otp_title">Edit OTP</string>
<string name="group_delete_title">Delete?</string>
<string name="group_delete_message">Delete this?</string>
<string name="group_delete_title">Delete Group</string>
<string name="group_delete_message">Do you want to delete the group?\n\nNote: This will delete all of the OTPs in the group!</string>
<string name="hotp_generated_new_code">Generated new code</string>
<string name="uri_handler_failed_title">Failed to add code</string>
<string name="code_input_title">Input Code</string>
<string name="failed_title">Action failed</string>
<string name="input_code_invalid_number">Invalid number entered</string>
<string name="back">Back</string>
<string name="otp_delete_title">Delete?</string>
<string name="otp_delete_message">Delete this?</string>
<string name="otp_delete_title">Delete OTP</string>
<string name="otp_delete_message">Do you want to delete the OTP?</string>
<string name="edit_group_title">Edit Group</string>
<string name="settings_enable_intro_video">Enable intro video</string>
<string name="settings_biometric_lock">Require biometric unlock</string>

View File

@ -6,8 +6,5 @@
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
<exclude domain="sharedpref" path="." />
</full-backup-content>

View File

@ -5,15 +5,9 @@
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
<exclude domain="sharedpref" path="." />
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
<include domain="sharedpref" path="." />
</device-transfer>
-->
</data-extraction-rules>