diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-27 21:43:52 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-27 21:43:52 +0100 |
commit | a2544fb2b0aa4ee47ab4f1c6a62b81892d789331 (patch) | |
tree | e46e1d057f7b934d89e18cadd15028c6817d7582 /OpenPGP-Keychain-API | |
parent | 7bbfd9d446b49eec6d541787217bacbc4cb59b96 (diff) | |
download | open-keychain-a2544fb2b0aa4ee47ab4f1c6a62b81892d789331.tar.gz open-keychain-a2544fb2b0aa4ee47ab4f1c6a62b81892d789331.tar.bz2 open-keychain-a2544fb2b0aa4ee47ab4f1c6a62b81892d789331.zip |
Fix binding of install intents to package
Diffstat (limited to 'OpenPGP-Keychain-API')
-rw-r--r-- | OpenPGP-Keychain-API/libraries/keychain-api-library/src/org/openintents/openpgp/util/OpenPgpListPreference.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenPGP-Keychain-API/libraries/keychain-api-library/src/org/openintents/openpgp/util/OpenPgpListPreference.java b/OpenPGP-Keychain-API/libraries/keychain-api-library/src/org/openintents/openpgp/util/OpenPgpListPreference.java index 7aea8f9fa..456bc96a9 100644 --- a/OpenPGP-Keychain-API/libraries/keychain-api-library/src/org/openintents/openpgp/util/OpenPgpListPreference.java +++ b/OpenPGP-Keychain-API/libraries/keychain-api-library/src/org/openintents/openpgp/util/OpenPgpListPreference.java @@ -96,7 +96,7 @@ public class OpenPgpListPreference extends DialogPreference { (MARKET_INTENT, 0); for (ResolveInfo resolveInfo : resInfo) { Intent marketIntent = new Intent(MARKET_INTENT); - intent.setPackage(resolveInfo.activityInfo.packageName); + marketIntent.setPackage(resolveInfo.activityInfo.packageName); Drawable icon = resolveInfo.activityInfo.loadIcon(getContext().getPackageManager()); String marketName = String.valueOf(resolveInfo.activityInfo.applicationInfo .loadLabel(getContext().getPackageManager())); |