From 7e2eb2425e7b9b6ccb37b7b89f19de3fa7a20c44 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 15 May 2021 12:56:49 +0530 Subject: all: reformat with Spotless again Signed-off-by: Harsh Shandilya --- .idea/codeStyles/codeStyleConfig.xml | 2 +- .idea/copyright/APS.xml | 2 +- .idea/gradle.xml | 2 +- .idea/jarRepositories.xml | 2 +- .idea/kotlinScripting.xml | 2 +- .idea/scopes/third_party.xml | 2 +- app/lint.xml | 2 +- .../msfjarvis/aps/util/settings/MigrationsTest.kt | 5 +- app/src/main/java/dev/msfjarvis/aps/Application.kt | 4 +- .../msfjarvis/aps/data/repo/PasswordRepository.kt | 13 ++- .../msfjarvis/aps/ui/adapters/FieldItemAdapter.kt | 6 +- .../aps/ui/adapters/PasswordItemRecyclerAdapter.kt | 10 +- .../aps/ui/autofill/AutofillDecryptActivity.kt | 49 ++++++-- .../aps/ui/autofill/AutofillFilterActivity.kt | 40 +++++-- .../autofill/AutofillPublisherChangedActivity.kt | 19 ++- .../aps/ui/autofill/AutofillSaveActivity.kt | 48 ++++++-- .../dev/msfjarvis/aps/ui/crypto/BasePgpActivity.kt | 10 +- .../dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt | 29 +++-- .../msfjarvis/aps/ui/crypto/GetKeyIdsActivity.kt | 4 +- .../aps/ui/crypto/PasswordCreationActivity.kt | 128 +++++++++++++++------ .../msfjarvis/aps/ui/dialogs/BasicBottomSheet.kt | 24 +++- .../aps/ui/dialogs/ItemCreationBottomSheet.kt | 10 +- .../ui/dialogs/PasswordGeneratorDialogFragment.kt | 9 +- .../dialogs/XkPasswordGeneratorDialogFragment.kt | 12 +- .../aps/ui/folderselect/SelectFolderActivity.kt | 9 +- .../aps/ui/folderselect/SelectFolderFragment.kt | 17 ++- .../msfjarvis/aps/ui/git/base/BaseGitActivity.kt | 10 +- .../aps/ui/git/config/GitConfigActivity.kt | 10 +- .../aps/ui/git/config/GitServerConfigActivity.kt | 39 +++++-- .../dev/msfjarvis/aps/ui/git/log/GitLogAdapter.kt | 3 +- .../aps/ui/onboarding/fragments/CloneFragment.kt | 4 +- .../onboarding/fragments/KeySelectionFragment.kt | 12 +- .../onboarding/fragments/RepoLocationFragment.kt | 15 ++- .../aps/ui/onboarding/fragments/WelcomeFragment.kt | 4 +- .../msfjarvis/aps/ui/passwords/PasswordFragment.kt | 70 ++++++++--- .../msfjarvis/aps/ui/passwords/PasswordStore.kt | 71 +++++++++--- .../aps/ui/proxy/ProxySelectorActivity.kt | 24 +++- .../msfjarvis/aps/ui/settings/AutofillSettings.kt | 19 ++- .../aps/ui/settings/DirectorySelectionActivity.kt | 4 +- .../msfjarvis/aps/ui/settings/GeneralSettings.kt | 6 +- .../aps/ui/settings/RepositorySettings.kt | 16 ++- .../msfjarvis/aps/ui/settings/SettingsActivity.kt | 4 +- .../aps/ui/sshkeygen/ShowSshKeyFragment.kt | 4 +- .../aps/ui/sshkeygen/SshKeyGenActivity.kt | 16 ++- .../aps/ui/sshkeygen/SshKeyImportActivity.kt | 7 +- .../aps/util/auth/BiometricAuthenticator.kt | 18 ++- .../util/autofill/Api30AutofillResponseBuilder.kt | 32 +++++- .../msfjarvis/aps/util/autofill/AutofillMatcher.kt | 35 ++++-- .../aps/util/autofill/AutofillPreferences.kt | 6 +- .../aps/util/autofill/AutofillResponseBuilder.kt | 5 +- .../aps/util/autofill/AutofillViewUtils.kt | 22 +++- .../dev/msfjarvis/aps/util/crypto/GpgIdentifier.kt | 6 +- .../aps/util/extensions/AndroidExtensions.kt | 9 +- .../util/extensions/FragmentViewBindingDelegate.kt | 15 ++- .../dev/msfjarvis/aps/util/git/ErrorMessages.kt | 3 +- .../msfjarvis/aps/util/git/GitCommandExecutor.kt | 6 +- .../java/dev/msfjarvis/aps/util/git/GitCommit.kt | 7 +- .../java/dev/msfjarvis/aps/util/git/GitLogModel.kt | 4 +- .../aps/util/git/operation/BreakOutOfDetached.kt | 16 ++- .../aps/util/git/operation/CloneOperation.kt | 3 +- .../aps/util/git/operation/CredentialFinder.kt | 15 ++- .../aps/util/git/operation/GitOperation.kt | 33 +++--- .../aps/util/git/operation/PushOperation.kt | 3 +- .../util/git/operation/ResetToRemoteOperation.kt | 3 +- .../aps/util/git/sshj/OpenKeychainKeyProvider.kt | 36 ++++-- .../sshj/OpenKeychainWrappedKeyAlgorithmFactory.kt | 12 +- .../java/dev/msfjarvis/aps/util/git/sshj/SshKey.kt | 45 ++++++-- .../dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt | 36 ++++-- .../aps/util/git/sshj/SshjSessionFactory.kt | 29 +++-- .../msfjarvis/aps/util/pwgen/PasswordGenerator.kt | 17 ++- .../aps/util/pwgen/RandomPasswordGenerator.kt | 4 +- .../aps/util/pwgen/RandomPhonemesGenerator.kt | 25 ++-- .../aps/util/pwgenxkpwd/PasswordBuilder.kt | 4 +- .../aps/util/pwgenxkpwd/XkpwdDictionary.kt | 5 +- .../aps/util/services/ClipboardService.kt | 11 +- .../aps/util/services/OreoAutofillService.kt | 19 ++- .../aps/util/services/PasswordExportService.kt | 6 +- .../dev/msfjarvis/aps/util/settings/GitSettings.kt | 18 ++- .../dev/msfjarvis/aps/util/settings/Migrations.kt | 8 +- .../aps/util/settings/PasswordSortOrder.kt | 9 +- .../dev/msfjarvis/aps/util/totp/UriTotpFinder.kt | 3 +- .../viewmodel/SearchableRepositoryViewModel.kt | 44 +++++-- app/src/main/res/layout/fragment_repo_location.xml | 1 - .../aps/autofill/oreo/ui/AutofillSmsActivity.kt | 30 +++-- .../autofillparser/AutofillFormParser.kt | 15 ++- .../autofillparser/AutofillHelper.kt | 22 +++- .../autofillparser/AutofillScenario.kt | 26 ++++- .../autofillparser/AutofillStrategy.kt | 44 +++++-- .../autofillparser/AutofillStrategyDsl.kt | 52 ++++++--- .../autofillparser/FeatureAndTrustDetection.kt | 48 ++++++-- .../autofillparser/FormField.kt | 33 ++++-- .../autofillparser/PublicSuffixListCache.kt | 16 ++- .../lib/publicsuffixlist/PublicSuffixList.kt | 3 +- .../lib/publicsuffixlist/PublicSuffixListData.kt | 5 +- .../lib/publicsuffixlist/PublicSuffixListLoader.kt | 7 +- buildSrc/settings.gradle.kts | 11 -- .../msfjarvis/aps/data/passfile/PasswordEntry.kt | 9 +- .../main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt | 3 +- .../aps/data/passfile/PasswordEntryTest.kt | 8 +- .../kotlin/dev/msfjarvis/aps/util/totp/OtpTest.kt | 35 ++++-- .../me/msfjarvis/openpgpktx/AutocryptPeerUpdate.kt | 6 +- .../me/msfjarvis/openpgpktx/util/OpenPgpApi.kt | 27 +++-- .../openpgpktx/util/OpenPgpServiceConnection.kt | 7 +- .../me/msfjarvis/openpgpktx/util/OpenPgpUtils.kt | 11 +- .../openintents/openpgp/OpenPgpDecryptionResult.kt | 6 +- .../org/openintents/openpgp/OpenPgpMetadata.kt | 7 +- .../openintents/openpgp/OpenPgpSignatureResult.kt | 54 +++++++-- settings.gradle.kts | 4 + 108 files changed, 1386 insertions(+), 474 deletions(-) delete mode 100644 buildSrc/settings.gradle.kts diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml index 79ee123c..0f7bc519 100644 --- a/.idea/codeStyles/codeStyleConfig.xml +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -2,4 +2,4 @@ - \ No newline at end of file + diff --git a/.idea/copyright/APS.xml b/.idea/copyright/APS.xml index 5c3add79..be4d0e65 100644 --- a/.idea/copyright/APS.xml +++ b/.idea/copyright/APS.xml @@ -3,4 +3,4 @@ - \ No newline at end of file + diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 730487eb..e9135e0d 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -37,4 +37,4 @@