From 64f9ea95f4319c7b3dfa377e827c6fd76fca3c9d Mon Sep 17 00:00:00 2001 From: Ashley Hughes Date: Thu, 16 Jan 2014 00:09:30 +0000 Subject: [PATCH] file imports fix --- .../sufficientlysecure/keychain/ui/ImportKeysFileFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/ImportKeysFileFragment.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/ImportKeysFileFragment.java index ea76d2898..a02bfd678 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/ImportKeysFileFragment.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/ImportKeysFileFragment.java @@ -93,7 +93,7 @@ public class ImportKeysFileFragment extends Fragment { @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { - switch (requestCode) { + switch (requestCode & 0xFFFF) { case Id.request.filename: { if (resultCode == Activity.RESULT_OK && data != null) { String path = null;