diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java index 2ce17353f..6bf52d2fd 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java @@ -607,7 +607,6 @@ public class PasswordStore extends AppCompatActivity { protected void onActivityResult(int requestCode, int resultCode, Intent data) { - if (resultCode == RESULT_OK) { switch (requestCode) { case GitActivity.REQUEST_CLONE: @@ -729,6 +728,7 @@ public class PasswordStore extends AppCompatActivity { break; } } + super.onActivityResult(requestCode, resultCode, data); } private void initRepository(final int operation) { diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt index ebeb0ec55..97462fd29 100644 --- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt +++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt @@ -403,6 +403,7 @@ class UserPreference : AppCompatActivity() { } } } + super.onActivityResult(requestCode, resultCode, data) } /** diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillActivity.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillActivity.kt index 9bf2f085f..48b72c38a 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillActivity.kt @@ -78,6 +78,7 @@ class AutofillActivity : AppCompatActivity() { editor.apply() } } + super.onActivityResult(requestCode, resultCode, data) } companion object { diff --git a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java index bb2e678fa..9ef05f609 100644 --- a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java +++ b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java @@ -720,6 +720,7 @@ public class GitActivity extends AppCompatActivity { } launchGitOperation(requestCode); } + super.onActivityResult(requestCode, resultCode, data); } }