More renaming

This commit is contained in:
MrLetsplay 2023-10-01 19:44:11 +02:00
parent e2e7e349bb
commit c225281d90
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
5 changed files with 4 additions and 30 deletions

View File

@ -1,26 +0,0 @@
package com.cringe_studios.code_guard;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.cringe_studios.cringe_authenticator", appContext.getPackageName());
}
}

View File

@ -28,7 +28,7 @@ public class BackupUtil {
private static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss", Locale.ENGLISH); private static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss", Locale.ENGLISH);
public static String getBackupName() { public static String getBackupName() {
return "backup_" + FORMAT.format(new Date()); // TODO: indicate Cringe Authenticator return "code_guard_backup_" + FORMAT.format(new Date());
} }
public static void saveBackup(Context context, Uri backupFile, SecretKey key, CryptoParameters parameters) throws BackupException, CryptoException { public static void saveBackup(Context context, Uri backupFile, SecretKey key, CryptoParameters parameters) throws BackupException, CryptoException {

View File

@ -10,7 +10,7 @@
android:id="@+id/unlock_title" android:id="@+id/unlock_title"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/unlock_cringe_authenticator" android:text="@string/unlock_authenticator"
android:textSize="21sp" android:textSize="21sp"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/unlock_password_text" app:layout_constraintBottom_toTopOf="@+id/unlock_password_text"

View File

@ -71,7 +71,7 @@
<string name="password">Passwort</string> <string name="password">Passwort</string>
<string name="set_password">Passwort setzen</string> <string name="set_password">Passwort setzen</string>
<string name="confirm_password">Passwort bestätigen</string> <string name="confirm_password">Passwort bestätigen</string>
<string name="unlock_cringe_authenticator">Authenticator entsperren</string> <string name="unlock_authenticator">Authenticator entsperren</string>
<string name="unlock">Entsperren</string> <string name="unlock">Entsperren</string>
<string name="unlock_using_biometrics">Mit Biometrie ensperren</string> <string name="unlock_using_biometrics">Mit Biometrie ensperren</string>
<string name="name">Name</string> <string name="name">Name</string>

View File

@ -55,7 +55,7 @@
<string name="password">Password</string> <string name="password">Password</string>
<string name="set_password">Set Password</string> <string name="set_password">Set Password</string>
<string name="confirm_password">Confirm Password</string> <string name="confirm_password">Confirm Password</string>
<string name="unlock_cringe_authenticator">Unlock Authenticator</string> <string name="unlock_authenticator">Unlock Authenticator</string>
<string name="unlock">Unlock</string> <string name="unlock">Unlock</string>
<string name="unlock_using_biometrics">Unlock using biometrics</string> <string name="unlock_using_biometrics">Unlock using biometrics</string>
<string name="name">Name</string> <string name="name">Name</string>