From 7e2eb2425e7b9b6ccb37b7b89f19de3fa7a20c44 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 15 May 2021 12:56:49 +0530 Subject: [PATCH] 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 +- .../aps/util/settings/MigrationsTest.kt | 5 +- .../java/dev/msfjarvis/aps/Application.kt | 4 +- .../aps/data/repo/PasswordRepository.kt | 13 +- .../aps/ui/adapters/FieldItemAdapter.kt | 6 +- .../adapters/PasswordItemRecyclerAdapter.kt | 10 +- .../ui/autofill/AutofillDecryptActivity.kt | 49 +++++-- .../aps/ui/autofill/AutofillFilterActivity.kt | 40 ++++-- .../AutofillPublisherChangedActivity.kt | 19 ++- .../aps/ui/autofill/AutofillSaveActivity.kt | 48 +++++-- .../aps/ui/crypto/BasePgpActivity.kt | 10 +- .../aps/ui/crypto/DecryptActivity.kt | 29 +++- .../aps/ui/crypto/GetKeyIdsActivity.kt | 4 +- .../aps/ui/crypto/PasswordCreationActivity.kt | 128 +++++++++++++----- .../aps/ui/dialogs/BasicBottomSheet.kt | 24 +++- .../aps/ui/dialogs/ItemCreationBottomSheet.kt | 10 +- .../PasswordGeneratorDialogFragment.kt | 9 +- .../XkPasswordGeneratorDialogFragment.kt | 12 +- .../ui/folderselect/SelectFolderActivity.kt | 9 +- .../ui/folderselect/SelectFolderFragment.kt | 17 ++- .../aps/ui/git/base/BaseGitActivity.kt | 10 +- .../aps/ui/git/config/GitConfigActivity.kt | 10 +- .../ui/git/config/GitServerConfigActivity.kt | 39 ++++-- .../msfjarvis/aps/ui/git/log/GitLogAdapter.kt | 3 +- .../ui/onboarding/fragments/CloneFragment.kt | 4 +- .../fragments/KeySelectionFragment.kt | 12 +- .../fragments/RepoLocationFragment.kt | 15 +- .../onboarding/fragments/WelcomeFragment.kt | 4 +- .../aps/ui/passwords/PasswordFragment.kt | 70 +++++++--- .../aps/ui/passwords/PasswordStore.kt | 71 +++++++--- .../aps/ui/proxy/ProxySelectorActivity.kt | 24 +++- .../aps/ui/settings/AutofillSettings.kt | 19 ++- .../ui/settings/DirectorySelectionActivity.kt | 4 +- .../aps/ui/settings/GeneralSettings.kt | 6 +- .../aps/ui/settings/RepositorySettings.kt | 16 ++- .../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 ++- .../autofill/Api30AutofillResponseBuilder.kt | 32 ++++- .../aps/util/autofill/AutofillMatcher.kt | 35 +++-- .../aps/util/autofill/AutofillPreferences.kt | 6 +- .../util/autofill/AutofillResponseBuilder.kt | 5 +- .../aps/util/autofill/AutofillViewUtils.kt | 22 ++- .../aps/util/crypto/GpgIdentifier.kt | 6 +- .../aps/util/extensions/AndroidExtensions.kt | 9 +- .../extensions/FragmentViewBindingDelegate.kt | 15 +- .../msfjarvis/aps/util/git/ErrorMessages.kt | 3 +- .../aps/util/git/GitCommandExecutor.kt | 6 +- .../dev/msfjarvis/aps/util/git/GitCommit.kt | 7 +- .../dev/msfjarvis/aps/util/git/GitLogModel.kt | 4 +- .../util/git/operation/BreakOutOfDetached.kt | 16 ++- .../aps/util/git/operation/CloneOperation.kt | 3 +- .../util/git/operation/CredentialFinder.kt | 15 +- .../aps/util/git/operation/GitOperation.kt | 33 +++-- .../aps/util/git/operation/PushOperation.kt | 3 +- .../git/operation/ResetToRemoteOperation.kt | 3 +- .../util/git/sshj/OpenKeychainKeyProvider.kt | 36 +++-- .../OpenKeychainWrappedKeyAlgorithmFactory.kt | 12 +- .../dev/msfjarvis/aps/util/git/sshj/SshKey.kt | 45 ++++-- .../msfjarvis/aps/util/git/sshj/SshjConfig.kt | 36 +++-- .../aps/util/git/sshj/SshjSessionFactory.kt | 29 +++- .../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 ++- .../util/services/PasswordExportService.kt | 6 +- .../aps/util/settings/GitSettings.kt | 18 ++- .../msfjarvis/aps/util/settings/Migrations.kt | 8 +- .../aps/util/settings/PasswordSortOrder.kt | 9 +- .../msfjarvis/aps/util/totp/UriTotpFinder.kt | 3 +- .../SearchableRepositoryViewModel.kt | 44 ++++-- .../res/layout/fragment_repo_location.xml | 1 - .../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 +++++-- .../FeatureAndTrustDetection.kt | 48 +++++-- .../autofillparser/FormField.kt | 31 +++-- .../autofillparser/PublicSuffixListCache.kt | 16 ++- .../lib/publicsuffixlist/PublicSuffixList.kt | 3 +- .../publicsuffixlist/PublicSuffixListData.kt | 5 +- .../PublicSuffixListLoader.kt | 7 +- buildSrc/settings.gradle.kts | 11 -- .../aps/data/passfile/PasswordEntry.kt | 9 +- .../kotlin/dev/msfjarvis/aps/util/totp/Otp.kt | 3 +- .../aps/data/passfile/PasswordEntryTest.kt | 8 +- .../dev/msfjarvis/aps/util/totp/OtpTest.kt | 35 ++++- .../openpgpktx/AutocryptPeerUpdate.kt | 6 +- .../msfjarvis/openpgpktx/util/OpenPgpApi.kt | 27 ++-- .../util/OpenPgpServiceConnection.kt | 7 +- .../msfjarvis/openpgpktx/util/OpenPgpUtils.kt | 11 +- .../openpgp/OpenPgpDecryptionResult.kt | 6 +- .../openintents/openpgp/OpenPgpMetadata.kt | 7 +- .../openpgp/OpenPgpSignatureResult.kt | 54 +++++++- settings.gradle.kts | 4 + 108 files changed, 1385 insertions(+), 473 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 @@