Rename everything
This commit is contained in:
parent
35c79cc7c3
commit
e2e7e349bb
@ -1 +1 @@
|
||||
Cringe Authenticator
|
||||
Code Guard
|
@ -4,11 +4,11 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.cringe_studios.cringe_authenticator'
|
||||
namespace 'com.cringe_studios.code_guard'
|
||||
compileSdk 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.cringe_studios.cringe_authenticator"
|
||||
applicationId "com.cringe_studios.code_guard"
|
||||
minSdk 21
|
||||
targetSdk 34
|
||||
versionCode 1
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator;
|
||||
package com.cringe_studios.code_guard;
|
||||
|
||||
import android.content.Context;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator;
|
||||
package com.cringe_studios.code_guard;
|
||||
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
@ -8,9 +8,9 @@ import androidx.activity.result.ActivityResultLauncher;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.unlock.UnlockContract;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.ThemeUtil;
|
||||
import com.cringe_studios.code_guard.unlock.UnlockContract;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.util.ThemeUtil;
|
||||
|
||||
import java.util.Locale;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator;
|
||||
package com.cringe_studios.code_guard;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.media.MediaPlayer;
|
||||
@ -7,9 +7,9 @@ import android.os.Bundle;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.databinding.ActivityIntroBinding;
|
||||
import com.cringe_studios.cringe_authenticator.unlock.UnlockActivity;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.databinding.ActivityIntroBinding;
|
||||
import com.cringe_studios.code_guard.unlock.UnlockActivity;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
|
||||
public class IntroActivity extends BaseActivity {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator;
|
||||
package com.cringe_studios.code_guard;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
@ -18,26 +18,26 @@ import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.core.util.Consumer;
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.databinding.ActivityMainBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogInputCodeChoiceBinding;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.AboutFragment;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.EditOTPFragment;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.GroupFragment;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.HomeFragment;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.NamedFragment;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.SettingsFragment;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconPackException;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconPackMetadata;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconUtil;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.scanner.QRScanner;
|
||||
import com.cringe_studios.cringe_authenticator.scanner.QRScannerContract;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.NavigationUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.cringe_authenticator.util.ThemeUtil;
|
||||
import com.cringe_studios.code_guard.databinding.ActivityMainBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogInputCodeChoiceBinding;
|
||||
import com.cringe_studios.code_guard.fragment.AboutFragment;
|
||||
import com.cringe_studios.code_guard.fragment.EditOTPFragment;
|
||||
import com.cringe_studios.code_guard.fragment.GroupFragment;
|
||||
import com.cringe_studios.code_guard.fragment.HomeFragment;
|
||||
import com.cringe_studios.code_guard.fragment.NamedFragment;
|
||||
import com.cringe_studios.code_guard.fragment.SettingsFragment;
|
||||
import com.cringe_studios.code_guard.icon.IconPackException;
|
||||
import com.cringe_studios.code_guard.icon.IconPackMetadata;
|
||||
import com.cringe_studios.code_guard.icon.IconUtil;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.scanner.QRScanner;
|
||||
import com.cringe_studios.code_guard.scanner.QRScannerContract;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.NavigationUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.code_guard.util.ThemeUtil;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPType;
|
||||
import com.google.mlkit.vision.common.InputImage;
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.cringe_studios.cringe_authenticator.backup;
|
||||
package com.cringe_studios.code_guard.backup;
|
||||
|
||||
import android.util.Base64;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoParameters;
|
||||
import com.cringe_studios.cringe_authenticator.util.BackupException;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabaseException;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoParameters;
|
||||
import com.cringe_studios.code_guard.util.BackupException;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabaseException;
|
||||
|
||||
import javax.crypto.SecretKey;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.backup;
|
||||
package com.cringe_studios.code_guard.backup;
|
||||
|
||||
public class BackupGroup {
|
||||
|
@ -1,15 +1,15 @@
|
||||
package com.cringe_studios.cringe_authenticator.backup;
|
||||
package com.cringe_studios.code_guard.backup;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.util.Base64;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoParameters;
|
||||
import com.cringe_studios.cringe_authenticator.util.BackupException;
|
||||
import com.cringe_studios.cringe_authenticator.util.IOUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoParameters;
|
||||
import com.cringe_studios.code_guard.util.BackupException;
|
||||
import com.cringe_studios.code_guard.util.IOUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.google.gson.JsonSyntaxException;
|
||||
|
||||
import java.io.IOException;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.crypto;
|
||||
package com.cringe_studios.code_guard.crypto;
|
||||
|
||||
public class BiometricKey {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.crypto;
|
||||
package com.cringe_studios.code_guard.crypto;
|
||||
|
||||
import android.os.Build;
|
||||
import android.security.keystore.KeyGenParameterSpec;
|
||||
@ -6,7 +6,7 @@ import android.security.keystore.KeyProperties;
|
||||
|
||||
import androidx.annotation.RequiresApi;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
|
||||
import org.bouncycastle.crypto.generators.Argon2BytesGenerator;
|
||||
import org.bouncycastle.crypto.params.Argon2Parameters;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.crypto;
|
||||
package com.cringe_studios.code_guard.crypto;
|
||||
|
||||
public class CryptoException extends Exception {
|
||||
public CryptoException() {
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.crypto;
|
||||
package com.cringe_studios.code_guard.crypto;
|
||||
|
||||
import org.bouncycastle.crypto.params.Argon2Parameters;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.crypto;
|
||||
package com.cringe_studios.code_guard.crypto;
|
||||
|
||||
public class CryptoResult {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
@ -8,8 +8,8 @@ import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentAboutBinding;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentAboutBinding;
|
||||
|
||||
public class AboutFragment extends NamedFragment {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
@ -19,17 +19,17 @@ import androidx.annotation.Nullable;
|
||||
import androidx.core.util.Consumer;
|
||||
import androidx.exifinterface.media.ExifInterface;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.MainActivity;
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentEditOtpBinding;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconPack;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconUtil;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.IOUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.NavigationUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.code_guard.MainActivity;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentEditOtpBinding;
|
||||
import com.cringe_studios.code_guard.icon.IconPack;
|
||||
import com.cringe_studios.code_guard.icon.IconUtil;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.IOUtil;
|
||||
import com.cringe_studios.code_guard.util.NavigationUtil;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPAlgorithm;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPType;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
@ -10,17 +10,17 @@ import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentGroupBinding;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.otplist.OTPListAdapter;
|
||||
import com.cringe_studios.cringe_authenticator.otplist.OTPListItem;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.NavigationUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabaseException;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentGroupBinding;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.otplist.OTPListAdapter;
|
||||
import com.cringe_studios.code_guard.otplist.OTPListItem;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.NavigationUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabaseException;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
@ -7,8 +7,8 @@ import android.view.ViewGroup;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentHomeBinding;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentHomeBinding;
|
||||
|
||||
public class HomeFragment extends NamedFragment {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
@ -8,16 +8,16 @@ import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentMenuDrawerBinding;
|
||||
import com.cringe_studios.cringe_authenticator.grouplist.GroupListAdapter;
|
||||
import com.cringe_studios.cringe_authenticator.grouplist.GroupListItem;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.NavigationUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabaseException;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentMenuDrawerBinding;
|
||||
import com.cringe_studios.code_guard.grouplist.GroupListAdapter;
|
||||
import com.cringe_studios.code_guard.grouplist.GroupListItem;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.NavigationUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabaseException;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
|
||||
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.text.Editable;
|
||||
@ -11,10 +11,10 @@ import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.util.Consumer;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentPickIconBinding;
|
||||
import com.cringe_studios.cringe_authenticator.icon.Icon;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconListAdapter;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconUtil;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentPickIconBinding;
|
||||
import com.cringe_studios.code_guard.icon.Icon;
|
||||
import com.cringe_studios.code_guard.icon.IconListAdapter;
|
||||
import com.cringe_studios.code_guard.icon.IconUtil;
|
||||
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
|
||||
|
||||
public class PickIconDrawerFragment extends BottomSheetDialogFragment {
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.fragment;
|
||||
package com.cringe_studios.code_guard.fragment;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
@ -14,28 +14,28 @@ import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.MainActivity;
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.backup.BackupData;
|
||||
import com.cringe_studios.cringe_authenticator.backup.BackupUtil;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.BiometricKey;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.Crypto;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoParameters;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogManageIconPacksBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.FragmentSettingsBinding;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconPack;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconPackListAdapter;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.Appearance;
|
||||
import com.cringe_studios.cringe_authenticator.util.BackupException;
|
||||
import com.cringe_studios.cringe_authenticator.util.BiometricUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabaseException;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.cringe_authenticator.util.Theme;
|
||||
import com.cringe_studios.code_guard.MainActivity;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.backup.BackupData;
|
||||
import com.cringe_studios.code_guard.backup.BackupUtil;
|
||||
import com.cringe_studios.code_guard.crypto.BiometricKey;
|
||||
import com.cringe_studios.code_guard.crypto.Crypto;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoParameters;
|
||||
import com.cringe_studios.code_guard.databinding.DialogManageIconPacksBinding;
|
||||
import com.cringe_studios.code_guard.databinding.FragmentSettingsBinding;
|
||||
import com.cringe_studios.code_guard.icon.IconPack;
|
||||
import com.cringe_studios.code_guard.icon.IconPackListAdapter;
|
||||
import com.cringe_studios.code_guard.icon.IconUtil;
|
||||
import com.cringe_studios.code_guard.util.Appearance;
|
||||
import com.cringe_studios.code_guard.util.BackupException;
|
||||
import com.cringe_studios.code_guard.util.BiometricUtil;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabaseException;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.code_guard.util.Theme;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.grouplist;
|
||||
package com.cringe_studios.code_guard.grouplist;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
@ -11,8 +11,8 @@ import androidx.core.util.Consumer;
|
||||
import androidx.recyclerview.widget.ItemTouchHelper;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.databinding.MenuItemBinding;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.databinding.MenuItemBinding;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.grouplist;
|
||||
package com.cringe_studios.code_guard.grouplist;
|
||||
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Color;
|
||||
@ -7,8 +7,8 @@ import android.graphics.drawable.ColorDrawable;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.MenuItemBinding;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.MenuItemBinding;
|
||||
|
||||
public class GroupListItem extends RecyclerView.ViewHolder {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
public class Icon {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Color;
|
||||
@ -11,9 +11,9 @@ import android.widget.ExpandableListView;
|
||||
|
||||
import androidx.core.util.Consumer;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.IconListCategoryBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.IconListIconBinding;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.IconListCategoryBinding;
|
||||
import com.cringe_studios.code_guard.databinding.IconListIconBinding;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
public class IconPack {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
public class IconPackException extends Exception {
|
||||
public IconPackException() {
|
@ -1,9 +1,9 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogManageIconPacksItemBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogManageIconPacksItemBinding;
|
||||
|
||||
public class IconPackItem extends RecyclerView.ViewHolder {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
@ -7,9 +7,9 @@ import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogManageIconPacksItemBinding;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.DialogManageIconPacksItemBinding;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
public class IconPackMetadata {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.icon;
|
||||
package com.cringe_studios.code_guard.icon;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Bitmap;
|
||||
@ -16,10 +16,10 @@ import androidx.core.util.Consumer;
|
||||
import com.caverock.androidsvg.SVG;
|
||||
import com.caverock.androidsvg.SVGImageView;
|
||||
import com.caverock.androidsvg.SVGParseException;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.IOUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.IOUtil;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.File;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.model;
|
||||
package com.cringe_studios.code_guard.model;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator_library.OTP;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPAlgorithm;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.model;
|
||||
package com.cringe_studios.code_guard.model;
|
||||
|
||||
public class OTPMigrationPart {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.otplist;
|
||||
package com.cringe_studios.code_guard.otplist;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
@ -12,13 +12,13 @@ import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.ItemTouchHelper;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.BaseActivity;
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.OtpCodeBinding;
|
||||
import com.cringe_studios.cringe_authenticator.icon.IconUtil;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.BaseActivity;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.OtpCodeBinding;
|
||||
import com.cringe_studios.code_guard.icon.IconUtil;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPException;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPType;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.otplist;
|
||||
package com.cringe_studios.code_guard.otplist;
|
||||
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Color;
|
||||
@ -7,10 +7,10 @@ import android.graphics.drawable.ColorDrawable;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.OtpCodeBinding;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.OtpCodeBinding;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPException;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPType;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package com.cringe_studios.cringe_authenticator.scanner;
|
||||
package com.cringe_studios.code_guard.scanner;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPMigrationPart;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.model.OTPMigrationPart;
|
||||
|
||||
public class DetectedCode {
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.cringe_studios.cringe_authenticator.scanner;
|
||||
package com.cringe_studios.code_guard.scanner;
|
||||
|
||||
import android.net.Uri;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.core.util.Consumer;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPMigrationPart;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPParser;
|
||||
import com.cringe_studios.code_guard.model.OTPMigrationPart;
|
||||
import com.cringe_studios.code_guard.util.OTPParser;
|
||||
import com.google.mlkit.vision.barcode.BarcodeScanner;
|
||||
import com.google.mlkit.vision.barcode.BarcodeScanning;
|
||||
import com.google.mlkit.vision.barcode.common.Barcode;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.scanner;
|
||||
package com.cringe_studios.code_guard.scanner;
|
||||
|
||||
import android.Manifest;
|
||||
import android.app.Activity;
|
||||
@ -25,12 +25,12 @@ import androidx.camera.core.SurfaceOrientedMeteringPointFactory;
|
||||
import androidx.camera.lifecycle.ProcessCameraProvider;
|
||||
import androidx.core.content.ContextCompat;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.BaseActivity;
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.ActivityQrScannerBinding;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPMigrationPart;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.BaseActivity;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.databinding.ActivityQrScannerBinding;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.model.OTPMigrationPart;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.google.common.util.concurrent.ListenableFuture;
|
||||
import com.google.mlkit.vision.common.InputImage;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.scanner;
|
||||
package com.cringe_studios.code_guard.scanner;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
@ -8,7 +8,7 @@ import androidx.activity.result.contract.ActivityResultContract;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
|
||||
public class QRScannerContract extends ActivityResultContract<Void, ScannerResult> {
|
||||
|
@ -1,9 +1,9 @@
|
||||
package com.cringe_studios.cringe_authenticator.scanner;
|
||||
package com.cringe_studios.code_guard.scanner;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
|
||||
public class ScannerResult {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.unlock;
|
||||
package com.cringe_studios.code_guard.unlock;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
@ -6,18 +6,18 @@ import android.view.View;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.BaseActivity;
|
||||
import com.cringe_studios.cringe_authenticator.MainActivity;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.BiometricKey;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.Crypto;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.ActivityUnlockBinding;
|
||||
import com.cringe_studios.cringe_authenticator.util.BiometricUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabaseException;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.ThemeUtil;
|
||||
import com.cringe_studios.code_guard.BaseActivity;
|
||||
import com.cringe_studios.code_guard.MainActivity;
|
||||
import com.cringe_studios.code_guard.crypto.BiometricKey;
|
||||
import com.cringe_studios.code_guard.crypto.Crypto;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.databinding.ActivityUnlockBinding;
|
||||
import com.cringe_studios.code_guard.util.BiometricUtil;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabaseException;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.util.ThemeUtil;
|
||||
|
||||
import javax.crypto.SecretKey;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.unlock;
|
||||
package com.cringe_studios.code_guard.unlock;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.urihandler;
|
||||
package com.cringe_studios.code_guard.urihandler;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
@ -8,16 +8,16 @@ import android.widget.Toast;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.BaseActivity;
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.util.DialogUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabase;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPDatabaseException;
|
||||
import com.cringe_studios.cringe_authenticator.util.OTPParser;
|
||||
import com.cringe_studios.cringe_authenticator.util.SettingsUtil;
|
||||
import com.cringe_studios.cringe_authenticator.util.StyledDialogBuilder;
|
||||
import com.cringe_studios.code_guard.BaseActivity;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.util.DialogUtil;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabase;
|
||||
import com.cringe_studios.code_guard.util.OTPDatabaseException;
|
||||
import com.cringe_studios.code_guard.util.OTPParser;
|
||||
import com.cringe_studios.code_guard.util.SettingsUtil;
|
||||
import com.cringe_studios.code_guard.util.StyledDialogBuilder;
|
||||
|
||||
public class URIHandlerActivity extends BaseActivity {
|
||||
|
@ -1,9 +1,9 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import androidx.annotation.StringRes;
|
||||
import androidx.appcompat.app.AppCompatDelegate;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
|
||||
public enum Appearance {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
public class BackupException extends Exception {
|
||||
public BackupException() {
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import static androidx.biometric.BiometricManager.Authenticators.BIOMETRIC_STRONG;
|
||||
import static androidx.biometric.BiometricManager.Authenticators.DEVICE_CREDENTIAL;
|
||||
@ -12,7 +12,7 @@ import androidx.biometric.BiometricPrompt;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.fragment.app.FragmentActivity;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
public interface DialogCallback {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
@ -11,15 +11,15 @@ import androidx.annotation.StringRes;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.core.util.Consumer;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.backup.BackupData;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogCreateGroupBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogErrorBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogInputCodeHotpBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogInputCodeTotpBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogInputPasswordBinding;
|
||||
import com.cringe_studios.cringe_authenticator.databinding.DialogSetPasswordBinding;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.backup.BackupData;
|
||||
import com.cringe_studios.code_guard.databinding.DialogCreateGroupBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogErrorBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogInputCodeHotpBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogInputCodeTotpBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogInputPasswordBinding;
|
||||
import com.cringe_studios.code_guard.databinding.DialogSetPasswordBinding;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPAlgorithm;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPType;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
@ -7,9 +7,9 @@ import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.MenuDrawerFragment;
|
||||
import com.cringe_studios.cringe_authenticator.fragment.NamedFragment;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
import com.cringe_studios.code_guard.fragment.MenuDrawerFragment;
|
||||
import com.cringe_studios.code_guard.fragment.NamedFragment;
|
||||
|
||||
public class NavigationUtil {
|
||||
|
@ -1,13 +1,13 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.BaseActivity;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.Crypto;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoException;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoParameters;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.code_guard.BaseActivity;
|
||||
import com.cringe_studios.code_guard.crypto.Crypto;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoException;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoParameters;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonSyntaxException;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
public class OTPDatabaseException extends Exception {
|
||||
public OTPDatabaseException() {
|
@ -1,11 +1,11 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.util.Base64;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPData;
|
||||
import com.cringe_studios.cringe_authenticator.model.OTPMigrationPart;
|
||||
import com.cringe_studios.cringe_authenticator.proto.OTPMigration;
|
||||
import com.cringe_studios.code_guard.model.OTPData;
|
||||
import com.cringe_studios.code_guard.model.OTPMigrationPart;
|
||||
import com.cringe_studios.code_guard.proto.OTPMigration;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPAlgorithm;
|
||||
import com.cringe_studios.cringe_authenticator_library.OTPType;
|
||||
import com.cringe_studios.cringe_authenticator_library.impl.Base32;
|
@ -1,11 +1,11 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.backup.BackupGroup;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.BiometricKey;
|
||||
import com.cringe_studios.cringe_authenticator.crypto.CryptoParameters;
|
||||
import com.cringe_studios.code_guard.backup.BackupGroup;
|
||||
import com.cringe_studios.code_guard.crypto.BiometricKey;
|
||||
import com.cringe_studios.code_guard.crypto.CryptoParameters;
|
||||
import com.google.gson.Gson;
|
||||
|
||||
import java.util.ArrayList;
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
|
||||
import android.content.Context;
|
||||
@ -8,7 +8,7 @@ import android.view.WindowManager;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
|
||||
public class StyledDialogBuilder extends AlertDialog.Builder {
|
||||
|
@ -1,10 +1,10 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import androidx.annotation.DrawableRes;
|
||||
import androidx.annotation.StringRes;
|
||||
import androidx.annotation.StyleRes;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
|
||||
public enum Theme {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator.util;
|
||||
package com.cringe_studios.code_guard.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
@ -8,7 +8,7 @@ import androidx.annotation.DrawableRes;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.appcompat.app.AppCompatDelegate;
|
||||
|
||||
import com.cringe_studios.cringe_authenticator.R;
|
||||
import com.cringe_studios.code_guard.R;
|
||||
|
||||
public class ThemeUtil {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package com.cringe_studios.cringe_authenticator.proto;
|
||||
package com.cringe_studios.code_guard.proto;
|
||||
|
||||
message MigrationPayload {
|
||||
enum Algorithm {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<menu 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"
|
||||
tools:context="com.cringe_studios.cringe_authenticator.MainActivity">
|
||||
tools:context="com.cringe_studios.code_guard.MainActivity">
|
||||
<item
|
||||
android:id="@+id/action_lock"
|
||||
android:orderInCategory="100"
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cringe_studios.cringe_authenticator;
|
||||
package com.cringe_studios.code_guard;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -15,5 +15,5 @@ dependencyResolutionManagement {
|
||||
}
|
||||
}
|
||||
}
|
||||
rootProject.name = "Cringe Authenticator"
|
||||
rootProject.name = "Code Guard"
|
||||
include ':app'
|
||||
|
Loading…
Reference in New Issue
Block a user