From 54d2c04cc165a1b54b5f4a5eaa8da9a21f0d9cee Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 5 Jul 2019 15:58:27 +0530 Subject: [PATCH] Add missing super calls Signed-off-by: Harsh Shandilya --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 2 +- app/src/main/java/com/zeapo/pwdstore/UserPreference.kt | 1 + .../main/java/com/zeapo/pwdstore/autofill/AutofillActivity.kt | 1 + app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) 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); } }