From 616992087846fe76555080baf131637924b67507 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 8 Jul 2020 01:25:55 +0530 Subject: [PATCH] global: set an import order rule and reformat with it (#924) Signed-off-by: Harsh Shandilya --- .idea/codeStyles/Project.xml | 17 ++++++++++++++ .../com/zeapo/pwdstore/ClipboardService.kt | 1 + .../java/com/zeapo/pwdstore/LaunchActivity.kt | 1 + .../com/zeapo/pwdstore/PasswordFragment.kt | 5 ++++- .../java/com/zeapo/pwdstore/PasswordStore.kt | 5 +++-- .../pwdstore/SearchableRepositoryViewModel.kt | 9 ++++---- .../zeapo/pwdstore/SelectFolderActivity.kt | 1 + .../zeapo/pwdstore/SelectFolderFragment.kt | 4 +++- .../java/com/zeapo/pwdstore/UserPreference.kt | 4 +++- .../pwdstore/autofill/AutofillActivity.kt | 1 + .../pwdstore/autofill/AutofillFragment.kt | 2 ++ .../autofill/AutofillPreferenceActivity.kt | 2 +- .../autofill/AutofillRecyclerAdapter.kt | 3 ++- .../pwdstore/autofill/AutofillService.kt | 22 +++++++++++-------- .../pwdstore/autofill/oreo/AutofillHelper.kt | 1 + .../pwdstore/autofill/oreo/AutofillMatcher.kt | 1 + .../autofill/oreo/AutofillPreferences.kt | 1 + .../autofill/oreo/AutofillScenario.kt | 2 ++ .../autofill/oreo/AutofillStrategyDsl.kt | 1 + .../com/zeapo/pwdstore/autofill/oreo/Form.kt | 3 +++ .../autofill/oreo/OreoAutofillService.kt | 1 + .../autofill/oreo/PublicSuffixListCache.kt | 1 + .../oreo/ui/AutofillDecryptActivity.kt | 21 +++++++++--------- .../oreo/ui/AutofillFilterActivity.kt | 1 + .../ui/AutofillPublisherChangedActivity.kt | 1 + .../autofill/oreo/ui/AutofillSaveActivity.kt | 1 + .../autofill/oreo/ui/PasswordViewHolder.kt | 1 + .../zeapo/pwdstore/crypto/BasePgpActivity.kt | 3 ++- .../zeapo/pwdstore/crypto/DecryptActivity.kt | 9 ++++---- .../crypto/PasswordCreationActivity.kt | 9 ++++---- .../com/zeapo/pwdstore/git/BaseGitActivity.kt | 1 + .../zeapo/pwdstore/git/BreakOutOfDetached.kt | 3 ++- .../com/zeapo/pwdstore/git/CloneOperation.kt | 2 +- .../com/zeapo/pwdstore/git/GitAsyncTask.kt | 4 ++-- .../com/zeapo/pwdstore/git/GitOperation.kt | 7 +++--- .../pwdstore/git/GitOperationActivity.kt | 1 + .../com/zeapo/pwdstore/git/PullOperation.kt | 2 +- .../com/zeapo/pwdstore/git/PushOperation.kt | 2 +- .../pwdstore/git/ResetToRemoteOperation.kt | 2 +- .../com/zeapo/pwdstore/git/SyncOperation.kt | 2 +- .../pwdstore/git/config/ConnectionMode.kt | 1 + .../com/zeapo/pwdstore/git/config/Protocol.kt | 1 + .../zeapo/pwdstore/git/config/SshjConfig.kt | 2 +- .../pwdstore/git/config/SshjSessionFactory.kt | 18 ++++++++------- .../com/zeapo/pwdstore/model/PasswordEntry.kt | 1 + .../zeapo/pwdstore/pwgen/PasswordGenerator.kt | 1 + .../pwdstore/pwgen/RandomPhonemesGenerator.kt | 2 ++ .../pwdstore/pwgenxkpwd/PasswordBuilder.kt | 1 + .../pwdstore/pwgenxkpwd/XkpwdDictionary.kt | 2 ++ .../pwdstore/sshkeygen/SshKeyGenActivity.kt | 4 ++-- .../adapters/PasswordItemRecyclerAdapter.kt | 1 + .../dialogs/FolderCreationDialogFragment.kt | 1 + .../ui/dialogs/ItemCreationBottomSheet.kt | 1 + .../XkPasswordGeneratorDialogFragment.kt | 1 + .../pwdstore/utils/BiometricAuthenticator.kt | 1 + .../com/zeapo/pwdstore/utils/Extensions.kt | 2 +- .../main/java/com/zeapo/pwdstore/utils/Otp.kt | 3 ++- .../com/zeapo/pwdstore/utils/PasswordItem.kt | 1 + .../pwdstore/utils/PasswordRepository.kt | 7 +++--- .../lib/publicsuffixlist/PublicSuffixList.kt | 1 + .../publicsuffixlist/PublicSuffixListData.kt | 2 ++ .../PublicSuffixListLoader.kt | 1 + 62 files changed, 149 insertions(+), 66 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 81283c30..6e53f6f9 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -17,6 +17,23 @@ +