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